Membrane.Telemetry.TimescaleDB.Metrics (Membrane Telemetry TimescaleDB v0.1.0) View Source

Lists all membrane core's metrics that are currently being handled.

For more information about metric's event names and measurement types please refer to Membrane's Core hex documentation in Membrane.Telemetry module.

Link to this section Summary

Functions

Returns a map of metrics handled by TimescaleDB reporter. Map's key corresponds to event name and the value is a boolean telling if the metrics should be cached so that it can be inserted in batches.

Link to this section Types

Specs

event_name_t() :: [atom(), ...]

Specs

metrics_t() :: %{required(event_name_t()) => boolean()}

Link to this section Functions

Specs

all() :: metrics_t()

Returns a map of metrics handled by TimescaleDB reporter. Map's key corresponds to event name and the value is a boolean telling if the metrics should be cached so that it can be inserted in batches.