PromEx.MetricTypes.Polling.build

You're seeing just the function build, go back to PromEx.MetricTypes.Polling module for more information.
Link to this function

build(group_name, poll_rate, measurements_mfa, metrics)

View Source

Specs

build(
  group_name :: atom(),
  poll_rate :: pos_integer(),
  measurements_mfa :: PromEx.measurements_mfa(),
  metrics :: [PromEx.telemetry_metrics()]
) :: t()

Create a struct that encompasses a group of polling type metrics. The group_name should be unique and should follow the following convention: <APPLICATION>_<SHORT DESCRIPTION>_manual_metrics. For example, BEAM related memory metrics have a group_name of: :beam_memory_polling_events