1533 Commits

Author SHA1 Message Date
6af37e9fd8 fix: unquote peer ip (#1315) 2022-09-07 01:28:21 +05:30
8107ad474b Update README.md (#1257) 2022-09-01 11:15:35 -07:00
18e056b85a Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
934af7ea4f aiohttp-client: Fix producing additional spans with each newly created ClientSession (#1246) 2022-08-27 13:03:28 +05:30
03d97ffaf9 Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
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
7382b5eed9 Restore metrics in django (#1208) 2022-08-24 20:25:32 +05:30
c2f9ebe382 fix typo in example codes (#1240) 2022-08-24 10:53:20 +05:30
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
7625b82dff Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
v0.33b0
2022-08-09 21:32:17 +02:00
4d73a6b003 Fix Flask instrumentation doc link (#1216) 2022-08-09 06:14:23 +00:00
be964036ae Feature/metrics instrumentation urllib3 (#1198) 2022-08-09 05:49:55 +00:00
cbf005be6f Metric instrumentation asgi (#1197) 2022-08-08 23:27:16 +05:30
ebe6d1804b Metrics instrumentation flask (#1186) 2022-08-05 07:47:14 +00:00
14077a95c5 Adding sqlalchemy native tags in sqlalchemy commenter (#1206) 2022-08-04 18:43:12 +05:30
04f4fe5076 ci: fix docs workflow failure (#1211) 2022-08-04 13:02:14 +02:00
fbac424515 Add psycopg2 native tags to sqlcommenter (#1203) 2022-07-30 05:14:47 +05:30
7c75b3867b SQLCommenter semicolon bug fix (#1200) 2022-07-22 07:52:40 +05:30
d75194aed7 Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
2ce69a668f Add span for connection phase (#1134) 2022-07-17 21:09:15 +05:30
9e2dbecedc Adding multiple db connections support for django-instrumentation's sqlcommenter (#1187) 2022-07-14 15:59:34 +05:30
2eb86e06f9 [chore] update approvers list (#1191) 2022-07-12 00:47:11 +05:30
127518bb55 Adding sungwonh to component owners for redis (#1188) 2022-07-07 18:24:03 +02:00
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
ee4083982f Release 1.12.0rc2-0.32b0 (#1174) v0.32b0 2022-07-04 15:14:50 +02:00
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
ff412c6d40 Added aio-pika instrumentation (#1095) 2022-07-02 19:10:09 +05:30
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
e267ebc645 Feat: instrument aiohttp with trace_configs argument (#1079) 2022-06-26 17:47:01 +05:30
f7fd1e0693 Restoring metrics in requests (#1110) 2022-06-25 07:09:01 +05:30
0007c9046c Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
6503cdf2fe Fix HTTP instrumentation not being suppressed (#1116) 2022-06-20 13:16:51 -07:00
62e0a31ff9 Pyramid: only categorize 500 exceptions as errors (#1137) 2022-06-17 03:37:34 +05:30
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
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
904f2f1332 system-metrics: fix typo in default configuration (#1135) 2022-06-15 09:42:20 -07:00
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
51ba801bfd Set OTLP grpc as the default metrics exporter for auto-instrumentation (#1127) 2022-06-10 03:05:44 +05:30
ad15f7bc82 Logging instr hook (#1117) 2022-06-09 14:12:54 +05:30
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
f275e24925 Pass a list of metric readers (#1124)
Fixes #1123
2022-06-08 17:41:27 +01:00
6876ad857f Refactor TracedConnectionProxy (#1097)
* Refactor TracedConnectionProxy

Fixes #1077

* Remove unecessary methods
2022-06-07 18:20:59 +01:00
8afbce7533 Fixing inescapable character bug for Windows path string (#1100) 2022-06-04 02:54:50 +05:30
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
5f7c293e0f Add instrumentation for remoulade (#1082) 2022-05-31 14:05:41 -07:00
c6f9dcd359 sphinx (#1115) 2022-05-31 12:24:44 -07:00
100ecfeb08 updated type hints for getters and setters (#1106) 2022-05-29 06:02:14 +05:30
f7409b8b98 Typo fix: caputre => capture (#1108) 2022-05-27 11:27:40 +05:30
9d57a4c3ec Narrow protobuf dependency to exclude protobuf >= 4 (#1109) 2022-05-27 01:18:24 +05:30
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