PromEx.MetricTypes.Event.build

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

build(group_name, metrics)

View Source

Specs

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

Create a struct that encompasses a group of event based metrics. The group_name should be unique and should follow the following convention: <APPLICATION>_<SHORT DESCRIPTION>_event_metrics. For example, Phoenix HTTP related metrics have a group_name of: :phoenix_http_event_metrics