PromEx.ManualMetricsManager (PromEx v0.1.5-alpha) View Source
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/0
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 ManualMetricsManager process
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
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 ManualMetricsManager process