# 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
GetClusterUUID returns the value of the monitoring.cluster_uuid setting, if it is set.
GetNamespace gets the namespace with the given name.
No description provided by the author
IgnorePublishExpvar disables publishing expvar variables in a sub-registry.
IsBufferEnabled will check if the monitoring buffer is explicitly enabled.
IsEnabled returns whether the monitoring reporter is enabled or not.
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.
NewTimestamp creates and registers a new timestamp variable.
NewUint creates and registers a new unsigned integer variable.
NewUniqueList create a new UniqueList.
OverrideWithCloudSettings overrides monitoring.elasticsearch.* with monitoring.cloud.* if the latter are set.
PublishExpvar enables publishing all registered variables via expvar interface.
No description provided by the author
No description provided by the author
ReportBool reports a bool for the visitor.
ReportFloat reports a float type for the visitor.
ReportInt reports an int type for the visitor.
ReportNamespace reports a value for a given namespace.
ReportString reports a string value for the visitor.
ReportStringSlice reports a string array for the visitor.
ReportVar reports an interface var typew for the visitor.
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
BeatConfig represents the part of the $BEAT.yml to do with monitoring settings.
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.
Timestamp is a timestamp 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
RegistryVisitor is the interface type for interacting with a monitoring registry.
ValueVisitor is an interface for the monitoring visitor type.
Var interface required for every metric to implement.
Visitor interface supports traversing a monitoring registry.