instrumentation

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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()

Types

This section is empty.

Jump to

Keyboard shortcuts

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