View Source PromEx.Storage behaviour (PromEx v1.11.0)
Storage definition behaviour.
Summary
Callbacks
Define child specs for gatherer process.
Gather metrics for given collector with given name
.
Functions
Generate the process child spec for the store.
Extract the metrics out of the configured store.
Callbacks
@callback child_spec(atom(), [Telemetry.Metrics.t()]) :: Supervisor.child_spec()
Define child specs for gatherer process.
Gather metrics for given collector with given name
.
Functions
@spec child_spec( mod :: module(), name :: module(), metrics :: [Telemetry.Metrics.t()] ) :: Supervisor.child_spec()
Generate the process child spec for the store.
Extract the metrics out of the configured store.