Skip to main content

Module metrics

Module metrics 

Source
Expand description

Prometheus metrics commands

Provides the ipfrs metrics subcommand family:

  • ipfrs metrics show — Print all node metrics in Prometheus text format.
  • ipfrs metrics reset — Reset all per-node counters to zero (no-op for the global registry; instructs the user to restart the daemon for a full reset).

Functions§

handle_metrics_reset
Handle ipfrs metrics reset.
handle_metrics_show
Handle ipfrs metrics show.