Commit Graph

1745 Commits

Author SHA1 Message Date
avzis d1dec9220b
add a test for urllib using NoOpTracerProvider (#1560) 2023-01-10 16:23:48 +00:00
avzis 494bf0999c
add a test for redis using NoOpTracerProvider (#1559) 2023-01-09 09:15:00 +00:00
Nimrod Shlagman 6d1550bb0b
add python-kafka to docs (#1552) 2023-01-07 05:19:39 +00:00
Nimrod Shlagman 3dc2f8ee30
add elasticsearch to docs (#1542) 2023-01-06 20:35:44 +00:00
Shalev Roda 1f0dda9865
Add uninstrument test for django (#1557) 2023-01-06 17:34:15 +00:00
Shalev Roda a97326d871
Add uninstrument test for starlette (#1558) 2023-01-06 22:34:49 +05:30
Federico Bond c1206d9c08
Fix typo in Django docs (#1562) 2023-01-06 09:54:27 +05:30
Nimrod Shlagman 1f96608388
Add aio_pika readthedocs documentation (#1504) 2023-01-04 05:26:37 +05:30
Nimrod Shlagman de4cde7e33
add tortoiseorm docs (#1541) 2023-01-02 23:42:29 +05:30
Nimrod Shlagman abaa26381e
auto generate system metrics docs (#1530) 2023-01-01 22:43:13 +00:00
Shalev Roda 6d1c740eff
Add uninstrument test for boto3sqs (#1550) 2023-01-01 21:06:56 +00:00
avzis 346160467f
add a test using NoOpTracerProvider - sqlalchemy (#1508) 2023-01-01 18:33:34 +00:00
Nimrod Shlagman e79b313bd7
Add/aws lamda docs (#1534) 2023-01-01 23:32:20 +05:30
Vasi Vasireddy f38eeb73df
Update the usage of set-output command in GH actions (#1464) 2022-12-29 17:48:45 +00:00
Nimrod Shlagman 41438ba9d2
add docs/instrumentation component owner (#1535) 2022-12-27 14:29:32 +00:00
Shalev Roda 0518050a04
Add entry for urllib3 instrumentation component owner (#1536) 2022-12-27 19:20:14 +05:30
avzis 15ee4a0ac9
add a test for pymongo with NoOpTracer (#1537) 2022-12-27 07:38:30 +00:00
Nimrod Shlagman ddbc40f907
add pika to docs (#1540) 2022-12-27 12:39:49 +05:30
Nimrod Shlagman 426d641590
Add remoulade readthedocs documentation (#1515) 2022-12-22 19:29:29 +00:00
Shalev Roda 9fbb1febfe
Add uninstrument test for remoulade instrumentation (#1528) 2022-12-22 18:31:11 +00:00
Shalev Roda e7ff9a9be7
Add entry to component_owners.yml (#1511) 2022-12-22 17:31:05 +00:00
Alex Boten e106dbcd5a
[docs] fix broken link (#1513) 2022-12-22 22:30:21 +05:30
Nimrod Shlagman 33bb7be903
Add urllib readthedocs documentation (#1510) 2022-12-20 15:03:12 +00:00
Nimrod Shlagman 5af3519f36
fix aiopg version (#1473) 2022-12-20 20:00:11 +05:30
Alex Boten 7f8fe690a0
Adds an option to configure `disable_aws_context_propagation` by environment variable (#1507)
* Adds an option to configure `disable_aws_context_propagation` by environment variable

The variable `OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION` can be used to disable aws context propagation. This is similar to the proposed changes in the JS implementation: https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1227

Signed-off-by: Alex Boten <aboten@lightstep.com>

* update changelog

* Apply suggestions from code review

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>

Signed-off-by: Alex Boten <aboten@lightstep.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-12-19 16:50:36 -06:00
Shalev Roda a9f34136d2
Add uninstrument test for aws lambda (#1505) 2022-12-20 03:15:43 +05:30
Nimrod Shlagman 23f63a5328
add uninstrument test for Celery (#1490) 2022-12-18 14:46:26 +00:00
Shalev Roda 41592015a3
Add uninstrument test for boto (#1488) 2022-12-18 15:22:55 +05:30
Srikanth Chekuri 0f2451be26
Update version to 1.16.0.dev/0.37b0.dev (#1485) 2022-12-10 04:03:22 +05:30
Srikanth Chekuri 71781d3964
updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
Srikanth Chekuri fc738c04a6
Pin tox version (#1480) 2022-12-08 16:39:48 -06:00
Miguel Alexandre 25a6535f26
Instrument newer versions (#1468) 2022-12-06 15:58:03 +00:00
avzis cfd017e5ec
fix enable_commenter functionality (#1440) 2022-12-06 20:22:38 +05:30
Shalev Roda 99e0b42635
Add uninstrument test for sqlalchemy (#1471) 2022-12-05 22:28:10 +05:30
Sebastian Kreft bc57cc029d
fix(asgi-instrumentation): extract target after running the framework (#1461) 2022-12-05 02:00:09 +00:00
Artem Rys 155fc46596
Minor refactoring (#1169)
* Minor refactoring across multiple instrumentation libraries

* Reformat using black

* Put span_kind back in aws_lambda

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-12-03 13:11:06 +00:00
avzis 538c655830
Add a test for mysql instrumentation using NoOpTracerProvider (#1423) 2022-12-03 17:58:32 +05:30
Diego Hurtado b6f9b62de7
Refactor comments in .flake8 (#1470)
Fixes #1469
2022-11-29 14:04:48 +01:00
Mario Jonke 2179fb976f
botocore: Add support for SNS publish and publish_batch (#1409) 2022-11-24 16:44:12 +05:30
Alex Boten 8dbd1428c2
`opentelemetry-instrumentation-aws-lambda`: Adding option to disable context propagation (#1466)
* `opentelemetry-instrumentation-aws-lambda`: Adding option to disable context propagation

Adding the following option to disable context propagation `disable_aws_context_propagation`. This is similar to the disableAwsContextPropagation option in the nodejs instrumentation.

* update changelog

* lint

* more lint
2022-11-23 22:30:06 +01:00
Sean Kenny 80d0b89b8b
Add grpc.aio instrumentation to be auto-instrumented (#1442) 2022-11-22 03:24:21 +00:00
Anthony Shaw b6b269064c
Tortoise ORM instrumentation (#685) 2022-11-22 02:33:59 +00:00
Lance Erickson 9a155df802
Fix 1455: Protect from raw next() calls (#1456) 2022-11-21 17:39:23 -08:00
Diego Hurtado 6347ce0899
Fix httpx version (#1460)
Fixes #1459
2022-11-21 19:58:35 +01:00
Dan Rogers be4ceec08c
Strip leading comments from SQL queries when generating the span name. (#1434)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-11-18 14:01:07 +01:00
Diego Hurtado c613484390
Remove mention to eachdist (#1445) 2022-11-17 10:45:34 -08:00
Israël Hallé 725944d368
Urllib3 instrumentation can now retrieve urlopen body parameter when used as positional (#1398) 2022-11-16 01:30:22 +00:00
Robert Ayrapetyan ffb995d28b
opentelemetry-instrumentation-kafka-python: wait for metadata (#1260)
* fix kafka: wait for metadata

Kafka's instance metadata could be unavailable (because it's being filled asynchronously). extract_send_partition() is based on a metadata, so it may return `None` for partition and later cause all type of warning messages (e.g. `Invalid type NoneType for attribute value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types`).
The proposed fix makes sure metadata is pre-populated (based on 4d598055da/kafka/producer/kafka.py (L579)).
I'm just not sure if we should wrap `_wait_on_metadata` into try\except, maybe just passing Exception to the caller would be a better idea...

* upd: changelog

* fix: changelog

* fix: import KafkaErrors

* fix: tox -e lint errors

* fix: refact and added unit test

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-11-15 12:42:56 +00:00
Dan Rogers 868049ecd9
Add support for regular expression matching and sanitizing of headers in Starlette. (#1404) 2022-11-15 01:35:24 +00:00
Srikanth Chekuri 47512c84b9
fix: No module named httpx (#1441) 2022-11-15 06:17:14 +05:30