Commit Graph

1529 Commits

Author SHA1 Message Date
Diego Hurtado 03d97ffaf9
Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
Rahul Kumar 85e532816c
Added the Licence and Manifest file
Co-authored-by: Sunil Sunilshidrayi.wali@fmr.com
Co-authored-by: Rahuldimri rahul.dimri@fmr.com
2022-08-25 12:39:44 +05:30
Sanket Mehta 7382b5eed9
Restore metrics in django (#1208) 2022-08-24 20:25:32 +05:30
Yoshi Yamaguchi c2f9ebe382
fix typo in example codes (#1240) 2022-08-24 10:53:20 +05:30
Mario Jonke f48b3136c4
boto3sqs: Make propagation compatible with other instrumentations and add 'messaging.url' span attribute (#1234)
* boto3sqs: Fix various issues

* do not use 'otel' prefix for propagation keys to make propagation
  compatible with other SQS instrumentations like Node.Js
  Inject propergator.fields keys into the MessageAttributeNames argument
  for 'receive_message' calls to retreive the corresponding message attributes
* add 'messaging.url' span attribute to SQS spans
* add boto3sqs instrumentation to tox.ini to run tests in CI
* add some basic unit tests

* changelog

* fix linting issues

* unset instrumented flag on uninstrument
2022-08-23 09:29:58 +02:00
Diego Hurtado 7625b82dff
Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
2022-08-09 21:32:17 +02:00
Thomas Stringer 4d73a6b003
Fix Flask instrumentation doc link (#1216) 2022-08-09 06:14:23 +00:00
Shalev Roda be964036ae
Feature/metrics instrumentation urllib3 (#1198) 2022-08-09 05:49:55 +00:00
Anshul Asawa cbf005be6f
Metric instrumentation asgi (#1197) 2022-08-08 23:27:16 +05:30
Anshul Asawa ebe6d1804b
Metrics instrumentation flask (#1186) 2022-08-05 07:47:14 +00:00
Thiyagu55 14077a95c5
Adding sqlalchemy native tags in sqlalchemy commenter (#1206) 2022-08-04 18:43:12 +05:30
Srikanth Chekuri 04f4fe5076
ci: fix docs workflow failure (#1211) 2022-08-04 13:02:14 +02:00
Thiyagu55 fbac424515
Add psycopg2 native tags to sqlcommenter (#1203) 2022-07-30 05:14:47 +05:30
Thiyagu55 7c75b3867b
SQLCommenter semicolon bug fix (#1200) 2022-07-22 07:52:40 +05:30
Srikanth Chekuri d75194aed7
Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
shahargl 2ce69a668f
Add span for connection phase (#1134) 2022-07-17 21:09:15 +05:30
Thiyagu55 9e2dbecedc
Adding multiple db connections support for django-instrumentation's sqlcommenter (#1187) 2022-07-14 15:59:34 +05:30
Alex Boten 2eb86e06f9
[chore] update approvers list (#1191) 2022-07-12 00:47:11 +05:30
Leighton Chen 127518bb55
Adding sungwonh to component owners for redis (#1188) 2022-07-07 18:24:03 +02:00
Sungwon Han 8823655b1c
Instrument RedisCluster clients (#1177)
* Instrument RedisCluster clients

* reformat files

* update changelogs

* refactor _traced_execute_pipeline

* handle AttributeError

* handle IndexError

* refactor _traced_execute_pipeline

* move hasattr check to _set_connection_attributes function

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-07-07 15:00:09 +02:00
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Nikolay Sokolik 927565e23a
Change the entry for boto3sqs to work with auto instrumentation (#1176)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-07-04 13:53:06 +02:00
ofek1weiss ff412c6d40
Added aio-pika instrumentation (#1095) 2022-07-02 19:10:09 +05:30
Thiyagu55 ac84e9968f
Integrating sql commenter into otel_django_instrumentation (#896)
* Integrating sql commenter into otel_django_instrumentation

* Added test cases for django

* - Linting changes
- Added Changelog

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* PR changes

* PR changes

* Linting changes

* Linting changes

* Linting changes

* Linting changes

* PR changes

* PR changes

* PR changes

* linting changes

* PR changes

* linting changes

* PR changes

* PR changes

* PR changes

* PR changes

* PR changes

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-06-29 12:06:25 +02:00
Nimrod Shlagman e267ebc645
Feat: instrument aiohttp with trace_configs argument (#1079) 2022-06-26 17:47:01 +05:30
Ashutosh Goel f7fd1e0693
Restoring metrics in requests (#1110) 2022-06-25 07:09:01 +05:30
Srikanth Chekuri 0007c9046c
Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
Carol Abadeer 6503cdf2fe
Fix HTTP instrumentation not being suppressed (#1116) 2022-06-20 13:16:51 -07:00
Nina Stawski 62e0a31ff9
Pyramid: only categorize 500 exceptions as errors (#1137) 2022-06-17 03:37:34 +05:30
hemma f03bef2579
Add support to instrument multiple sqlalchemy engines (#1132)
* Override __new__ to instrument multiple engines

* add possibility to instrument mutiple engines

* update changelog

* update return type in doc

* fix CHANGELOG

* format

* fix test

* Check if engines isinstance Sequence

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-06-16 13:44:55 +02:00
Nina Stawski 4ba62140ad
pyramid: Only categorize 400s and 500s exceptions as errors (#1136)
* pyramid: Only categorize 400s and 500s exceptions as errors

* Added changelog entry for the fix

* Added a test for 204
2022-06-16 12:29:15 +02:00
Alex Boten 904f2f1332
system-metrics: fix typo in default configuration (#1135) 2022-06-15 09:42:20 -07:00
Diego Hurtado 99a028360e
Check keys in config before creating instruments (#1129)
* Check keys in config before creating instruments

Fixes #1125

* Fix lint
2022-06-14 15:59:32 +01:00
Aaron Abbott 51ba801bfd
Set OTLP grpc as the default metrics exporter for auto-instrumentation (#1127) 2022-06-10 03:05:44 +05:30
natashz ad15f7bc82
Logging instr hook (#1117) 2022-06-09 14:12:54 +05:30
Diego Hurtado 0bd8e4c7fd
Add psutil dependency (#1121)
* Add psutil dependency

Fixes #1120

* Update instrumentation/opentelemetry-instrumentation-system-metrics/setup.cfg

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

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-06-08 18:12:15 +01:00
Diego Hurtado f275e24925
Pass a list of metric readers (#1124)
Fixes #1123
2022-06-08 17:41:27 +01:00
Diego Hurtado 6876ad857f
Refactor TracedConnectionProxy (#1097)
* Refactor TracedConnectionProxy

Fixes #1077

* Remove unecessary methods
2022-06-07 18:20:59 +01:00
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