View Source CozyTelemetry.Reporter behaviour (cozy_telemetry v0.3.0)
A behaviour for declaring reporters.
Link to this section Summary
Functions
Prints consistent error messages of missing package for reporters.
Link to this section Types
@type init_arg() :: keyword()
Link to this section 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.
Link to this section Functions
Prints consistent error messages of missing package for reporters.