Skip to content

Commit 0e7244b

Browse files
HTTP semantic convention stability migration for Tornado (#3993)
* Add Tornado http semconv opt-in * lint * Add test * changelog * lint * Update CHANGELOG.md * Update instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> * Update instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> * Add tornado semconv_status * Simplify path check, record vars * tornado sem_conv_opt_in_mode as attr and arg * add Tornado set_http_url, set_http_user_agent * Fix set_http_target call * Sanitize for _set_http_target tornado * Update instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
1 parent fc3a76b commit 0e7244b

File tree

7 files changed

+930
-163
lines changed

7 files changed

+930
-163
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
([#3980](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3980))
4040
- `opentelemetry-instrumentation`: add database stability attribute setters in `_semconv` utilities
4141
([#4108](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4108))
42+
- `opentelemetry-instrumentation-tornado`: Implement new semantic convention opt-in migration
43+
([#3993](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3993))
4244
- `opentelemetry-instrumentation-pyramid` Implement new semantic convention opt-in migration
4345
([#3982](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3982))
4446

instrumentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
| [opentelemetry-instrumentation-starlette](./opentelemetry-instrumentation-starlette) | starlette >= 0.13 | Yes | development
4848
| [opentelemetry-instrumentation-system-metrics](./opentelemetry-instrumentation-system-metrics) | psutil >= 5 | No | development
4949
| [opentelemetry-instrumentation-threading](./opentelemetry-instrumentation-threading) | threading | No | development
50-
| [opentelemetry-instrumentation-tornado](./opentelemetry-instrumentation-tornado) | tornado >= 5.1.1 | Yes | development
50+
| [opentelemetry-instrumentation-tornado](./opentelemetry-instrumentation-tornado) | tornado >= 5.1.1 | Yes | migration
5151
| [opentelemetry-instrumentation-tortoiseorm](./opentelemetry-instrumentation-tortoiseorm) | tortoise-orm >= 0.17.0 | No | development
5252
| [opentelemetry-instrumentation-urllib](./opentelemetry-instrumentation-urllib) | urllib | Yes | migration
5353
| [opentelemetry-instrumentation-urllib3](./opentelemetry-instrumentation-urllib3) | urllib3 >= 1.0.0, < 3.0.0 | Yes | migration

0 commit comments

Comments
 (0)