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
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
10659f8970
Release 1.12.0rc1-0.31b0 ( #1094 )
v0.31b0
2022-05-17 13:18:55 -06:00
9cb853e522
Use public metrics ( #1093 )
2022-05-17 09:36:08 +05:30
80969a06da
use sqlalchemy module name not engine. fixes #922 ( #1086 )
2022-05-11 15:08:19 +05:30
3e67893cba
Update system metrics callbacks to accept CallbackOptions ( #1084 )
2022-05-10 21:52:58 +05:30
fa56c6c09f
Instrument redis.asyncio clients ( #1076 )
2022-05-05 06:39:29 +05:30
2671ff53c8
Update system metrics to work with new metrics imports ( #1075 )
2022-04-29 10:05:15 +05:30
a8edcf6a52
Make span attributes available to sampler in aiohttp_client ( #1072 )
2022-04-29 02:17:30 +05:30
9e539391b2
[opentelemetry-instrumentation] add version flag ( #1065 )
2022-04-27 22:30:14 +05:30
6f620ee142
Refactoring custom header collection API for consistency ( #1064 )
2022-04-27 11:05:03 +05:30
fedf9448c0
Fixes issue with headers not being a dict in AWS lambda instr ( #1055 )
2022-04-25 18:59:20 +05:30
b6964ccf3a
Release 1.11.1-0.30b1 ( #1067 )
v0.30b1
2022-04-22 02:29:17 +05:30
328e16f3f1
Remove datadog exporter from tox ( #1069 )
2022-04-22 01:38:13 +05:30
9e0c2ce662
Rename Measurement to Observation ( #1061 )
2022-04-21 23:45:49 +05:30
c90935395f
Prune autoinstrumentation sitecustomize module directory from PYTHONPATH immediately ( #1066 )
2022-04-21 16:22:26 +05:30