PromEx.Plugin.polling_metrics

You're seeing just the callback polling_metrics, go back to PromEx.Plugin module for more information.
Link to this callback

polling_metrics(keyword)

View Source

Specs

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.