Commit Graph

2063 Commits

Author SHA1 Message Date
Tammy Baylis 37aba928d4
Add cloud.account.id attribute by AwsLambdaInstrumentor (#2367)
* Add cloud.account.id attribute by AwsLambdaInstrumentor

* Changelog

* Update test

* lint
2024-03-22 17:46:10 -06:00
samypr100 d06de3f9f1
regression-fix: retain httpx.URL type on request.url (#2359)
* fix: retain httpx.URL type on request.url

This fixes a regression caused in #2020 where request.url stopped being of `httpx.URL` type, causing issues with request/response hooks.

* Update CHANGELOG.md

* tests: adding assertions to verify request.url on hooks is a httpx.URL

* fixup: adjust check to consider httpx < 0.20.0

* fixup: keep code dry

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2024-03-22 17:15:51 -06:00
Riccardo Magliocchetti ca082a7c52
elasticsearch: don't set body as db statement for bulk requests (#2355)
* elasticsearch: don't set body as db statement for bulk requests

bulk requests can be too big and diverse to make sense as db statement.
Other than that the sanitizer currently only handles dicts so it's
crashing.

Closes #2150

Co-authored-by: Jason Mobarak <git@jason.mobarak.name>
Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>

* Update CHANGELOG

* Please the linter

---------

Co-authored-by: Jason Mobarak <git@jason.mobarak.name>
Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>
2024-03-22 16:56:29 -06:00
Diego Hurtado ada27842bd
Remove [test] package from pika instrumentation (#2306)
Fixes #2209
2024-03-21 23:31:47 -06:00
Diego Hurtado 96655cefbc
Remove [test] package from _template (#2329)
Fixes #2328
2024-03-22 05:06:44 +00:00
Diego Hurtado 86a552ecc8
Remove [test] package from boto3sqs instrumentation (#2252)
Fixes #2192
2024-03-22 04:39:20 +00:00
Diego Hurtado 26479c8a34
Remove [test] package from pymysql instrumentation (#2272)
Fixes #2272
2024-03-22 04:21:36 +00:00
Diego Hurtado 4360b5f6e8
Remove [test] package from confluent-kafka instrumentation (#2287)
Fixes #2196
2024-03-21 21:55:43 -06:00
Diego Hurtado c8889d7211
Remove [test] package from tortoiseorm instrumentation (#2281)
Fixes #2224
2024-03-21 21:39:57 -06:00
Diego Hurtado 0e66ef6e20
Remove [test] package from system-metrics instrumentation (#2279)
Fixes #2222
2024-03-21 21:25:18 -06:00
Diego Hurtado 9cf995c62e
Remove [test] package from sqlite3 instrumentation (#2277)
Fixes #2220
2024-03-21 20:53:30 -06:00
Diego Hurtado 35cb8c5254
Remove [test] package from distro (#2325)
Fixes #2237
2024-03-22 01:59:31 +00:00
Diego Hurtado 4bb095e961
Remove [test] package from opentelemetry-instrumentation (#2327)
Fixes #2235
2024-03-21 19:31:51 -06:00
Diego Hurtado 24c1ccabc5
Remove [test] package from sdk-extension-aws (#2324)
Fixes #2234
2024-03-21 19:16:41 -06:00
Diego Hurtado bc734282b9
Remove [test] package from exporter-prometheus-remote-write (#2323)
Fixes #2233
2024-03-21 18:01:24 -06:00
Diego Hurtado 69fbfd6080
Remove [test] package from exporter-richconsole (#2322)
Fixes #2232
2024-03-21 17:45:12 -06:00
Diego Hurtado dc62f8de49
Remove [test] package from propagator-ot-trace (#2321)
Fixes #2231
2024-03-21 17:19:34 -06:00
Diego Hurtado 1f3bcd6555
Remove [test] package from propagator-aws-xray (#2320)
Fixes #2230
2024-03-21 22:38:24 +00:00
Diego Hurtado bbcd5eebe3
Remove [test] package from opentelemetry-resource-detector-azure (#2317)
Fixes #2229
2024-03-21 16:10:16 -06:00
Diego Hurtado 4107d395cf
Remove [test] package from resource-detector-container (#2319)
Fixes #2228
2024-03-21 15:44:53 -06:00
Diego Hurtado a892b0b0f3
Remove [test] package from psycopg instrumentation (#2309)
Fixes #2308
2024-03-21 13:49:38 -06:00
Diego Hurtado 847e8faadc
Remove [test] package from sklearn instrumentation (#2303)
Fixes #2218
2024-03-21 13:06:16 -06:00
Diego Hurtado e7df01a26c
Remove [test] package from remoulade instrumentation (#2275)
Fixes #2216
2024-03-21 12:15:13 -06:00
Diego Hurtado 74f58219d0
Remove [test] package from redis instrumentation (#2274)
Fixes #2215
2024-03-21 11:58:12 -06:00
Samuel Colvin 5207a78460
avoid losing repeated HTTP headers (#2266)
* avoid loosing repeated HTTP headers

* fix fof wsgi, test in falcon

* add changelog

* add more tests

* linting

* fix falcon and flask

* remove unused test

---------

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-03-21 11:30:54 -06:00
Diego Hurtado b84d779104
Remove [test] package from pymongo instrumentation (#2269)
Fixes #2212
2024-03-20 18:51:55 -06:00
Diego Hurtado ca8daea8bf
Remove [test] package from psycopg2 instrumentation (#2307)
Fixes #2210
2024-03-20 17:49:08 -06:00
Diego Hurtado fc864fe99a
Remove [test] package from mysql instrumentation (#2294)
Fixes #2207
2024-03-20 15:31:58 -06:00
Diego Hurtado 801dcedcb8
Remove [test] package from boto instrumentation (#2251)
Fixes #2191
2024-03-20 14:47:09 -06:00
Diego Hurtado ab97e07eef
Remove [test] package from kafka-python instrumentation (#2292)
Fixes #2205
2024-03-20 14:30:38 -06:00
Diego Hurtado 70d9b3d9ea
Remove [test] package from jinja2 instrumentation (#2291)
Fixes #2204
2024-03-20 12:02:34 -06:00
Diego Hurtado 51c78bf3a8
Remove [test] package from grpc instrumentation (#2290)
Fixes #2202
2024-03-20 11:40:37 -06:00
Diego Hurtado a8e57bfbb8
Remove [test] package from celery instrumentation (#2286)
Fixes #2195
2024-03-20 10:27:22 -06:00
Diego Hurtado ef7125000a
Remove [test] package from botocore instrumentation (#2284)
Fixes #2193
2024-03-20 10:10:15 -06:00
Diego Hurtado 5e1e866ec1
Remove [test] package from cassandra instrumentation (#2285)
Fixes #2194
2024-03-19 18:02:02 -06:00
Diego Hurtado 11812b190a
Remove [test] package from aws-lambda instrumentation (#2250)
Fixes #2190
2024-03-19 22:01:01 +00:00
Diego Hurtado 78424fa985
Skip celery test case if running in PyPy (#2349)
Fixes #2348

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-03-19 15:38:18 -06:00
Markus 1b68fdc8c8
Psycopg3 sync and async instrumentation (#2146) 2024-03-19 11:24:25 -07:00
Riccardo Magliocchetti c9832ba232
instrumentation/django: fix test_trace_parent (#2338) 2024-03-19 10:58:51 -07:00
Diego Hurtado dcffb584c4
Remove [test] package from asyncpg instrumentation (#2249)
Fixes #2189
2024-03-18 17:29:07 -06:00
Diego Hurtado 9bb73fc4c5
Remove [test] package from logging instrumentation (#2293)
Fixes #2206
2024-03-18 16:46:13 -06:00
Diego Hurtado 1782e96b77
Remove [test] package from dbapi instrumentation (#2288)
Fixes #2197
2024-03-18 19:42:10 +00:00
Diego Hurtado 6c2e54da64
Remove [test] package from sqlalchemy instrumentation (#2315)
Fixes #2219

Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-03-18 18:44:02 +00:00
Rodrigo-Novas 617cae9375
Feature/convention http server duration (#2326)
* feat: add http.duration convention

* feat: add http.duration convention

* feat: replace for the last description version Duration of HTTP client requests

* feat: add new description to histogram
2024-03-18 17:29:10 +02:00
Diego Hurtado 223c79c617
Remove [test] package from mysqlclient instrumentation (#2295)
Fixes #2208
2024-03-15 23:37:18 -06:00
Diego Hurtado 8f02162221
Remove [test] package from elasticsearch configuration (#2312)
Fixes #3745
2024-03-15 15:26:38 -06:00
Diego Hurtado 0b5e3b4bcd
Remove [test] package from pymemcache instrumentation (#2310)
Fixes #2211
2024-03-15 15:08:03 -06:00
Diego Hurtado e30dd1abeb
Remove [test] package from urllib3 instrumentation (#2316)
Fixes #2226
2024-03-15 14:49:03 -06:00
Diego Hurtado 74820251f1
Remove [test] package from urllib instrumentation (#2282)
Fixes #2225
2024-03-15 14:33:49 -06:00
Diego Hurtado fbda226a5a
Remove [test] package from requests instrumentation (#2276)
Fixes #2217
2024-03-15 14:10:12 -06:00