View Source CozyTelemetry.Reporter behaviour (cozy_telemetry v0.5.1)
The application which reports metrics.
This module also defines a behaviour for declaring reporters.
Summary
Functions
Builds a child specifications.
Types
@type init_arg() :: keyword()
Callbacks
@callback check_deps() :: :ok
Checks required dependencies.
When dependencies are missing, an exception should be raised.
@callback child_spec(init_arg()) :: child_spec()
Generates child specification for starting a reporter.
Functions
Builds a child specifications.