5552db2adf
Remove [test] package from asyncio instrumentation ( #2248 )
...
Fixes #2188
2024-03-14 18:32:23 -06:00
1bf9f429e4
Remove [test] package from asgi instrumentation ( #2247 )
...
Fixes #2187
2024-03-14 18:18:52 -06:00
2417c099a0
Remove [test] package from aio-pika instrumentation ( #2244 )
...
Fixes #2186
2024-03-15 00:07:12 +00:00
c54a9d1ad2
Remove [test] package from aiopg instrumentation ( #2243 )
...
Fixes #2185
2024-03-14 17:57:38 -06:00
5b4e5d810a
Remove [test] package from opentelemetry-contrib-instrumentations ( #2318 )
...
Fixes #2236
2024-03-14 23:43:20 +00:00
717d10760a
feat: add importlib metadata default on flask module ( #2302 )
...
* feat: add importlib metadata default
* feat: add importlib metadata default
* feat: add importlib metadata default
* Fix lint
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-03-14 15:56:32 -06:00
3273d8c39f
Fix asyncio related warnings in tests ( #2335 )
...
* aiopg: fix runtime warnings when running tests
Fixes:
RuntimeWarning: coroutine 'MockCursor.execute' was never awaited
cursor.execute(query)
* aio-pika: no need to return an awaitable in mocked method
No need to return an awaitable since the mocked method awaits
itself.
Fixes:
RuntimeWarning: coroutine 'sleep' was never awaited
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-03-14 13:27:18 -06:00
9b3d0b485e
Use set -e to catch errors in all scripts ( #2347 )
2024-03-14 17:29:38 +00:00
af1528d288
chore: fix md based on rules and fix bad links ( #2240 )
...
* chore: fix md based on rules and fix bad links
* chore: add index to contribuiting and readme files
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-03-14 11:36:54 +02:00
aa8ae2efe3
Celery duplicated instrumentation ( #2342 )
...
* * Adding (failing) testcase to cover Issue #2029
* * move Instance variables to class variables. Since the object in question will be a singelton. This will resolve #2029 where multiple calls to the instrumentation will assign Null values.
* * black formatting
* * Changelog stub entry, PR # to follow
* * updating the pullrequest number
* * remove superfluous constructor
* * moving Change log to unreleased section
---------
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-03-14 10:50:04 +02:00
1e0b11f07a
Fix docker test dependencies ( #2345 )
...
Fixes #2344
2024-03-13 16:33:47 -06:00
cb5a07c765
Update README.rst ( #2111 )
...
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-03-13 14:05:31 +02:00
565e78de2c
Fix OpenTelemetry Aio-pika instrumentation link ( #2259 )
2024-03-07 11:56:04 -08:00
2e746198bf
Align gRPC server span status codes to OTEL specs ( #2019 )
2024-03-07 09:33:28 -08:00
46a8c59e03
Refactor use of changedir in tox.ini ( #2332 )
...
Fixes #3745
2024-03-04 11:19:46 -06:00
8daa8ad481
Add instrumentation for Psycopg 3.x ( #2123 )
...
* Add instrumentation for Psycopg 3.x
* Add federicobond to component_owners.yml
2024-02-24 19:35:25 +00:00
1c2171528e
Fix various release scripts aspects ( #2267 )
2024-02-23 10:50:39 -08:00
adfb1c763d
Copy change log updates from release/v1.23.x-0.44bx ( #2265 )
2024-02-23 10:30:37 -08:00
d2d4561593
Update version to 1.24.0.dev/0.45b0.dev ( #2262 )
2024-02-23 10:13:21 -08:00
343d137f95
Skipping certain folders in release script ( #2258 )
2024-02-22 16:12:38 -08:00
565d2e33f4
Remove werkzeug from Flask instrumentation dependencies ( #2257 )
...
Fixes #2256
2024-02-22 17:34:53 -06:00
efb327d4d7
AwsLambdaInstrumentor handles and re-raises handler function exception ( #2245 )
2024-02-22 09:16:34 -08:00
2518a4ac07
Drop obsolete parameterized test dependency ( #2134 )
...
In the test dependencies for `opentelemetry-instrumentation-falcon`,
don’t depend on `parametrized` because `pytest.mark.parametrize` is now
included in `pytest`.
2024-02-14 22:21:14 -06:00
b6492a7999
Feature/asyncio instrumentation ( #1943 )
...
* add asyncio instrumentation
* add asyncio instrumentation
* modify test configure
* modify test configure
* modify tox generate result
* modify tox generate result
* add python version check
* modify test code
* add CHANGELOG.md
* add docs
* modify pyproject.toml
* modify pyproject.toml
* Add comments mentioned in an issue #1919
* Add comments mentioned in an issue #1919
* add asyncio component owner
* - Add instrumentation-asyncio metric.
- Configure coroutines/to_thread func to apply trace via environment variables.
- Apply trace to future using a boolean environment variable.
* modify docs
* modify docs
* modify docs
* modify docs
* modify docs
* modify test_code
* modify test_code
* modify test_code
* modify asyncio version
* modify asyncio version
* update dependency
* modified lint results
* modified lint results
* modified lint results
* modified lint results
* modified lint results
* modified lint results
* modified lint results
* include feedback
* include feedback
* include feedback
* modify docs test results
* Update instrumentation/opentelemetry-instrumentation-asyncio/README.rst
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update instrumentation/opentelemetry-instrumentation-asyncio/README.rst
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update instrumentation/opentelemetry-instrumentation-asyncio/README.rst
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update instrumentation/opentelemetry-instrumentation-asyncio/README.rst
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio/utils.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio/utils.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* include feedback
* include feedback
* drop python 3.7 support
* drop python 3.7 support
* Removed from default_instrumentations
* Recover
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
2024-02-14 15:44:17 -06:00
02e38edc54
Fix azure vm resource detector tests/Suppress instrumentation for urllib call ( #2178 )
2024-02-14 12:51:27 -08:00
1a984d3ba1
Upgrade tox ( #2118 )
...
* Upgrade tox
* fixup! Upgrade tox
* Add excludes
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-02-13 22:33:14 -06:00
03fcc1742d
Remove references to 3.7 ( #2172 )
...
Fixes #2171
2024-02-13 12:55:45 -06:00
d167ef7b43
Fix celery and urllib tests ( #2170 )
...
* Update core SHA
Fixes #2173
* Fix celery and urllib tests
Fixes #2164
2024-02-12 17:54:32 -06:00
8fd2105cea
Update core SHA ( #2163 )
...
Fxes #2162
2024-02-10 07:02:35 -06:00
47caeab7af
Stop multiple calls to AsyncPGInstrumentor.__init__ from clobbering instance attributes ( #1791 )
...
* Stop multiple calls to AsyncPGInstrumentor.__init__ from clobbering instance tracer attribute
* Remove class-level initialisation of _tracer
* Fix regex
* Add to changelog
* Fix lint errors
* Update CHANGELOG.md
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
* Set tracer in class definition to avoid lint error
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-02-05 13:55:24 +02:00
13ce910f14
Fix link to OpenTelemetry kafka-python Instrumentation ( #2147 )
...
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-02-04 09:26:49 +00:00
6c13a5eddc
Drop support for 3.7 ( #2152 )
...
* Drop support for 3.7
Fixes #2151
* Remove 37
2024-02-03 11:57:08 -06:00
c68d0fd192
Add support for confluent_kafka until 2.3.0 version; ( #2132 )
...
* Updated version of supported confluent kafka to 2.3;
* Updated CHANGELOG.md;
---------
2024-01-30 22:48:45 -06:00
3400ecea5d
Remove useless shebangs ( #2135 )
...
These files do not have the executable bit set in their filesystem
permissions (so the shebang line, `#!`, is useless), and they are not
script-like (do not have `if __name__ == "__main__"` or interesting
side-effects), so making them executable would not make sense.
2024-01-30 22:24:33 -06:00
e88bf5f27a
Update opentelemetry-instrument README ( #2108 )
...
* Update opentelemetry-instrument README
- Clarify trace versus metric documentation
- Add console exporter documentation
- Add quotes to command to support zsh
- Fix grammatical errors
* fix typo
* fix typo
* Remove note on HTTP for trace only
---------
2024-01-31 04:01:46 +00:00
4b1a9c75db
feat: configure header extraction for ASGI middleware via constructor params ( #2026 )
...
* feat: configure header extraction for ASGI middleware via constructor params
* fix django middleware
* lint
* remove import
* Fix lint
* Update instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
2024-01-30 21:11:00 -06:00
a93bd74dc3
Increment resource detector version ( #2137 )
2024-01-25 10:05:40 -08:00
743c2fe2d8
Update azure resource detector timeout to 4 seconds ( #2136 )
2024-01-24 10:10:51 -08:00
f2c536ed82
Fix tox factor matching ( #2129 )
...
* Fix tox factor matching
Fixes #2128
* Add missing fixes for several test envs
* Fix django
2024-01-17 17:14:43 -06:00
c9d709a5c4
Feature/support for flask 3.0.0 ( #2013 )
...
* support flask 3.0.0
* support flask 3.0.0
* support flask 3.0.0
* modify tox.ini
* modify Werkzeug version
* modify Werkzeug version
* modify flask test version
* modify flask version
* modify flask version
* modify CHANGELOG.md
* include feedback
* include feedback
* Fix lint and generate
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-01-16 15:45:12 -06:00
42faa1a34a
Separate jobs per instrumentation ( #2121 )
...
* Separate jobs per instrumentation
Fixes #2036
* Separate in 2 workflows
* Added explanation for separation
2024-01-11 13:03:28 -06:00
c2691e049b
Update version.py for release ( #2120 )
2024-01-10 12:41:44 -08:00
588d5d7003
Add 10 second timeout to VM Resource Detector ( #2119 )
2024-01-09 15:02:09 -08:00
14d7779366
Update README.rst ( #2060 )
2024-01-05 20:05:58 +00:00
7c12ad9844
Fix dependency for azure resource detector ( #2072 )
2023-12-22 23:40:32 +00:00
9563ee73ac
Clean up use of suppress_instrumentation in context and fix httpx bug ( #2061 )
...
* Clean up use of suppress_instrumentation in context and fix httpx bug
* Clean up use of suppress_instrumentation in context and fix httpx bug
* changelog
* fix tests
* fix import
* fmt
* update dep
* lint
* remove unused imports
* apply lint
* Fix version for pika
* Fix lint
---------
2023-12-22 22:43:12 +00:00
e5aa74ff7f
Remove URL credentials (httpx integration) ( #2020 )
...
* Remove URL credentials (httpx)
* Add CHANGELOG
2023-12-22 22:03:51 +00:00
d7cc194609
FlaskInstrumentation
doesn't exist (#2070 )
...
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-12-22 21:23:38 +00:00
772063ca8a
Update version to 1.23.0.dev/0.44b0.dev ( #2091 )
...
* Update version to 1.23.0.dev/0.44b0.dev
* Update core SHA
* Update generate
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-12-15 16:54:11 -06:00
b6c11054b9
Fix Falcon dependency ( #2090 )
...
Fixes #2089
2023-12-13 20:58:54 -06:00