File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
opentelemetry-distro/src/opentelemetry/distro Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
1414### Added
1515
16+ - ` opentelemetry-distro ` default to OTLP log exporter.
17+ ([ #3042 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3042 ) )
1618- ` opentelemetry-instrumentation-sqlalchemy ` Update unit tests to run with SQLALchemy 2
1719 ([ #2976 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2976 ) )
1820- Add ` opentelemetry-instrumentation-openai-v2 ` to ` opentelemetry-bootstrap `
Original file line number Diff line number Diff line change 1515import os
1616
1717from opentelemetry .environment_variables import (
18+ OTEL_LOGS_EXPORTER ,
1819 OTEL_METRICS_EXPORTER ,
1920 OTEL_TRACES_EXPORTER ,
2021)
@@ -37,4 +38,5 @@ class OpenTelemetryDistro(BaseDistro):
3738 def _configure (self , ** kwargs ):
3839 os .environ .setdefault (OTEL_TRACES_EXPORTER , "otlp" )
3940 os .environ .setdefault (OTEL_METRICS_EXPORTER , "otlp" )
41+ os .environ .setdefault (OTEL_LOGS_EXPORTER , "otlp" )
4042 os .environ .setdefault (OTEL_EXPORTER_OTLP_PROTOCOL , "grpc" )
You can’t perform that action at this time.
0 commit comments