b69ebb7224
Redact specific url query string values and url credentials in instrumentations ( #3508 )
...
* Updated the instrumentation with aiohttp-server tests for url redaction
* Updated the aiohttp-server implementation and the query redaction logic
* Updated changelog and moved change to unreleased. Updated test files with license header
* Improved formatting
* Fixed failing tests
* Fixed ruff
* Update util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2025-07-01 12:26:47 +00:00
a912c9e57c
feat(instrumentation-aiohttp-client): Add support for HTTP metrics ( #3517 )
...
* Add metrics support
* Update instrumentation/opentelemetry-instrumentation-aiohttp-client/src/opentelemetry/instrumentation/aiohttp_client/__init__.py
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update instrumentation/opentelemetry-instrumentation-aiohttp-client/src/opentelemetry/instrumentation/aiohttp_client/__init__.py
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update instrumentation/opentelemetry-instrumentation-aiohttp-client/src/opentelemetry/instrumentation/aiohttp_client/__init__.py
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Adding tests, updating changelog
* Adding server address and port to both spans and metrics
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-05-27 20:41:00 +00:00
3efd161cb6
Refactor: replace use of SpanAttributes ( #3502 )
...
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-05-15 17:58:37 +00:00
cc62d1f05e
prepare semconv utilities to support database stability opt-in ( #3111 )
2024-12-17 09:58:04 -08:00
0adc58b4bf
Introducing ruff as linter and formatter (basic setup) ( #2921 )
2024-10-23 10:54:14 -07:00
e4ece57a81
Remove pkg resources ( #2871 )
2024-10-19 06:49:08 -07:00
9c327eae00
bump aiohttp to 3.10.2 ( #2796 )
2024-08-13 13:48:46 -07:00
e799a74bbe
fix schema url in instrumentation tests ( #2730 )
...
* fix schema url in instrumentation tests
* change core repo sha for test
* Update CORE_REPO_SHA
* Try removing cache
* Clear cache here as well
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-23 17:09:30 -06:00
cc52bd2729
Fix http clients method attribute in case of non standard http methods ( #2726 )
2024-07-22 12:56:22 -07:00
7e48ee7254
HTTP semantic convention stability migration for aiohttp-client ( #2673 )
2024-07-15 13:49:35 -07:00
41ca9027a8
instrumentation: drop dead code from aiohttp-client tests ( #2625 )
2024-06-20 10:42:48 -07:00
9563ee73ac
Clean up use of suppress_instrumentation in context and fix httpx bug ( #2061 )
...
* Clean up use of suppress_instrumentation in context and fix httpx bug
* Clean up use of suppress_instrumentation in context and fix httpx bug
* changelog
* fix tests
* fix import
* fmt
* update dep
* lint
* remove unused imports
* apply lint
* Fix version for pika
* Fix lint
---------
2023-12-22 22:43:12 +00:00
5888d4ef95
Enable lint on CI and update deps ( #2067 )
...
* Fix black an isort
* change bootstrap_gen to use a list instead of dict
* Bunch of updates
* Fix build
* fix lint
* Fix docs
* Fix lint
* More fixes
* Fix lint
* fix stupid mistake
---------
Co-authored-by: Christian Hartung <christian.hartung@olist.com>
2023-11-21 10:25:11 +02:00
4f6618324d
Set schema_url on all tracers and meters ( #1977 )
2023-11-06 11:39:51 -08:00
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
26c673e7c9
Use HTTP mock server for aiohttp tests ( #1849 )
...
Fixes #1842
2023-06-13 08:40:41 +00:00
5117098024
Fix expected URL in aiohttp instrumentation test ( #1772 )
...
* WIP
* Revert "WIP"
This reverts commit 3ed466348e4c172fd96569a0dcb1b15047760cef.
* Fix expected URL in aiohttp instrumentation test
The underlying cause of the issue here is the update of the yarl package
from 1.8.2 to 1.9.1. yarl is used as a dependency in the
opentelemetry-instrumentation-aiohttp package but it is not there where
the issue happens, but in aiohttp who also has yarl as a dependency.
This is why the fix does not touch any relevant part of any
opentelemetry-* code, since it is the return value of aiohttp code who
now has a different value for the URL.
Fixes #1770
2023-04-25 11:44:11 -06:00
0a4b3b4a0c
Audit and test opentelemetry-instrumentation-aiohttp-client NoOpTrace… ( #1612 )
2023-02-13 11:00:24 +00:00
934af7ea4f
aiohttp-client: Fix producing additional spans with each newly created ClientSession ( #1246 )
2022-08-27 13:03:28 +05:30
e267ebc645
Feat: instrument aiohttp with trace_configs argument ( #1079 )
2022-06-26 17:47:01 +05:30
e69030e94b
aiohttp instrumentation: Remove span_name
from docs ( #857 )
2022-02-02 10:08:20 -08:00
3137c1fa41
Upgrade black ( #802 )
2021-11-10 20:57:01 +00:00
fbb677a01d
use f-strings instead of format ( #693 )
...
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-09-28 19:12:47 +00:00
c5c6977584
Add hooks for aiohttp, asgi, starlette, fastAPI, urllib, urllib3 ( #576 )
2021-07-26 14:34:50 -07:00
4be32b542b
Add create context key to contrib ( #502 )
2021-06-11 09:50:06 -07:00
865837f757
Ensure clean http url ( #538 )
2021-06-11 09:01:52 -07:00
8d0c150b31
Sync with auto generated semantic convention constants ( #428 )
2021-04-19 23:37:10 -07:00
370952f684
Remove http.status_text from span attributes ( #406 )
2021-04-08 09:40:20 -07:00
9315eb0fb2
use StatusCode from trace instead of trace.status ( #366 )
2021-03-09 14:33:13 -08:00
f0adb23143
Remove 'component' span attribute in instrumentations ( #301 )
2021-01-29 13:15:26 -08:00
cf20717d78
Change status codes from grpc status codes, remove setting status in instrumentations except on ERROR ( #1282 )
2020-10-28 14:28:58 -07:00
a7144ba722
Add instrumentor and auto instrumentation support for aiohttp ( #1075 )
2020-10-09 07:18:22 -07:00
2b3713655c
Use is_recording flag in asgi, pyramid, aiohttp instrumentation ( #1142 )
2020-09-22 10:30:39 -07:00
c9a0fe761b
Span name updated to follow semantic conventions to reduce cardinality ( #972 )
2020-08-17 21:50:09 -07:00
1c970e614f
Rename web framework packages from "ext" to "instrumentation" ( #961 )
2020-08-03 10:10:45 -07:00