package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

GroupFromContext returns the Group associated with ctx or nil if no Group has been assigned.
MustRegisterCounter registers a new counter metric with the default registry using the provided descriptor.
MustRegisterGroup registers a new group using the specified name.
MustRegisterTimer registers a new timer metric with the default registry using the provided descriptor.
NewContextWithGroup returns a new context with the given Group added.
NewGroup returns a new measurement group from the default registry.
NewRegistry creates a new Registry with a single group identified by DefaultGroup.
WithGroup assigns the associated measurement to the group identified by gid originally returned from MustRegisterGroup.

# Constants

DefaultGroup is the identifier for the default group.

# Structs

The Counter type represents a numeric counter that is safe to use from concurrent goroutines.
The Group type represents an instance of a set of measurements that are used for instrumenting a specific request.
The timer type is used to store a duration.

# Interfaces

The Metric type defines a Name.

# Type aliases