mspillane
bbbe3ab7ab
Add NoOpTracerProvider test for starlette ( #2654 )
2024-07-11 09:18:48 -07:00
dhofstetter
ef4bc9f9b4
fix(opentelemetry-instrumentation-asgi): Correct http.url attribute generation ( #2477 )
2024-07-03 10:28:54 -07:00
Leighton Chen
5b841282ab
Do not use `asgi` name and version for tracer/meter for instrumentations using Asgi Middleware ( #2580 )
2024-06-06 12:52:32 -07:00
Pavel Perestoronin
ed51ebb312
feat(asgi,fastapi,starlette)!: provide both send and receive hooks with `scope` and `message` ( #2546 )
2024-06-03 10:18:47 -07:00
Adrian Garcia Badaracco
4b1a9c75db
feat: configure header extraction for ASGI middleware via constructor params ( #2026 )
...
* feat: configure header extraction for ASGI middleware via constructor params
* fix django middleware
* lint
* remove import
* Fix lint
* Update instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
2024-01-30 21:11:00 -06:00
Iman Shafiei
256d8ce12d
Add http.server.request.size for ASGI metric implementation ( #1867 )
...
* Update changelog file.
* Update changelog file.
* Add new request.size metric for ASGI middleware.
* Clean-up.
* Refactor try except section.
---------
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-06-21 23:56:38 +03:00
Iman Shafiei
60753e2a55
Add http.server.response.size metric to ASGI implementation. ( #1789 )
...
* Add http.server.response.size metric to ASGI implementation.
Add new unit tests.
* Update changelog.
* Fix linting by disabling too-many-nested-blocks
* Put new logic in a new method
* Refactor the placement of new logic.
* Fixed the unit tests in FastAPI and Starlette
* Update changelog.
* FIx lint errors.
* Refactor getting content-length header
* Refactor getting content-length header
---------
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-06-19 23:00:59 +03:00
Maciej Nachtygal
743ac64661
Issue #1757 - Update HTTP server/client instrumentation span names ( #1759 )
...
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-06-16 00:21:05 +02:00
Shalev Roda
a97326d871
Add uninstrument test for starlette ( #1558 )
2023-01-06 22:34:49 +05:30
Dan Rogers
868049ecd9
Add support for regular expression matching and sanitizing of headers in Starlette. ( #1404 )
2022-11-15 01:35:24 +00:00
Rahul Mukherjee
fc98f0832e
Metrics instrumentation starlette ( #1327 )
2022-09-27 09:12:47 -07:00
Gal Bashan
18e056b85a
Codespell ci ( #1237 )
2022-08-29 15:08:25 +05:30
Sanket Mehta
26a8aa184f
Starlette: capture custom request response headers in span attributes ( #1046 )
2022-04-18 23:42:38 +05:30
Ashutosh Goel
0180b837ee
Adding unit tests for conditional server span creation in starlette ( #897 )
...
* Adding unit tests for conditional server span creation in starlette
* Adding changelog entry and renaming function
* Update CHANGELOG.md
Removing changelog entry
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-02-03 21:57:06 +05:30
Owais Lone
ffc2a2ff4c
More consistent assertion methods ( #641 )
...
* More consistent assertion methods
* Updated core SHA
2021-08-30 22:46:18 +02:00
Ryo Kather
c5c6977584
Add hooks for aiohttp, asgi, starlette, fastAPI, urllib, urllib3 ( #576 )
2021-07-26 14:34:50 -07:00
Srikanth Chekuri
3ec77360cb
Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider ( #402 )
2021-04-28 08:36:37 -07:00
Srikanth Chekuri
8d0c150b31
Sync with auto generated semantic convention constants ( #428 )
2021-04-19 23:37:10 -07:00
Diego Hurtado
2fd68a2bf9
Remove Configuration from instrumentations ( #285 )
2021-02-04 08:02:37 -08:00
Srikanth Chekuri
76fda25b25
Add ability to exclude some routes in fastapi and starlette ( #237 )
2020-12-08 10:24:32 -08:00
Leighton Chen
5f837c2dfb
Rename web framework packages from "ext" to "instrumentation" ( #961 )
2020-10-22 17:20:08 -07:00