Documentation ¶
Overview ¶
Package telemetry controls the telemetry settings to be used in the collector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddInstanceID ¶
func GetAddInstanceID() bool
func GetLevel ¶
func GetLevel() (configtelemetry.Level, error)
GetLevel returns the Level represented by the string. The parsing is case-insensitive and it returns error if the string value is unknown.
func GetMetricsAddr ¶
func GetMetricsAddr() string
func GetMetricsAddrDefault ¶
func GetMetricsAddrDefault() string
GetMetricsAddrDefault returns the default metrics bind address and port depending on the current build type.
func GetMetricsPrefix ¶
func GetMetricsPrefix() string
func UseLegacyMetrics ¶
func UseLegacyMetrics() bool
func UseNewMetrics ¶
func UseNewMetrics() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.