Commit Graph

2153 Commits

Author SHA1 Message Date
Diego Hurtado f0d8cb39e9
Generate workflow files with a Jinja template (#2687)
* Generate workflow files with a Jinja template

Fixes #2686

* Remove sudo from allowlist_externals

* Update workflows

* Add condition to skip generate-workflows

* Update workflows

* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/test.yml.j2

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/lint.yml.j2

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/contrib.yml.j2

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* Update workflows

* Update workflows

---------

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-08-06 16:27:38 -06:00
Leighton Chen 2a707bccce
Bump version for aws propagator and aws sdk extension for release (#2773) 2024-08-05 10:43:04 -07:00
Riccardo Magliocchetti 8bfae49a7a
requirements: sync grpcio test requirements (#2777) 2024-08-05 10:18:56 -07:00
Ben Beasley 76919d3089
Loosen fastapi-slim version bound to be like the one for fastapi (#2775) 2024-08-05 10:04:48 -07:00
Riccardo Magliocchetti aeac52301a
tox: run tests for real for fastapislim (#2771) 2024-08-05 09:45:13 -07:00
Joshua Fenton 0d28c8b978
Increase test coverage of instrumentation-aws-lambda (#2760) 2024-08-05 09:10:37 -07:00
Emídio Neto ca0dd50c43
bump zipp (#2770) 2024-08-02 14:31:06 -07:00
RJ Duffner 265490fc78
kafka-python Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)
* Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation

* Make kafkapython-ng run tests
2024-08-02 12:59:17 -06:00
Samuel Colvin 3e18560228
feat: add header extraction parameters to `FastAPIInstrumentor().instrument_app` (#2241)
* add header parameters to FastAPIInstrumentor().instrument_app

* add changelog

* move #2072 changelog to unreleased

* remove accidental pprint

* linting

* future annotations for fastapi

* same logic for instrument()

* Fix lint

* Fix test case

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-01 16:15:34 -06:00
Malcolm Rebughini c3e9f75fb9
fix(opentelemetry-instrumentation-celery): attach incoming context on… (#2385)
* fix(opentelemetry-instrumentation-celery): attach incoming context on _trace_prerun

* docs(CHANGELOG): add entry for fix #2385

* fix(opentelemetry-instrumentation-celery): detach context after task is run

* test(opentelemetry-instrumentation-celery): add context utils tests

* fix(opentelemetry-instrumentation-celery): remove duplicated signal registration

* refactor(opentelemetry-instrumentation-celery): fix lint issues

* refactor(opentelemetry-instrumentation-celery): fix types and tests for python 3.8

* refactor(opentelemetry-instrumentation-celery): fix lint issues

* refactor(opentelemetry-instrumentation-celery): fix lint issues

* fix(opentelemetry-instrumentation-celery): attach context only if it is not None

* refactor(opentelemetry-instrumentation-celery): fix lint issues
2024-08-01 15:33:29 -06:00
Daniel Torok 4ea9e5a99a
Fixing w3c baggage support in opentelemetry-instrumentation-aws-lambda (#2589)
* Fixing w3c baggage support in opentelemetry-instrumentation-aws-lambda

* Changelog update

* Passing context not needed

* Fixing unit test after rebase
2024-08-01 15:24:18 -06:00
Emídio Neto fa6a36b8ef
CONTRIBUTING: note to discourage additional contributions that pertain to old HTTP semantic conventions (#2765) 2024-08-01 13:23:06 -07:00
Riccardo Magliocchetti 32e6f6da92
instrumentation/fastapi: fix fastapi-slim support (#2756) 2024-08-01 11:56:41 -07:00
Omar Abdelkader dab664c06e
feat(mysql): add support for mysql-connector-python v9 (#2751) 2024-07-31 10:20:08 -07:00
Diego Hurtado bfcb16b3c0
Update CORE_REPO_SHA (#2755)
Fixes #2754
2024-07-30 14:23:35 -06:00
Leighton Chen c87ffd4a35
HTTP semantic convention stability migration for urllib (#2736) 2024-07-30 11:28:31 -07:00
Ronald d563f8d841
refactor: avoid exception when lambda_handler envs not present in aws-lambda instrumentation (#2750) 2024-07-30 10:53:08 -07:00
Vamsi Kocherla 1c8d8ef536
added conditional calling of `unary_unary` etc functions in `_InterceptorChannel` (#2484) 2024-07-30 10:26:27 -07:00
Leighton Chen b65f67ded5
Re-add `http.target` to Django old sem conv server duration metric (#2746) 2024-07-30 09:55:28 -07:00
Emídio Neto 35cc6f2854
add missing tests to urllib3 after semconv migration (#2748) 2024-07-30 09:43:13 -07:00
Diego Hurtado dbfa6818bf
Add missing requirements and test processor baggage in CI (#2717)
* Add missing requirements and test processor baggage in CI

Fixes #2716

* Add SDK dependency
2024-07-29 16:37:44 -06:00
Leighton Chen 33ad0dc012
Include dummy version upload as part of contributing process to mitig… (#2747) 2024-07-29 11:57:36 -07:00
Emídio Neto c45a6201e2
remove unecessary packages for sqlalchemy tests (#2742) 2024-07-26 09:51:12 -07:00
Emídio Neto 5a48824f4f
Update pyproject.toml (#2740) 2024-07-26 08:13:17 -07:00
Leighton Chen 26ab80925f
Remove extra duration check in fastapi test (#2743) 2024-07-26 08:04:09 -07:00
Pavel Perestoronin 4f985196c6
feat(urllib3)!: refactor request hook parameters (#2711) 2024-07-25 15:08:26 -07:00
Leighton Chen 6690ecc441
add srprash as component owner of aws extension (#2741) 2024-07-25 11:39:17 -07:00
OpenTelemetry Bot 68b20f96c5
Update version to 1.27.0.dev/0.48b0.dev (#2728)
* Update version to 1.27.0.dev/0.48b0.dev

* Update SHA and fix test cases

* Update SHA

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-24 21:18:49 -06:00
Diego Hurtado a47810c2a2
Enable global propagator for AWS instrumentation (#2599)
* Enable global propagator for AWS instrumentation

Fixes #2598

* Add entry point test case

* Update instrumentation/opentelemetry-instrumentation-aws-lambda/pyproject.toml

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

* Add test for propagator

* Fix entry point name

* Update instrumentation/opentelemetry-instrumentation-aws-lambda/tests/test_aws_lambda_instrumentation_manual.py

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* Try with ubuntu latest

* Try with 24.04

* Fix propagator key

* Fix lint

* Revert ununtuns

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-07-24 14:55:21 -06:00
Emídio Neto e799a74bbe
fix schema url in instrumentation tests (#2730)
* fix schema url in instrumentation tests

* change core repo sha for test

* Update CORE_REPO_SHA

* Try removing cache

* Clear cache here as well

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-23 17:09:30 -06:00
Emídio Neto 92da527977
HTTP semantic convention stability migration for urllib3 (#2715) 2024-07-23 10:09:11 -07:00
Zhihan Li 38e4ea4a24
Teach fastapi instrumentation about fastapi-slim (#2702) 2024-07-23 09:31:33 -07:00
CC 948b47d43c
Add NoOpTraceProvider test for opentelemetry-instrumentation-logging (#2649) 2024-07-23 08:54:01 -07:00
Emídio Neto cc52bd2729
Fix http clients method attribute in case of non standard http methods (#2726) 2024-07-22 12:56:22 -07:00
Leighton Chen 910d5ec281
HTTP semantic convention stability migration for django (#2714) 2024-07-22 12:02:35 -07:00
GonzaloGuasch a322a0a26b
flask: add `http.target` and `http.route` to metric attributes (#2621) 2024-07-22 09:33:40 -07:00
Riccardo Magliocchetti 6594cdf053
resource/azure: make the version of opentelemetry-instrument more relaxed (#2725) 2024-07-22 09:16:46 -07:00
Leighton Chen fa23d8a7a0
Re-add `opentelemetry-instrumentation-aiohttp-server` to release script (#2722)
* Update .pylintrc

* Update build.sh
2024-07-18 17:47:07 -06:00
Chris Guidry 05073008a3
Re-raise `redis.WatchError`s when they occur (#2721) 2024-07-18 10:11:04 -07:00
Emídio Neto e6c27e0800
Add support to instrument httpx when using proxy (#2664) 2024-07-17 10:46:31 -07:00
Diego Hurtado 5a7935ff1f
Deprecate sklearn instrumentation (#2708)
Fixes #2176
2024-07-16 14:20:02 -06:00
Emídio Neto 24bc71eb2e
Remove package install from aiopg instrumentation (#2712)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-16 13:57:38 -06:00
Alex Hall f8f58ee411
Add `http.target` to Django duration metric attributes (#2624) 2024-07-16 11:06:59 -07:00
Emídio Neto 7e48ee7254
HTTP semantic convention stability migration for aiohttp-client (#2673) 2024-07-15 13:49:35 -07:00
Artur Smęt 7c7a2a4312
Add documentation for request/response hooks for requests instrumentor (#2704) 2024-07-15 10:24:16 -07:00
Zhihan Li 7567efa341
Handle redis.exceptions.WatchError as a non-error event in instrumentation (#2668) 2024-07-15 10:09:36 -07:00
Riccardo Magliocchetti 432d6f570c
instrumentation/django: bump django 4.2 to 4.2.14 (#2700) 2024-07-15 09:54:14 -07:00
Riccardo Magliocchetti 6bc48be45a
exporter/prometheus-remote-write: bump certifi to latest (#2701)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-07-12 17:34:34 -06:00
Gustavo Carvalho 15f3b97d5a
Improved Test Coverage for HTTP Utility's IP Setting Functionality (#2693) 2024-07-12 15:44:44 -07:00
Leighton Chen 6293d6a991
HTTP semantic convention stability migration for fastapi (#2682) 2024-07-12 11:48:04 -07:00