Telemetry NamespaceΒΆ

Namespace: Telemetry.

class zlogging.enum.telemetry.MetricType(*values)[source]

Bases: IntFlag

Enum: Telemetry::MetricType.

DOUBLE_COUNTER = 1
INT_COUNTER = 2
DOUBLE_GAUGE = 4
INT_GAUGE = 8
DOUBLE_HISTOGRAM = 16
INT_HISTOGRAM = 32
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None