File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
opentelemetry-distro/src/opentelemetry/distro Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323 ([ #1082 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1082 ) )
2424- Added ` opentelemetry-instrumention-confluent-kafka `
2525 ([ #1111 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1111 ) )
26+ - Set otlp-proto-grpc as the default metrics exporter for auto-instrumentation
27+ ([ #1127 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1127 ) )
2628
2729
2830## [ 1.12.0rc1-0.31b0] ( https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.12.0rc1-0.31b0 ) - 2022-05-17
Original file line number Diff line number Diff line change 1414
1515import os
1616
17- from opentelemetry .environment_variables import OTEL_TRACES_EXPORTER
17+ from opentelemetry .environment_variables import (
18+ OTEL_METRICS_EXPORTER ,
19+ OTEL_TRACES_EXPORTER ,
20+ )
1821from opentelemetry .instrumentation .distro import BaseDistro
1922from opentelemetry .sdk ._configuration import _OTelSDKConfigurator
2023
@@ -32,3 +35,4 @@ class OpenTelemetryDistro(BaseDistro):
3235 # pylint: disable=no-self-use
3336 def _configure (self , ** kwargs ):
3437 os .environ .setdefault (OTEL_TRACES_EXPORTER , "otlp_proto_grpc" )
38+ os .environ .setdefault (OTEL_METRICS_EXPORTER , "otlp_proto_grpc" )
You can’t perform that action at this time.
0 commit comments