Documentation ¶
Overview ¶
Package configtelemetry defines various telemetry level for configuration. It enables every component to have access to telemetry level to enable metrics only when necessary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int32
Level is the level of internal telemetry (metrics, logs, traces about the component itself) that every component should generate.
const ( // LevelNone indicates that no telemetry data should be collected. LevelNone Level = iota - 1 // LevelBasic is the recommended and covers the basics of the service telemetry. LevelBasic // LevelNormal adds some other indicators on top of basic. LevelNormal // LevelDetailed adds dimensions and views to the previous levels. LevelDetailed )
func (Level) MarshalText ¶
MarshalText marshals Level to text.
func (*Level) UnmarshalText ¶
UnmarshalText unmarshalls text to a Level.
Click to show internal directories.
Click to hide internal directories.