Documentation ¶
Index ¶
- func InstrumentAgentManagementConfigFallback(fallbackTo string)
- func InstrumentConfig(buf []byte)
- func InstrumentInvalidRemoteConfig(reason string)
- func InstrumentLoad(success bool)
- func InstrumentRemoteConfigFetch(statusCode int)
- func InstrumentRemoteConfigFetchError()
- func InstrumentSHA256(hash [sha256.Size]byte)
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
InstrumentSHA256 stores the provided hash to the agent_config_hash metric.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.