Skip to content

Commit c09192c

Browse files
authored
Merge branch 'main' into main
2 parents a9272e6 + 72c1f5b commit c09192c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
[#3355](https://github.com/open-telemetry/opentelemetry-python/pull/3355))
2222
- Include endpoint in Grpc transient error warning
2323
[#3362](https://github.com/open-telemetry/opentelemetry-python/pull/3362))
24+
- Fixed bug where logging export is tracked as trace
25+
[#3375](https://github.com/open-telemetry/opentelemetry-python/pull/3375))
2426

2527

2628
## Version 1.18.0/0.39b0 (2023-05-04)

opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/export/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def _export_batch(self) -> int:
307307
record = self._queue.pop()
308308
self._log_records[idx] = record
309309
idx += 1
310-
token = attach(set_value("suppress_instrumentation", True))
310+
token = attach(set_value(_SUPPRESS_INSTRUMENTATION_KEY, True))
311311
try:
312312
self._exporter.export(self._log_records[:idx]) # type: ignore
313313
except Exception: # pylint: disable=broad-except

0 commit comments

Comments
 (0)