Skip to content

Commit 5145eb7

Browse files
authored
Merge branch 'main' into generate-workflows-core
2 parents 24680b6 + 1737ee6 commit 5145eb7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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`

opentelemetry-distro/src/opentelemetry/distro/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import os
1616

1717
from 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")

0 commit comments

Comments
 (0)