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

metrics: add os-level cpu stats to pd #4639

Merged
merged 2 commits into from
Jun 20, 2024
Merged

metrics: add os-level cpu stats to pd #4639

merged 2 commits into from
Jun 20, 2024

Commits on Jun 19, 2024

  1. metrics: add os-level cpu stats to pd

    Pulls in the `metrics-process` crate [0] to bolt on CPU usage and other OS-level info
    to the metrics emitted by pd. Doing so will support a better first-run
    experience for node operators who lack a comprehensive pre-existing setup for monitoring node health,
    so they can get a sense of how much load pd is under.
    
    Adds a cursory first-pass on a new dashboard, but will need to follow up
    on that once the new metrics actually land on hosts that are receiving
    load. Also included a reference to metrics addd in #4581, as a treat.
    
    [0] https://docs.rs/metrics-process/2.0.0/metrics_process/index.html
    conorsch committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d2ec515 View commit details
    Browse the repository at this point in the history
  2. fix: metrics dev-env for linux

    Fixes a hardcoded path in the compose setup for local metrics. Updates
    the docs, as well, to clarify that the first-run experience via docker
    compose is only relevant for Linux hosts, due to use of host-networking.
    Will work on a macos-compatible dev env later, but for now focusing on
    making sure what's in the repo is clear and runnable for actual testnet
    node operators, which means Linux boxes.
    
    Closes #4565.
    conorsch committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    65201d9 View commit details
    Browse the repository at this point in the history