48 Commits

Author SHA1 Message Date
6245fb833c Use UV to install all needed packages locally (#3124)
* Use UV to install all needed packages locally

* Add opentelemetry-test-utils

* Add asgi and fastapi

* Add more projects, since it helped me

* add urllib

* Add system metrics

* Add dbapi and sqlite3

* Add sqlalchemy

* add pyramid

* Add pymongo

* Add jinja2

* add lock file

* add falcon as well

* Add uv lock to the pre-commit

* Update uv.lock

* Update lockfile

* remove xray test dependencies

* Add otel-sdk to xray

* Update uv version

* Drop xray from the list of packages

---------

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2025-02-20 17:04:31 -05:00
9b217bb4ff introducing tox-uv for real (#3185)
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
2025-01-17 17:33:52 +01:00
59894979ef [chore] Removed $ from command for contribution guidance (#3114)
The copy in markdown file always copy the $ as well when copying the command,
I need to remove the $ manually each time.

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-23 14:02:02 +00:00
1ddba1b518 contributing: add guidance on how to update package versions support (#3090)
* contributing: add guidance for update package versions support

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* update the guide

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md to add docs instructions

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-18 18:05:29 +01:00
9cf26836bd CONTRIBUTING: notes abount adding doc for new instrumentation (#3064)
* CONTRIBUTING: notes abount adding doc for new instrumentation

While at it revise the versioning paragraph to take into account the
openai instrumentation.

* Reword doc paragraph

* Update CONTRIBUTING.md

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

* Add autodoc template

* Add notes about tox

---------

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-12-04 08:27:56 +00:00
66a6780721 Add generate-workflows usage to CONTRIBUTING (#2977) 2024-11-11 10:53:42 -08:00
46b14662f8 adding gyliu513 as genai reviewer (#2972) 2024-11-07 16:07:33 -08:00
3109724f48 Add genai contributing guidance (#2944) 2024-11-04 06:18:11 -08:00
0adc58b4bf Introducing ruff as linter and formatter (basic setup) (#2921) 2024-10-23 10:54:14 -07:00
9cced9757a CONTRIBUTING: add a note about instrumentation versioning and depdendencies (#2851) 2024-09-04 10:45:06 -07:00
5a0540ba8b Remove references to test.yml (#2830)
* Remove references to test.yml

Fixes #2829

* Update scripts/update_sha.py

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

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-08-27 18:08:00 +00:00
fb75ac05d8 replaced broken link (#2815) 2024-08-23 12:15:29 -07:00
fa6a36b8ef CONTRIBUTING: note to discourage additional contributions that pertain to old HTTP semantic conventions (#2765) 2024-08-01 13:23:06 -07:00
33ad0dc012 Include dummy version upload as part of contributing process to mitig… (#2747) 2024-07-29 11:57:36 -07:00
43dfc73c4c add sync and async test guide at contributing.md (#2694) 2024-07-11 09:34:59 -07:00
5ff46ac9d1 Move benchmarks outside of tests directory (#2670)
Fixes #2669
2024-07-09 17:17:00 -06:00
7f7c0f31fe Use python baseline for pylint (#2636) 2024-06-26 12:35:11 -07:00
ff17c79c16 Update contributing guide and remove test instructions from readme (#2632) 2024-06-25 09:54:48 -07:00
b776ac92a8 Update CONTRIBUTING.md (#2620) 2024-06-20 10:06:14 -07:00
ab0ea0e0f9 Add support for python 3.12 (#2572) 2024-06-10 12:49:10 -07:00
0216a9644a CONTRIBUTING: Make it more explicit you need to sign the CLA (#2582) 2024-06-07 09:14:21 -07:00
46d2ce6ace Reinstate tox -e lint (#2482) 2024-05-10 09:51:32 -07:00
2a174b2543 CONTRIBUTING: introduce pre-commit (#2479) 2024-05-02 10:11:02 -07:00
5116305f77 Separate lint into several jobs (#2467)
* Separate lint for flask

* Seaparate lint for resource-detector-container

* Add linting workflow

* Update contributing documentation

* Fix lint workflow

* Add fix for resource-detector-container

* Separate lint for sdk-extension-aws

* Separate lint for distro

* Separate lint for opentelemetry-instrumentation

* Separate lint for aiohttp-client

* Separate lint for aiohttp-server

* Separate lint for aiopg

* Separate lint for aws-lambda

* Separate lint for botocore

* Separate lint for boto3sqs

* Separate lint for django

* Separate lint for dbapi

* Separate lint for boto

* Separate lint for elasticsearch

* Separate lint for falcon

* Separate lint for fastapi

* Separate lint for urllib

* Separate lint for urllib3

* Separate lint for requests

* Separate lint for starlette

* Separate lint for jinja2

* Seaparate lint for logging and richconsole

* Separate lint for prometheus-remote-write

* Separate lint for mysql

* Separate lint for mysqlclient

* Separate lint for psycopg2

* Separate lint for psycopg

* Separate lint for pymemcache

* Separate lint for pymongo

* Separate lint for pymysql

* Separate lint for pyramid

* Separate lint for asgi

* Separate lint for asyncpg

* Separate lint for sqlite3

* Separate lint for wsgi

* Separate lint for grpc

* Separate lint for sqlalchemy

* Separate lint for redis

* Separate lint for remoulade

* Separate lint for celery and sklearn

* Separate lint for system-metrics

* Separate lint for threading

* Separate lint for tornado

* Separate lint for tortoiseorm

* Separate lint for httpx

* Separate lint for propagator-aws-xray

* Remove lint

* Separate lint for propagator-ot-trace

* Separate lint for sio-pika

* Separate lint for aio-pika

* Fix aio and sio pika

* Separate lint for kafka-python

* Separate lint for confluent-kafka

* Separate lint for asyncio

* Separate lint for cassandra

* Separate lint for processor-baggage

* Remove lint test environment

* Rename lint workflow file

* Fix sio-pika lint testing package path

* More fixes

* Fix linting for opentelemetry-instrumentation

* Add section for linting with 3.8

* Add missing lint install command for elasticsearch

* Sorted packages
2024-04-30 09:05:49 -05: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
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
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
6c13a5eddc Drop support for 3.7 (#2152)
* Drop support for 3.7

Fixes #2151

* Remove 37
2024-02-03 11:57:08 -06:00
773e431bf5 Add a note about system dependencies for instrumentation pkgs (#2068)
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-11-21 09:01:04 +00:00
cae6ce46ec Refactor CODEOWNERS file (#1804)
* Refactor CODEOWNERS file

Fixes #1803

* Remove CODEOWNERS

* Refactor component owners configuration

* Refactor CODEOWNERS to select any file but the ones in instrumentation

---------

Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-05-22 17:19:50 -06:00
fc738c04a6 Pin tox version (#1480) 2022-12-08 16:39:48 -06:00
c613484390 Remove mention to eachdist (#1445) 2022-11-17 10:45:34 -08:00
6753c872d2 Update tooling (#1330) 2022-09-15 23:42:49 +05:30
18e056b85a Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
78f887ef3d Better file naming for AWS XRay Propagator + Add NathanielRN as Propagator owner (#729) 2021-10-12 19:08:16 +00:00
d2984f5242 remove need to clone core repo (#678) 2021-09-27 20:28:32 +00:00
de93b2ad28 Update CONTRIBUTING document (#417)
Co-authored-by: alrex <aboten@lightstep.com>
2021-06-25 09:03:15 -07:00
5d1f3201af Simplify bootstrap and generate code (#514)
- We now automatically generate bootstrap_gen.py file from the list of instrumentations present in the source tree.
- Bootstrap command now uses consumes this auto-generated list instead of keeping it's own local copy.
- We no longer uninstall packages before installing them as instrumentation package no longer specify libraries as dependencies so the edge cases are no longer there.
- We no longer try to install an incompatible version or force upgrade/downgrade an installed version. This used to leave systems in broken states which should happen no more.
2021-06-01 09:19:09 -07:00
884c5eea13 Add an excerpt in CONTRIBUTING.MD for consistency in instrumentation implementations (#507) 2021-05-25 10:31:10 -07:00
01db88bfe8 Add expectation excerpt in contributing.md for instrumentations (#482) 2021-05-03 14:51:26 -07:00
28e410c1fa Remove gitter from docs (#349)
Co-authored-by: alrex <alrex.boten@gmail.com>
2021-02-26 08:24:10 -08:00
499899a601 remove reference folder (#326) 2021-02-09 09:54:41 -08:00
f022385e37 update references to main (#306) 2021-01-29 12:09:22 -08:00
4b830771d5 Only commit benchmark results to master folder (#250) 2020-12-14 14:16:11 -08:00
91bfc9afe5 Add performance tests to AWS SDK Extension (#243) 2020-12-11 11:22:17 -08:00
3ae0edb259 Update package links to point to contrib repo 2020-11-18 13:09:44 -08:00
daf01cc93f documentation on what entries require a changelog
There were questions regarding what situations require a changelog.

The intent of this change is to make the changelog requirements more
easily discoverable and clear.
2020-11-10 21:33:13 -08:00
2ba7927ec1 updating readme, adding contributing doc 2020-04-14 14:37:56 -07:00