PromEx.Plugin.polling_metrics
You're seeing just the callback
polling_metrics
, go back to PromEx.Plugin module for more information.
Specs
polling_metrics(keyword()) :: [PromEx.MetricTypes.Polling.t()] | PromEx.MetricTypes.Polling.t()
The polling_metrics/1
callback returns the configured polling based metrics that the
plugin exposes. If the plugin does not expose any polling 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 polling style metrics, there is no action needed
on your part.
This function is expected to either return a single PromEx.Plugins.Polling
struct
or a list of PromEx.Plugins.Polling
structs.