Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: use docker/go-metrics utilities for prometheus, add "no_metrics" build-tag #1659

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 7, 2022

  1. server: move prometheus metrics to separate files

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    5869b05 View commit details
    Browse the repository at this point in the history
  2. server: add no_metrics build-tag to disable prometheus

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    ca2d641 View commit details
    Browse the repository at this point in the history
  3. server: use docker/go-metrics utilities for prometheus

    The old code was no longer compatible with current versions of prometheus.
    This switches the code to use docker/go-metrics, which is compatible with
    current versions of prometheus, and already in use in other code in the
    dependency tree.
    
    I tried to keep the metrics the same as before, but there may be some
    differences.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    07a34ba View commit details
    Browse the repository at this point in the history