instrumentation

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentAgentManagementConfigFallback added in v0.33.0

func InstrumentAgentManagementConfigFallback(fallbackTo string)

func InstrumentConfig added in v0.32.0

func InstrumentConfig(buf []byte)

Create a sha256 hash of the config before expansion and expose it via the agent_config_hash metric.

func InstrumentInvalidRemoteConfig added in v0.31.0

func InstrumentInvalidRemoteConfig(reason string)

func InstrumentLoad added in v0.32.0

func InstrumentLoad(success bool)

Expose metrics for load success / failures.

func InstrumentRemoteConfigFetch added in v0.31.0

func InstrumentRemoteConfigFetch(statusCode int)

func InstrumentRemoteConfigFetchError added in v0.31.0

func InstrumentRemoteConfigFetchError()

func InstrumentSHA256 added in v0.37.0

func InstrumentSHA256(hash [sha256.Size]byte)

InstrumentSHA256 stores the provided hash to the agent_config_hash metric.

Types

This section is empty.

Jump to

Keyboard shortcuts

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