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

client: introduce near_build_info metric with node’s release info #6680

Merged
merged 4 commits into from
Apr 25, 2022

Commits on Apr 23, 2022

  1. client: introduce near_build_info metric with node’s release info

    Introduce near_build_info with a constant value 1 which exports
    node’s build information as labels.  Specifically, release, build and
    rust version are exported.  See [1] for description how this metric
    can be used.
    
    [1] https://www.robustperception.io/exposing-the-software-version-to-prometheus
    
    While at it, set near_node_protocol_version and near_node_db_version
    only once (since they are always set to the same value) rather than
    doing so each time statistics are printed.  Added bonus of this is
    that those metrics are now set immediately when node starts rather
    than the first time the stats info line is printed in the log.
    
    Issue: near#5979
    mina86 committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    0237c44 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. fix tests

    mina86 committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    a8d8bac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c2eee5 View commit details
    Browse the repository at this point in the history
  3. reset

    mina86 committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    deb0853 View commit details
    Browse the repository at this point in the history