Commit Graph

1491 Commits

Author SHA1 Message Date
jerevoss 8afbce7533
Fixing inescapable character bug for Windows path string (#1100) 2022-06-04 02:54:50 +05:30
oxeye-dorkolog a8b9829f76
Support confluent kafka (#1111)
* add kafka instrumentation

* add confluent kafka instrumentation

* fix tests

* change documentation

* lint fix

* fix lint

Co-authored-by: Nikolay Sokolik <81902191+oxeye-nikolay@users.noreply.github.com>
2022-06-03 14:26:40 +01:00
ben-natan 5f7c293e0f
Add instrumentation for remoulade (#1082) 2022-05-31 14:05:41 -07:00
Leighton Chen c6f9dcd359
sphinx (#1115) 2022-05-31 12:24:44 -07:00
Alan Isaac 100ecfeb08
updated type hints for getters and setters (#1106) 2022-05-29 06:02:14 +05:30
Paul "TBBle" Hampson f7409b8b98
Typo fix: caputre => capture (#1108) 2022-05-27 11:27:40 +05:30
Paul "TBBle" Hampson 9d57a4c3ec
Narrow protobuf dependency to exclude protobuf >= 4 (#1109) 2022-05-27 01:18:24 +05:30
Nikolay Sokolik 8a7a3f1993
Feature/add boto3 sqs instrumentation (#1081)
* Add Boto3SQS Instrumentation

* Add basic tests

* Add context setting list

* Fix linting

* CR and lint fixes

* Add newline

* Run tox generate

* Change the dependency version

* Fix linting

* PR fixes. Remove walrus operator and use the `start_as_current_span`

* Run lint and generate

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-05-25 12:01:31 +02:00
Fischer Jemison a5ec3f7f55
Use a shorter timeout for AWS EC2 metadata requests (#1089)
* Use a shorter timeout for AWS EC2 metadata requests

Fix #1088 

According to the docs, the value for `timeout` is in seconds: https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen. 1000 seconds seems slow and in some cases can block the startup of the program being instrumented (see #1088 as an example), because the request will hang indefinitely in non-AWS environments. Using a much shorter 1 second timeout seems like a reasonable workaround for this.

* add changelog entry for timeout change

* use 5s timeout for ECS and EKS, update changelog

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-05-24 14:48:43 +02:00
Diego Hurtado 10659f8970
Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
Diego Hurtado 9cb853e522
Use public metrics (#1093) 2022-05-17 09:36:08 +05:30
Mike Juarez 80969a06da
use sqlalchemy module name not engine. fixes #922 (#1086) 2022-05-11 15:08:19 +05:30
Aaron Abbott 3e67893cba
Update system metrics callbacks to accept CallbackOptions (#1084) 2022-05-10 21:52:58 +05:30
Ben Sully fa56c6c09f
Instrument redis.asyncio clients (#1076) 2022-05-05 06:39:29 +05:30
Aaron Abbott 2671ff53c8
Update system metrics to work with new metrics imports (#1075) 2022-04-29 10:05:15 +05:30
Nina Stawski a8edcf6a52
Make span attributes available to sampler in aiohttp_client (#1072) 2022-04-29 02:17:30 +05:30
Alex Boten 9e539391b2
[opentelemetry-instrumentation] add version flag (#1065) 2022-04-27 22:30:14 +05:30
Ashutosh Goel 6f620ee142
Refactoring custom header collection API for consistency (#1064) 2022-04-27 11:05:03 +05:30
Jakub Wach fedf9448c0
Fixes issue with headers not being a dict in AWS lambda instr (#1055) 2022-04-25 18:59:20 +05:30
Srikanth Chekuri b6964ccf3a
Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
Srikanth Chekuri 328e16f3f1
Remove datadog exporter from tox (#1069) 2022-04-22 01:38:13 +05:30
Diego Hurtado 9e0c2ce662
Rename Measurement to Observation (#1061) 2022-04-21 23:45:49 +05:30
Aaron Abbott c90935395f
Prune autoinstrumentation sitecustomize module directory from PYTHONPATH immediately (#1066) 2022-04-21 16:22:26 +05:30
Diego Hurtado 2f7a666560
Add Ashutosh Goel and Sanket Mehta to approvers (#1062)
* Add Ashutosh Goel and Sanket Mehta to approvers

Fixes #1053
Fixes #1054

* Adding company name for ashu658

* adding company name for sanketmehta28

Co-authored-by: Ashutosh Goel <39601429+ashu658@users.noreply.github.com>
Co-authored-by: sanket Mehta <sankmeht@cisco.com>
2022-04-20 10:11:18 -06:00
Leighton Chen 9ad41552b1
script (#1059) 2022-04-19 13:28:30 -06:00
Sanket Mehta 26a8aa184f
Starlette: capture custom request response headers in span attributes (#1046) 2022-04-18 23:42:38 +05:30
Leighton Chen 3ca7e7a5a3
Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
Leighton Chen 3690006954
Fix callbacks in system metrics instrumentation (#1057) 2022-04-15 20:55:52 +00:00
RJ Duffner abdd25f644
Add falcon version 1.4.1 support to opentelemetry-instrumentation-falcon (#1000) 2022-04-16 01:54:22 +05:30
Ken Robbins 4ad7592256
pyramid: Fix which package is the correct caller in _traced_init. (#830) 2022-04-15 03:18:09 +05:30
Nikolay Gribanov 9d14265911
Fix Tornado errors mapping to 500 (#1048) 2022-04-13 10:08:42 -07:00
Dipto Chakrabarty e9f83e1292
make span attribute available to urllib (#1014) 2022-04-12 20:37:46 +05:30
Ashutosh Goel 7deea055dd
Add docs to capture HTTP request/response headers (#1038) 2022-04-12 00:10:59 +05:30
Sanket Mehta 45448f8bb2
FastAPI: capture custom request response headers in span attributes (#1032) 2022-04-11 11:10:26 -07:00
Alex Boten 0fdc3c1656
[docs] update maintainers (#1045) 2022-04-09 01:16:44 +05:30
Ashutosh Goel 229dc4561f
Pyramid: Capture custom request/response headers (#1022) 2022-04-08 22:00:03 +05:30
Srikanth Chekuri d76066893b
Pin bleach to 4.1.0 (#1044) 2022-04-08 08:56:09 -07:00
Alex Boten 40c1805b11
`opentelemetry-instrumentation-system-metrics` restore package (#1012) 2022-04-06 10:54:22 -07:00
RJ Duffner b8cad79113
Update pymemcache instrumentation to support pymemcache version >= 1.3.5 (#935) 2022-04-06 08:55:51 -07:00
Srikanth Chekuri dbc3073bd2
Temporarily disable benchmarks workflow (#1031) 2022-04-05 12:40:11 -07:00
Sanket Mehta b1e94d6a6b
Django: Capture custom request/response headers (#1024) 2022-04-05 12:05:48 -07:00
Srikanth Chekuri 36ba621226
Fix multiple import errors (#1030) 2022-04-05 09:31:19 -07:00
Greg Buehler d1f3d51885
Pyramid handle non-HTTPException (#1001) 2022-04-01 10:56:38 -07:00
Sanket Mehta b1bf8d4a54
code change to add custom http and websocket request and response hea… (#1004)
* code change to add custom http and websocket request and response headers as span attributes. Issue: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/919

* adding entry to changelog

* changes after running "tox -e generate" locally

* - added server_span.is_recording() in _get_otel_send() just to make sure the span is recording before adding the attributes to span.
- changed span to current_span to make sure attributes are being added to proper span.

* removed commented code

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-28 19:05:08 -06:00
rahulgupta92 f8b877eebc
Update .instrument() call signature response_hook argument name in the header comments (#1015)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-28 11:36:42 -06:00
zhutianyu db478789e4
bugfix: correct generate search span_name (#1018) 2022-03-24 10:56:52 -07:00
rahulgupta92 8727bc3374
Correct minor typos in the codebase (#1019)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-22 23:20:48 -06:00
Patrice Chalin 1bb3dcf385
Update README.md (#1013)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2022-03-21 11:04:33 -07:00
Ashutosh Goel 59ca95d12f
Falcon: Capture request/response headers as span attributes (#1003) 2022-03-21 10:23:06 -07:00
Thiyagu55 e861b93362
Extending SQLCommenter support of dbapi into psycopg2 (#940)
* Added configuration for sqlcommenter

* Fixed linting errors

* Updated CHANGELOG.md

* Unit test case for sqlcommenter in psycopg2

* Merge conflict resolved

* Update CHANGELOG.md

* psycopg2 sqlcommenter integration test

* linting changes

* linting changes

* linting changes

* linting changes

* linting changes

* version compatability issue fix

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2022-03-17 19:19:30 -06:00