View Source Plausible.Ingestion.Counters.TelemetryHandler (Plausible v0.0.1)
Susbcribes to telemetry events emitted by Plausible.Ingestion.Event
.
Every time a request derived event is either dispatched to clickhouse or dropped,
a telemetry event is emitted respectively. That event is captured here,
its metadata is extracted and sent for internal stats aggregation via
Counters.Buffer
interface.
Link to this section Summary
Link to this section Functions
@spec handle_event([atom()], any(), map(), Plausible.Ingestion.Counters.Buffer.t()) :: :ok
@spec install(Plausible.Ingestion.Counters.Buffer.t()) :: :ok