otelcol

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LevelNone indicates that no telemetry data should be collected.
	LevelNone = "none"
	// LevelBasic is the recommended and covers the basics of the service telemetry.
	LevelBasic = "basic"
	// LevelNormal adds some other indicators on top of basic.
	LevelNormal = "normal"
	// LevelDetailed adds dimensions and views to the previous levels.
	LevelDetailed = "detailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugMetricsArguments

type DebugMetricsArguments struct {
	DisableHighCardinalityMetrics bool  `alloy:"disable_high_cardinality_metrics,attr,optional"`
	Level                         Level `alloy:"level,attr,optional"`
}

DebugMetricsArguments configures internal metrics of the components

func (*DebugMetricsArguments) SetToDefault

func (args *DebugMetricsArguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

type Level

type Level string

func (Level) Convert

func (l Level) Convert() (configtelemetry.Level, error)

func (*Level) UnmarshalText added in v1.4.2

func (l *Level) UnmarshalText(text []byte) error

UnmarshalText implements encoding.TextUnmarshaler for Level.

Jump to

Keyboard shortcuts

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