Documentation ¶
Overview ¶
Package remotemetrics is a plugin that enables log metrics too complex for Prometheus, but still interesting in terms of analysis and debugging. It is enabled by default. The destination can be set via logger.remotelog.serverAddress.
Index ¶
Constants ¶
View Source
const ( // Debug defines the most verbose metrics collection level. Debug uint8 = iota // Info defines regular metrics collection level. Info // Important defines the level of collection of only most important metrics. Important // Critical defines the level of collection of only critical metrics. Critical )
Variables ¶
View Source
var Parameters = &ParametersDefinition{}
Parameters contains the configuration used by the remotelog plugin.
View Source
var ( // Plugin is the plugin instance of the remote plugin instance. Plugin *node.Plugin )
Functions ¶
This section is empty.
Types ¶
type ParametersDefinition ¶
type ParametersDefinition struct { // MetricsLevelMetricsLevel used limit the amount of metrics sent to metrics collection service. The higher the value, the less logs is sent MetricsLevel uint8 `` /* 144-byte string literal not displayed */ }
ParametersDefinition contains the definition of the parameters used by the remotelog plugin.
Click to show internal directories.
Click to hide internal directories.