package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

LabeledFloatData returns a new Data struct with the given metric, labels, and value.
LabeledIntData returns a new Data struct with the given metric, labels, and value.
NewFloat returns a new floating-point Number.
NewFloatData returns a new Data struct with the given metric and value.
NewInt returns a new integer Number.
NewIntData returns a new Data struct with the given metric and value.
NewSnapshot returns a new Snapshot at the current time.
NewVerifier returns a new metric verifier that can verify the integrity of snapshots against the given metric registration data.
OrderedLabels streams the list of 'label_key="label_value"' in sorted order, except "le" which is a reserved Prometheus label name and should go last.
Write writes one or more snapshots to the writer.
WriteInteger writes the given integer to a writer without allocating strings.

# Constants

Prometheus label names used to identify each sandbox.
MetaMetricPrefix is a prefix used for metrics defined by the metric server, as opposed to metrics generated by each sandbox.
Prometheus label names used to identify each sandbox.
Prometheus label names used to identify each sandbox.
Prometheus label names used to identify each sandbox.
List of supported Prometheus metric types.
List of supported Prometheus metric types.
List of supported Prometheus metric types.
List of supported Prometheus metric types.

# Variables

Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.
Prometheus process-level metric names and definitions.

# Structs

Bucket is a single histogram bucket.
Data is an observation of the value of a single metric at a certain point in time.
ExportOptions contains options that control how metric data is exported in Prometheus format.
Histogram contains data about histogram values.
LabelOrError is used in OrderedLabels.
Metric is a Prometheus metric metadata.
Number represents a numerical value.
Snapshot is a snapshot of the values of all the metrics at a certain point in time.
SnapshotExportOptions contains options that control how metric data is exported for an individual Snapshot.
Verifier allows verifying metric snapshot against metric registration data.

# Type aliases

Type is a Prometheus metric type.