package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CollectFlatSnapshot collects a flattened snapshot of a metrics tree start with the given registry.
CollectStructSnapshot collects a structured metrics snaphot of a metrics tree starting with the given registry.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetNamespace gets the namespace with the given name.
No description provided by the author
IgnorePublishExpvar disables publishing expvar variables in a sub-registry.
No description provided by the author
NewBool creates and registers a new bool variable.
NewFloat creates and registers a new float variable.
No description provided by the author
NewInt creates and registers a new integer variable.
No description provided by the author
NewNamespaces creates a new namespaces list.
NewRegistry create a new empty unregistered registry.
NewString creates and registers a new string variable.
NewUint creates and registers a new unsigned integer variable.
NewUniqueList create a new UniqueList.
PublishExpvar enables publishing all registered variables via expvar interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VisitExpvars iterates all expvar metrics using the Visitor interface.
No description provided by the author
# Variables
Default is the global default metrics registry provided by the monitoring package.
# Structs
Bool is a Bool variable satisfying the Var interface.
FlatSnapshot represents a flatten snapshot of all metrics.
Float is a 64 bit float variable satisfying the Var interface.
No description provided by the author
Int is a 64 bit integer variable satisfying the Var interface.
No description provided by the author
Namespace contains the name of the namespace and it's registry.
Namespaces is a list of Namespace structs.
Registry to store variables and sub-registries.
String is a string variable satisfying the Var interface.
Uint is a 64bit unsigned integer variable satisfying the Var interface.
UniqueList is used to collect a list of items (strings) and get the total count and all unique strings.
# Interfaces
No description provided by the author
No description provided by the author
Var interface required for every metric to implement.
Visitor interface supports traversing a monitoring registry.