TelemetryMetricsZabbix.Collector protocol (TelemetryMetricsZabbix v0.3.0) 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

Specs

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

Extrects collected metric value as list

Link to this function

init(metric, value, timestamp)

View Source

Specs

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

Constructs initial metric value

Link to this function

update(metric, prev_value, value, timestamp)

View Source

Specs

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

Constructs next metric value