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