package
3.0.9+incompatible
Repository: https://github.com/google/mtail.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
NewMetric returns a new empty metric of dimension len(keys).
NewStore returns a new metric Store.

# Constants

Buckets indicates this metric is a histogram metric type.
Counter is a monotonically nondecreasing metric.
Float indicates this metric is a floating-point metric type.
Gauge is a Kind that can take on any value, and may be set discontinuously from its previous value.
Histogram is a Kind that observes a value and stores the value in a bucket.
Int indicates this metric is an integer metric type.
String indicates this metric contains printable string values.
Text is a special metric type for free text, usually for operating as a 'hidden' metric, as often these values cannot be exported.
Timer is a specialisation of Gauge that can be used to store time intervals, such as latency and durations.

# Structs

LabelSet is an object that maps the keys of a Metric to the labels naming a Datum, for use when enumerating Datums from a Metric.
LabelValue is an object that names a Datum value with a list of label strings.
Metric is an object that describes a metric, with its name, the creator and owner program name, its Kind, a sequence of Keys that may be used to add dimension to the metric, and a list of LabelValues that contain data for labels in each dimension of the Keys.
Store contains Metrics.

# Type aliases

Kind enumerates the types of metrics supported.
No description provided by the author
Type describes the type of value stored in a Datum.