OTEL_SERVICE_NAME, else service.name in OTEL_RESOURCE_ATTRIBUTES
resourceAttributes
OTEL_RESOURCE_ATTRIBUTES
sampler, samplerRatio
OTEL_TRACES_SAMPLER, OTEL_TRACES_SAMPLER_ARG
propagators
OTEL_PROPAGATORS
A blank explicit serviceName counts as unset. Headers come from code only (no credential
variables exist). A present but invalid value
throws ConfigError naming the variable, never its value.
Builds a TracingConfig from the environment with
overrideson top (each field: explicit > environment > preset default).protocolGROW_ZIPKIN_PROTOCOL(native,grpc,http/protobuf)endpoint(native)GROW_ZIPKIN_ENDPOINT,OTEL_EXPORTER_ZIPKIN_ENDPOINT(as-is),GROW_ZIPKIN_URL/ZIPKIN_URL+/api/v2/spansendpoint(OTLP, a Collector)OTEL_EXPORTER_OTLP_TRACES_ENDPOINT(as-is),OTEL_EXPORTER_OTLP_ENDPOINT(HTTP appends/v1/traces)batch.exportTimeoutMsOTEL_EXPORTER_ZIPKIN_TIMEOUT(ms or10s)compressionGROW_ZIPKIN_COMPRESSION(gzip,none)serviceNameOTEL_SERVICE_NAME, elseservice.nameinOTEL_RESOURCE_ATTRIBUTESresourceAttributesOTEL_RESOURCE_ATTRIBUTESsampler,samplerRatioOTEL_TRACES_SAMPLER,OTEL_TRACES_SAMPLER_ARGpropagatorsOTEL_PROPAGATORSA blank explicit
serviceNamecounts as unset. Headers come from code only (no credential variables exist). A present but invalid value throwsConfigErrornaming the variable, never its value.