constants

package
v0.113.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvOTELServiceName      = "OTEL_SERVICE_NAME"
	EnvOTELResourceAttrs    = "OTEL_RESOURCE_ATTRIBUTES"
	EnvOTELPropagators      = "OTEL_PROPAGATORS"
	EnvOTELTracesSampler    = "OTEL_TRACES_SAMPLER"
	EnvOTELTracesSamplerArg = "OTEL_TRACES_SAMPLER_ARG"

	EnvOTELExporterOTLPEndpoint      = "OTEL_EXPORTER_OTLP_ENDPOINT"
	EnvOTELExporterCertificate       = "OTEL_EXPORTER_OTLP_CERTIFICATE"
	EnvOTELExporterClientCertificate = "OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE"
	EnvOTELExporterClientKey         = "OTEL_EXPORTER_OTLP_CLIENT_KEY"

	InstrumentationPrefix                           = "instrumentation.opentelemetry.io/"
	AnnotationDefaultAutoInstrumentationJava        = InstrumentationPrefix + "default-auto-instrumentation-java-image"
	AnnotationDefaultAutoInstrumentationNodeJS      = InstrumentationPrefix + "default-auto-instrumentation-nodejs-image"
	AnnotationDefaultAutoInstrumentationPython      = InstrumentationPrefix + "default-auto-instrumentation-python-image"
	AnnotationDefaultAutoInstrumentationDotNet      = InstrumentationPrefix + "default-auto-instrumentation-dotnet-image"
	AnnotationDefaultAutoInstrumentationGo          = InstrumentationPrefix + "default-auto-instrumentation-go-image"
	AnnotationDefaultAutoInstrumentationApacheHttpd = InstrumentationPrefix + "default-auto-instrumentation-apache-httpd-image"
	AnnotationDefaultAutoInstrumentationNginx       = InstrumentationPrefix + "default-auto-instrumentation-nginx-image"

	LabelAppName     = "app.kubernetes.io/name"
	LabelAppInstance = "app.kubernetes.io/instance"
	LabelAppVersion  = "app.kubernetes.io/version"
	LabelAppPartOf   = "app.kubernetes.io/part-of"

	LabelTargetAllocator              = "opentelemetry.io/target-allocator"
	ResourceAttributeAnnotationPrefix = "resource.opentelemetry.io/"

	EnvPodName  = "OTEL_RESOURCE_ATTRIBUTES_POD_NAME"
	EnvPodUID   = "OTEL_RESOURCE_ATTRIBUTES_POD_UID"
	EnvPodIP    = "OTEL_POD_IP"
	EnvNodeName = "OTEL_RESOURCE_ATTRIBUTES_NODE_NAME"
	EnvNodeIP   = "OTEL_NODE_IP"

	FlagCRMetrics   = "enable-cr-metrics"
	FlagApacheHttpd = "enable-apache-httpd-instrumentation"
	FlagDotNet      = "enable-dotnet-instrumentation"
	FlagGo          = "enable-go-instrumentation"
	FlagPython      = "enable-python-instrumentation"
	FlagNginx       = "enable-nginx-instrumentation"
	FlagNodeJS      = "enable-nodejs-instrumentation"
	FlagJava        = "enable-java-instrumentation"

	TACollectorTLSDirPath      = "/tls"
	TACollectorCAFileName      = "ca.crt"
	TACollectorTLSKeyFileName  = "tls.key"
	TACollectorTLSCertFileName = "tls.crt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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