TelemetryMetricsZabbix v0.1.1 TelemetryMetricsZabbix.Collector protocol View Source

A protocol handling metrics collection

Link to this section Summary

Functions

Extrects collected metric value as list

Constructs initial metric value

Constructs next metric value

Link to this section Types

Link to this section Functions

Link to this function

extract(metric, value)

View Source
extract(t(), any()) :: list()

Extrects collected metric value as list

Link to this function

init(metric, value, timestamp)

View Source
init(t(), any(), integer() | nil) :: any()

Constructs initial metric value

Link to this function

update(metric, prev_value, value, timestamp)

View Source
update(t(), any(), any(), integer() | nil) :: any()

Constructs next metric value