base/bif/telemetry_functions.bif.zeek

GLOBAL
Telemetry

Functions for accessing counter metrics from script land.

Namespaces:

GLOBAL, Telemetry

Summary

Functions

Telemetry::__collect_histogram_metrics: function

Telemetry::__collect_metrics: function

Telemetry::__counter_family: function

Telemetry::__counter_inc: function

Telemetry::__counter_metric_get_or_add: function

Telemetry::__counter_value: function

Telemetry::__gauge_dec: function

Telemetry::__gauge_family: function

Telemetry::__gauge_inc: function

Telemetry::__gauge_metric_get_or_add: function

Telemetry::__gauge_value: function

Telemetry::__histogram_family: function

Telemetry::__histogram_metric_get_or_add: function

Telemetry::__histogram_observe: function

Telemetry::__histogram_sum: function

Detailed Interface

Functions

Telemetry::__collect_histogram_metrics
Type:

function (prefix: string, name: string) : any_vec

Telemetry::__collect_metrics
Type:

function (prefix: string, name: string) : any_vec

Telemetry::__counter_family
Type:

function (prefix: string, name: string, labels: string_vec, helptext: string &default = "Zeek Script Metric" &optional, unit: string &default = "" &optional) : opaque of counter_metric_family

Telemetry::__counter_inc
Type:

function (val: opaque of counter_metric, amount: double &default = 1.0 &optional) : bool

Telemetry::__counter_metric_get_or_add
Type:

function (family: opaque of counter_metric_family, labels: table_string_of_string) : opaque of counter_metric

Telemetry::__counter_value
Type:

function (val: opaque of counter_metric) : double

Telemetry::__gauge_dec
Type:

function (val: opaque of gauge_metric, amount: double &default = 1.0 &optional) : bool

Telemetry::__gauge_family
Type:

function (prefix: string, name: string, labels: string_vec, helptext: string &default = "Zeek Script Metric" &optional, unit: string &default = "" &optional) : opaque of gauge_metric_family

Telemetry::__gauge_inc
Type:

function (val: opaque of gauge_metric, amount: double &default = 1.0 &optional) : bool

Telemetry::__gauge_metric_get_or_add
Type:

function (family: opaque of gauge_metric_family, labels: table_string_of_string) : opaque of gauge_metric

Telemetry::__gauge_value
Type:

function (val: opaque of gauge_metric) : double

Telemetry::__histogram_family
Type:

function (prefix: string, name: string, labels: string_vec, bounds: double_vec, helptext: string &default = "Zeek Script Metric" &optional, unit: string &default = "" &optional) : opaque of histogram_metric_family

Telemetry::__histogram_metric_get_or_add
Type:

function (family: opaque of histogram_metric_family, labels: table_string_of_string) : opaque of histogram_metric

Telemetry::__histogram_observe
Type:

function (val: opaque of histogram_metric, measurement: double) : bool

Telemetry::__histogram_sum
Type:

function (val: opaque of histogram_metric) : double