Commit Graph

20 Commits

Author SHA1 Message Date
Diego Hurtado 26c673e7c9
Use HTTP mock server for aiohttp tests (#1849)
Fixes #1842
2023-06-13 08:40:41 +00:00
Diego Hurtado 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
Akochavi 0a4b3b4a0c
Audit and test opentelemetry-instrumentation-aiohttp-client NoOpTrace… (#1612) 2023-02-13 11:00:24 +00:00
Mario Jonke 934af7ea4f
aiohttp-client: Fix producing additional spans with each newly created ClientSession (#1246) 2022-08-27 13:03:28 +05:30
Nimrod Shlagman e267ebc645
Feat: instrument aiohttp with trace_configs argument (#1079) 2022-06-26 17:47:01 +05:30
Oleg A e69030e94b
aiohttp instrumentation: Remove `span_name` from docs (#857) 2022-02-02 10:08:20 -08:00
Owais Lone 3137c1fa41
Upgrade black (#802) 2021-11-10 20:57:01 +00:00
alrex 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
Ryo Kather c5c6977584
Add hooks for aiohttp, asgi, starlette, fastAPI, urllib, urllib3 (#576) 2021-07-26 14:34:50 -07:00
Eunice Kim 4be32b542b
Add create context key to contrib (#502) 2021-06-11 09:50:06 -07:00
Ryo Kather 865837f757
Ensure clean http url (#538) 2021-06-11 09:01:52 -07:00
Srikanth Chekuri 8d0c150b31
Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
Srikanth Chekuri 370952f684
Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
alrex 9315eb0fb2
use StatusCode from trace instead of trace.status (#366) 2021-03-09 14:33:13 -08:00
Mario Jonke f0adb23143
Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
Leighton Chen 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
Mario Jonke a7144ba722 Add instrumentor and auto instrumentation support for aiohttp (#1075) 2020-10-09 07:18:22 -07:00
Leighton Chen 2b3713655c Use is_recording flag in asgi, pyramid, aiohttp instrumentation (#1142) 2020-09-22 10:30:39 -07:00
alrex c9a0fe761b Span name updated to follow semantic conventions to reduce cardinality (#972) 2020-08-17 21:50:09 -07:00
Leighton Chen 1c970e614f Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00