Skip to content

Commit d4d7c67

Browse files
authored
Create Suppress HTTP Instrumentation key in opentelemetry context (#2729)
1 parent 537e235 commit d4d7c67

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
([#2726](https://github.com/open-telemetry/opentelemetry-python/pull/2726))
2828
- fix: frozenset object has no attribute items
2929
([#2727](https://github.com/open-telemetry/opentelemetry-python/pull/2727))
30+
- fix: create suppress HTTP instrumentation key in opentelemetry context
31+
([#2729](https://github.com/open-telemetry/opentelemetry-python/pull/2729))
3032
- Support logs SDK auto instrumentation enable/disable with env
3133
([#2728](https://github.com/open-telemetry/opentelemetry-python/pull/2728))
3234
- fix: update entry point object references for metrics
@@ -40,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4042
- Fix Jaeger propagator usage with NonRecordingSpan
4143
([#2762](https://github.com/open-telemetry/opentelemetry-python/pull/2762))
4244

45+
4346
## [1.12.0rc1-0.31b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.12.0rc1-0.31b0) - 2022-05-17
4447

4548
- Fix LoggingHandler to handle LogRecord with exc_info=False

opentelemetry-api/src/opentelemetry/context/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,6 @@ def detach(token: object) -> None:
163163
# Once the decision around how to suppress instrumentation is made in the
164164
# spec, this key should be moved accordingly.
165165
_SUPPRESS_INSTRUMENTATION_KEY = create_key("suppress_instrumentation")
166+
_SUPPRESS_HTTP_INSTRUMENTATION_KEY = create_key(
167+
"suppress_http_instrumentation"
168+
)

0 commit comments

Comments
 (0)