PromEx.Plugin.manual_metrics
You're seeing just the callback
manual_metrics
, go back to PromEx.Plugin module for more information.
Specs
manual_metrics(keyword()) :: [PromEx.MetricTypes.Manual.t()] | PromEx.MetricTypes.Manual.t()
The manual_metrics/1
callback returns the configured manual based metrics that the
plugin exposes. If the plugin does not expose any manual style metrics, there is a
default implementation of this function that returns an empty list. In other words,
if your plugin does not expose any manual style metrics, there is no action needed
on your part.
This function is expected to either return a single PromEx.Plugins.Manual
struct
or a list of PromEx.Plugins.Manual
structs.