ObserverWeb.Telemetry.Consumer (Observer Web v0.1.5)
A reporter that sends the events and metrics to Observer Web consumer
References:
Summary
Types
@type option() :: {:name, String.t()} | {:device, atom()} | {:metrics, [Telemetry.Metrics.t()]}
@type options() :: [option()]
Functions
@spec child_spec(options()) :: Supervisor.child_spec()
Reporter's child spec.
This function allows you to start the reporter under a supervisor like this:
children = [
{ObserverWeb.Telemetry.Consumer, options}
]
See start_link/1
for a list of available options.
@spec start_link(options()) :: GenServer.on_start()