2053 Commits

Author SHA1 Message Date
361da3e45e botocore: bump moto to latest (#2605)
So we can bump Werkzeug too.
2024-06-13 16:56:04 -06:00
477b73cd9a requirements: bump requests to 2.32.3 (#2603) 2024-06-12 08:14:11 -07:00
184d8d45b9 Change issue templates to forms (#2602) 2024-06-12 08:02:24 -07:00
da78275a55 increase delta for fastapi flaky test (#2591) 2024-06-11 10:16:18 -07:00
af9675cf04 requirements: bump sqlparse to 0.5.0 (#2595) 2024-06-11 09:44:16 -07:00
20e68e38e7 requirements: bump Jinja2 to 3.1.4 (#2593) 2024-06-11 09:18:56 -07:00
ab0ea0e0f9 Add support for python 3.12 (#2572) 2024-06-10 12:49:10 -07:00
97621523b8 requirements: bump Werkzeug (#2594) 2024-06-10 09:08:14 -07:00
4357c35dd2 requirements: missed pytest and idna bumps (#2592) 2024-06-10 08:59:40 -07:00
3511ed180d requirements: Bump idna to 3.7 (#2583) 2024-06-07 12:54:38 -07:00
0216a9644a CONTRIBUTING: Make it more explicit you need to sign the CLA (#2582) 2024-06-07 09:14:21 -07:00
bc4b0493b9 requirements: bump pytest to 7.4.4 (#2587) 2024-06-07 08:53:22 -07:00
5b841282ab Do not use asgi name and version for tracer/meter for instrumentations using Asgi Middleware (#2580) 2024-06-06 12:52:32 -07:00
bb9eebb73e Fix readme formatting and markdown (#2576) 2024-06-05 15:27:12 -07:00
e306aba7ec removed references to [test] extras from eachdist script (#2578) 2024-06-05 11:35:48 -07:00
95fea2bfa7 Fix running async psycopg tests (#2540) 2024-06-05 11:14:44 -07:00
c06fd1dd53 Update README.rst (#2575) 2024-06-04 09:19:48 -07:00
768694cf75 add processor directory to build.sh (#2574) 2024-06-03 14:20:09 -07:00
ed51ebb312 feat(asgi,fastapi,starlette)!: provide both send and receive hooks with scope and message (#2546) 2024-06-03 10:18:47 -07:00
73d0fa46a9 Copy change log updates from release/v1.25.x-0.46bx (#2571) 2024-05-31 10:00:14 -07:00
55c829b6c4 Update release.yml 2024-05-31 09:04:58 -07:00
0db9dbe311 Update version to 1.26.0.dev/0.47b0.dev (#2568) 2024-05-30 18:48:51 -07:00
dc711e870e Ensure httpx non-client methods are instrumented (#2538)
* Ensure httpx non-client methods are instrumented

* Update changelog

* Added subTest to distinguish tests inside a loop

* Updated changelog

* Add a comment explaining private attribute usage

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-05-30 22:48:22 +00:00
728976fb10 Fix net peer attribute for unix socket connection (#2493) 2024-05-30 14:50:53 -07:00
41792e7bb3 Add confluent kafka producer poll and flush returns (#2527) 2024-05-30 14:27:35 -07:00
7bddbb5419 fix: remove dependency on sdk for system-metrics instrumentation (#2557) 2024-05-29 10:17:50 -07:00
bd9156fff8 Remove unrelated packages from test requirements (#2559)
* botocore: remove random packages from test-requirements

Refs #1736

* boto: remove random packages from test requirements

Refs #1736

* tox: re-enable boto3sqs tests with pypy3

* threading: remove confluent-kafka from test requirements
2024-05-29 09:56:27 -06:00
25e429aaf9 instrumentation: revise BaseDistro.load_instrumentor documentation (#2530) 2024-05-28 16:18:09 -07:00
f7cef14739 distro: decouple default configuration test from environment (#2561) 2024-05-28 14:56:38 -07:00
ac97b00457 Fix typos in test names (#2558) 2024-05-28 14:31:44 -07:00
59a737c285 Add key predicate to baggage span processor (#2535)
* Add key predicate to baggage span processor

* add changelog entry

* fix linting

* more linter fixes

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-05-28 12:49:00 -06:00
88111d0a83 fix(requests): Fix wrong time unit for duration histogram (#2553) 2024-05-28 11:34:28 -07:00
eb8e45695e elasticsearch: don't produce spans if native elasticsearch support is enabled (#2524) 2024-05-24 13:13:37 -07:00
65b4f850a0 Preserve brackets around literal IPv6 hosts (#2552) 2024-05-24 12:06:53 -07:00
e6409568c1 Reenable pylint broad exception (#2536) 2024-05-24 11:12:53 -07:00
c1a51fde96 Pre Python 3.12 enablement fixes (#2529) 2024-05-24 10:57:29 -07:00
78285a5795 Pin codespell version to fix builds (#2550) 2024-05-24 10:49:18 -07:00
66a107fa49 fix(async-io): return coro when __name__ is not present (#2541) 2024-05-23 16:28:50 -07:00
da75015fad fix: Ensure compability with Psycopg3 to extract libpq build version (#2500)
* fix: Ensure compability with Psycopg3 to extract libpq build version

Struggling with getting dbapi and psycopg3 working.

Think this is the error, __libpq_version does not exist on psycopg3

https://github.com/psycopg/psycopg/blob/master/psycopg/psycopg/pq/pq_ctypes.py#L1220

* docs: Add changelog entry

* docs: Fix spelling

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-05-23 12:02:46 +03:00
c28f9b837f Update functions detector readme (#2533) 2024-05-22 10:45:10 -07:00
f4f3042f85 fix(async-io): check for __name__ atribute when tracing coroutine (#2521) 2024-05-21 21:48:54 -07:00
f8758c6902 Implement functions resource detector (#2523)
* Update .pylintrc

* fn

* Update CHANGELOG.md

* commments

* Add deployment.environment to functions detector

* Revert "Add deployment.environment to functions detector"

This reverts commit 5411759711b8bc9976705deb416d5ffd8f65590f.

* Remove deployment.environment from readme

* Release 0.1.5

---------

Co-authored-by: jeremydvoss <jerevoss@gmail.com>
2024-05-16 15:05:21 -06:00
460fc33583 Fix typo in sample code (#2494)
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-05-15 12:52:59 +03:00
d0500c2f8a Add error handling to opentelemetry-bootstrap -a (#2517)
* Revert "Refactor bootstrap generation (#2101)"

This reverts commit 1ee7261ea7117fbd22e2262e488402213a874125.

* Add error handling to opentelemetry-bootstrap -a

Fixes #2516

---------

Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
2024-05-14 15:26:31 -05:00
6a40ffd905 elasticsearch: tests against elasticsearch 8 (#2420)
* elasticsearch: bump handled version to 6.0

After 4de0e5659d451baee65af412242b95f174444d87

* elasticsearch: tests against elasticsearch 8
2024-05-14 14:59:41 -05:00
9b7197d3b9 docs: fix name of response hook signature in botocore instrumentation (#2512) 2024-05-13 10:24:24 -07:00
46d2ce6ace Reinstate tox -e lint (#2482) 2024-05-10 09:51:32 -07:00
eabceff062 Bump jinja2 from 3.1.3 to 3.1.4 (#2503)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-05-09 13:53:12 -05:00
935f51eb8e upgrade pymongo to avoid CWE-125 vulnerability issue (#2497)
Signed-off-by: Yang, Robin <Robin.Yang@fmr.com>
2024-05-09 10:14:08 -05:00
bc804a3b07 Bugfix/check future cancelled (#2461)
* Calling the exception() method when future is in the cancelled state is causing a CancelledError

Calling the exception() method when future is in the cancelled state is causing a CancelledError. we should check the cancelled state first and call f.exception() only if it's not cancelled.

* modify lint

* modify lint

* Update CHANGELOG.md

* remove init()

* add future cancelled test code

* add future cancelled test code

* add future cancelled test code

* add future cancelled test code

* add future cancelled test code

* add future cancelled test code

* lint

* lint

* remove if condition

* modify test code

* lint

* lint

* remove pytest

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-05-07 18:40:21 -05:00