remotemetrics

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, BSD-2-Clause Imports: 21 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL