View Source PromEx.ManualMetricsManager (PromEx v1.8.0)

This GenServer is responsible to keeping track of all the manual metrics from your configured plugins. It will fetch metrics initially when starting (either immediately or after a configured delay). At that point if you would like to refresh your metrics data points call the refresh_metrics/1 function.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

This function calls into the GenServer and refreshes all of the configured manual metrics data points.

Used to start the PromEx.ManualMetricsManager process

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

refresh_metrics(prom_ex_module)

View Source

Specs

refresh_metrics(prom_ex_module :: module()) :: :ok

This function calls into the GenServer and refreshes all of the configured manual metrics data points.

Specs

start_link(opts :: keyword()) :: GenServer.on_start()

Used to start the PromEx.ManualMetricsManager process