telemetry

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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 Flags

func Flags(flags *flag.FlagSet)

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.

Jump to

Keyboard shortcuts

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