Skip to content

Commit 72c1f5b

Browse files
authored
Fixing bug where BLRP export tracked as tracing (#3375)
1 parent e076e7c commit 72c1f5b

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
@@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
[#3355](https://github.com/open-telemetry/opentelemetry-python/pull/3355))
2121
- Include endpoint in Grpc transient error warning
2222
[#3362](https://github.com/open-telemetry/opentelemetry-python/pull/3362))
23+
- Fixed bug where logging export is tracked as trace
24+
[#3375](https://github.com/open-telemetry/opentelemetry-python/pull/3375))
2325

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

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)