tracing

package
v0.0.0-...-98dd841 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 11 Imported by: 7

Documentation

Index

Constants

View Source
const (
	HostnameMaxParts = 3

	EnvVarApiRequestBuckets     = "METRIC_AZURERM_API_REQUEST_BUCKETS"
	EnvVarApiRequestEnabled     = "METRIC_AZURERM_API_REQUEST_ENABLE"
	EnvVarApiRequestLables      = "METRIC_AZURERM_API_REQUEST_LABELS"
	EnvVarApiRatelimitEnabled   = "METRIC_AZURERM_API_RATELIMIT_ENABLE"
	EnvVarApiRatelimitAutoreset = "METRIC_AZURERM_API_RATELIMIT_AUTORESET"
)

Variables

This section is empty.

Functions

func NewTracingPolicy

func NewTracingPolicy() tracingPolicy

func RegisterAzureMetricAutoClean

func RegisterAzureMetricAutoClean(handler http.Handler) http.Handler

func TracingIsEnabled

func TracingIsEnabled() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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