PromEx.MetricTypes.Manual.build
You're seeing just the function
build
, go back to PromEx.MetricTypes.Manual module for more information.
Specs
build( group_name :: atom(), measurements_mfa :: PromEx.measurements_mfa(), metrics :: [PromEx.telemetry_metrics()] ) :: t()
Create a struct that encompasses a group of manually triggered metrics. The group_name
should be unique and should follow
the following convention: <APPLICATION>_<SHORT DESCRIPTION>_manual_metrics
. For example, Application related info metrics
have a group_name
of: :application_versions_manual_metrics