1981 Commits

Author SHA1 Message Date
2317adcc34 HTTP transition for wsgi (#2425) 2024-04-19 10:59:05 -07:00
7656bdb8fe fix(grpc): aio grpc client interceptor incorrect metadata handling (#2363) 2024-04-18 11:33:42 -07:00
4de0e5659d elasticsearch: stop testing on ancient versions (#2422)
Pick 6.0 as the baseline.
2024-04-18 08:57:26 -05:00
9ce1c26d27 django: Bump django version to latest (#2427) 2024-04-17 11:19:34 -07:00
ab50a4e151 tox: stop testing on python < 3.8 (#2414) 2024-04-17 10:08:18 -07:00
82b07959a9 fix: instrumentation-celery test tasks CustomError (#2416)
* fix: instrumentation-celery test tasks CustomError

* chore: lint

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-04-17 11:48:09 -05:00
07318bd378 Change AwsLambdaInstrumentor span attrs to meet faas semconv (#2372) 2024-04-17 09:09:55 -07:00
99678ccd3a Add section for semantic convention status for instrumentations (#2433) 2024-04-16 14:04:17 -07:00
8322ee790e Fix all issues from shellcheck --severity=warning (#2354) 2024-04-16 09:36:37 -07:00
e84bfff6cf readthedocs: update build os config (#2389) 2024-04-15 09:26:57 -07:00
a5c48871fa feat: add opentelemetry-instrumentation-threading library (#2253)
* feat: add opentelemetry-instrumentation-threading library

* fix: update python file with black formatter

* fix: modified title underline too short issue

* fix: modified library sorted via isort tool

* fix: modified CHANGELOG.md and remove unused parameter

* test: migrated unit test cases from the #1582 to this project

* chroe: updated the tox.ini test commands

* fix: fixed the lint issue

* feat: support ThreadPool and update document

* fix: fixed the lint issue

* refactor: remove redundant class and simplify capture OTel context usage

* fix: removed unused parameter

* test: added a new test case for thread pool

* fix: remove unused return response

* refactor: compared the array

* fix: remove f-string

* fix: fixed pylint issue

* fix: test library

* fix: updated CHANGELOG.md

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
2024-04-11 11:57:19 -05:00
804a9090a1 Add AWS resource detector entry points (#2382) 2024-04-10 10:05:38 -07:00
fdb2e141d4 Update contrib repo approvers list (#2395) 2024-04-09 10:49:26 -07:00
fdcbbddb6c Azure resource detector 0.1.4 (#2394) 2024-04-05 10:26:36 -07:00
85ca0a6b80 Change meta data service timeout to 200ms (#2387) 2024-04-05 09:47:10 -07:00
805c72ceff rename type to asgi.event.type in ASGI instrumentation (#2300) 2024-04-04 17:10:30 +00:00
955b483f7a Remove context manager check (#2391) 2024-04-03 18:44:09 -05:00
24eadcf63d Update version to 1.25.0.dev/0.46b0.dev (#2376) 2024-03-28 14:25:18 -07:00
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
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
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
ada27842bd Remove [test] package from pika instrumentation (#2306)
Fixes #2209
2024-03-21 23:31:47 -06:00
96655cefbc Remove [test] package from _template (#2329)
Fixes #2328
2024-03-22 05:06:44 +00:00
86a552ecc8 Remove [test] package from boto3sqs instrumentation (#2252)
Fixes #2192
2024-03-22 04:39:20 +00:00
26479c8a34 Remove [test] package from pymysql instrumentation (#2272)
Fixes #2272
2024-03-22 04:21:36 +00:00
4360b5f6e8 Remove [test] package from confluent-kafka instrumentation (#2287)
Fixes #2196
2024-03-21 21:55:43 -06:00
c8889d7211 Remove [test] package from tortoiseorm instrumentation (#2281)
Fixes #2224
2024-03-21 21:39:57 -06:00
0e66ef6e20 Remove [test] package from system-metrics instrumentation (#2279)
Fixes #2222
2024-03-21 21:25:18 -06:00
9cf995c62e Remove [test] package from sqlite3 instrumentation (#2277)
Fixes #2220
2024-03-21 20:53:30 -06:00
35cb8c5254 Remove [test] package from distro (#2325)
Fixes #2237
2024-03-22 01:59:31 +00:00
4bb095e961 Remove [test] package from opentelemetry-instrumentation (#2327)
Fixes #2235
2024-03-21 19:31:51 -06:00
24c1ccabc5 Remove [test] package from sdk-extension-aws (#2324)
Fixes #2234
2024-03-21 19:16:41 -06:00
bc734282b9 Remove [test] package from exporter-prometheus-remote-write (#2323)
Fixes #2233
2024-03-21 18:01:24 -06:00
69fbfd6080 Remove [test] package from exporter-richconsole (#2322)
Fixes #2232
2024-03-21 17:45:12 -06:00
dc62f8de49 Remove [test] package from propagator-ot-trace (#2321)
Fixes #2231
2024-03-21 17:19:34 -06:00
1f3bcd6555 Remove [test] package from propagator-aws-xray (#2320)
Fixes #2230
2024-03-21 22:38:24 +00:00
bbcd5eebe3 Remove [test] package from opentelemetry-resource-detector-azure (#2317)
Fixes #2229
2024-03-21 16:10:16 -06:00
4107d395cf Remove [test] package from resource-detector-container (#2319)
Fixes #2228
2024-03-21 15:44:53 -06:00
a892b0b0f3 Remove [test] package from psycopg instrumentation (#2309)
Fixes #2308
2024-03-21 13:49:38 -06:00
847e8faadc Remove [test] package from sklearn instrumentation (#2303)
Fixes #2218
2024-03-21 13:06:16 -06:00
e7df01a26c Remove [test] package from remoulade instrumentation (#2275)
Fixes #2216
2024-03-21 12:15:13 -06:00
74f58219d0 Remove [test] package from redis instrumentation (#2274)
Fixes #2215
2024-03-21 11:58:12 -06:00
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
b84d779104 Remove [test] package from pymongo instrumentation (#2269)
Fixes #2212
2024-03-20 18:51:55 -06:00
ca8daea8bf Remove [test] package from psycopg2 instrumentation (#2307)
Fixes #2210
2024-03-20 17:49:08 -06:00
fc864fe99a Remove [test] package from mysql instrumentation (#2294)
Fixes #2207
2024-03-20 15:31:58 -06:00
801dcedcb8 Remove [test] package from boto instrumentation (#2251)
Fixes #2191
2024-03-20 14:47:09 -06:00
ab97e07eef Remove [test] package from kafka-python instrumentation (#2292)
Fixes #2205
2024-03-20 14:30:38 -06:00
70d9b3d9ea Remove [test] package from jinja2 instrumentation (#2291)
Fixes #2204
2024-03-20 12:02:34 -06:00
51c78bf3a8 Remove [test] package from grpc instrumentation (#2290)
Fixes #2202
2024-03-20 11:40:37 -06:00