├── opentelemetry-distro ├── tests │ └── __init__.py ├── src │ └── opentelemetry │ │ └── distro │ │ ├── py.typed │ │ └── version.py ├── test-requirements.txt └── README.rst ├── opentelemetry-instrumentation ├── tests │ └── __init__.py ├── src │ └── opentelemetry │ │ └── instrumentation │ │ ├── py.typed │ │ └── version.py └── test-requirements.txt ├── util ├── opentelemetry-util-genai │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── util │ │ └── genai │ │ ├── __init__.py │ │ └── version.py └── opentelemetry-util-http │ ├── tests │ └── __init__.py │ ├── src │ └── opentelemetry │ │ └── util │ │ └── http │ │ ├── py.typed │ │ └── version.py │ └── test-requirements.txt ├── .rstcheck.cfg ├── exporter ├── opentelemetry-exporter-richconsole │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── exporter │ │ └── richconsole │ │ └── version.py ├── opentelemetry-exporter-prometheus-remote-write │ ├── proto │ │ ├── .gitignore │ │ └── README.md │ ├── example │ │ ├── requirements.txt │ │ └── Dockerfile │ ├── test-requirements.txt │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── exporter │ │ └── prometheus_remote_write │ │ └── version.py └── opentelemetry-exporter-credential-provider-gcp │ ├── test-requirements.txt │ └── src │ └── opentelemetry │ └── gcp_credential_provider │ └── version.py ├── propagator ├── opentelemetry-propagator-aws-xray │ ├── tests │ │ └── __init__.py │ ├── benchmark-requirements.txt │ ├── MANIFEST.rst │ ├── test-requirements-1.txt │ ├── CHANGELOG.md │ ├── test-requirements-0.txt │ └── src │ │ └── opentelemetry │ │ └── propagators │ │ └── aws │ │ └── version.py └── opentelemetry-propagator-ot-trace │ ├── tests │ └── __init__.py │ ├── test-requirements.txt │ └── src │ └── opentelemetry │ └── propagators │ └── ot_trace │ └── version.py ├── sdk-extension └── opentelemetry-sdk-extension-aws │ ├── tests │ ├── __init__.py │ └── trace │ │ ├── __init__.py │ │ └── sampler │ │ ├── __init__.py │ │ └── data │ │ ├── get-sampling-targets-response-sample.json │ │ └── test-remote-sampler_sampling-targets-response-sample.json │ ├── benchmark-requirements.txt │ ├── MANIFEST.rst │ ├── test-requirements-1.txt │ ├── test-requirements-0.txt │ └── src │ └── opentelemetry │ └── sdk │ └── extension │ └── aws │ └── version.py ├── .coveragerc ├── instrumentation ├── opentelemetry-instrumentation-asgi │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── asgi │ │ └── version.py ├── opentelemetry-instrumentation-boto │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── boto │ │ ├── version.py │ │ └── package.py ├── opentelemetry-instrumentation-pika │ ├── tests │ │ └── __init__.py │ ├── test-requirements-1.txt │ ├── test-requirements-0.txt │ ├── README.rst │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── pika │ │ └── version.py ├── opentelemetry-instrumentation-wsgi │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── wsgi │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-aio-pika │ ├── tests │ │ └── __init__.py │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── test-requirements-2.txt │ ├── test-requirements-3.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── aio_pika │ │ └── version.py ├── opentelemetry-instrumentation-aiokafka │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── aiokafka │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-aiopg │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── aiopg │ │ └── version.py ├── opentelemetry-instrumentation-asyncpg │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── asyncpg │ │ ├── version.py │ │ └── package.py ├── opentelemetry-instrumentation-boto3sqs │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── boto3sqs │ │ └── version.py ├── opentelemetry-instrumentation-botocore │ ├── tests │ │ ├── __init__.py │ │ └── README.md │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── botocore │ │ │ ├── environment_variables.py │ │ │ ├── version.py │ │ │ └── package.py │ └── examples │ │ └── bedrock-runtime │ │ └── zero-code │ │ ├── requirements.txt │ │ ├── .env │ │ ├── converse.py │ │ └── invoke_model.py ├── opentelemetry-instrumentation-cassandra │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── cassandra │ │ └── version.py ├── opentelemetry-instrumentation-celery │ ├── tests │ │ └── __init__.py │ ├── test-requirements-1.txt │ ├── test-requirements-0.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── celery │ │ ├── version.py │ │ └── package.py ├── opentelemetry-instrumentation-dbapi │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── dbapi │ │ │ ├── py.typed │ │ │ └── package.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-django │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── django │ │ │ ├── middleware │ │ │ └── __init__.py │ │ │ └── version.py │ ├── test-requirements-0.txt │ ├── test-requirements-3.txt │ ├── test-requirements-1.txt │ └── test-requirements-2.txt ├── opentelemetry-instrumentation-falcon │ ├── tests │ │ └── __init__.py │ ├── test-requirements-1.txt │ ├── test-requirements-2.txt │ ├── test-requirements-3.txt │ ├── test-requirements-4.txt │ ├── test-requirements-0.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── falcon │ │ └── version.py ├── opentelemetry-instrumentation-fastapi │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── fastapi │ │ └── version.py ├── opentelemetry-instrumentation-flask │ ├── tests │ │ └── __init__.py │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── test-requirements-2.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── flask │ │ └── version.py ├── opentelemetry-instrumentation-httpx │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── httpx │ │ │ ├── py.typed │ │ │ └── version.py │ ├── test-requirements-1.txt │ └── test-requirements-0.txt ├── opentelemetry-instrumentation-jinja2 │ ├── tests │ │ ├── __init__.py │ │ └── templates │ │ │ ├── base.html │ │ │ └── template.html │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── jinja2 │ │ │ ├── py.typed │ │ │ ├── version.py │ │ │ └── package.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-logging │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── logging │ │ └── package.py ├── opentelemetry-instrumentation-mysql │ ├── tests │ │ └── __init__.py │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── mysql │ │ └── version.py ├── opentelemetry-instrumentation-psycopg │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── psycopg │ │ │ ├── py.typed │ │ │ └── version.py │ ├── test-requirements-1.txt │ └── test-requirements-0.txt ├── opentelemetry-instrumentation-psycopg2 │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ ├── test-requirements-binary.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── psycopg2 │ │ └── version.py ├── opentelemetry-instrumentation-pymongo │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── pymongo │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-pymssql │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── pymssql │ │ └── version.py ├── opentelemetry-instrumentation-pymysql │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── pymysql │ │ ├── version.py │ │ └── package.py ├── opentelemetry-instrumentation-pyramid │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── pyramid │ │ └── version.py ├── opentelemetry-instrumentation-remoulade │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── remoulade │ │ ├── version.py │ │ └── package.py ├── opentelemetry-instrumentation-requests │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── requests │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-sqlite3 │ ├── tests │ │ ├── __init__.py │ │ └── testdb │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── sqlite3 │ │ │ └── py.typed │ └── test-requirements.txt ├── opentelemetry-instrumentation-starlette │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── starlette │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.in ├── opentelemetry-instrumentation-threading │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── threading │ │ └── version.py ├── opentelemetry-instrumentation-tornado │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── tornado │ │ └── version.py ├── opentelemetry-instrumentation-urllib │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── urllib │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-urllib3 │ ├── tests │ │ └── __init__.py │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── urllib3 │ │ └── version.py ├── opentelemetry-instrumentation-aiohttp-client │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── aiohttp_client │ │ └── version.py ├── opentelemetry-instrumentation-aiohttp-server │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── aiohttp_server │ │ └── version.py ├── opentelemetry-instrumentation-aws-lambda │ ├── tests │ │ ├── __init__.py │ │ └── mocks │ │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── aws_lambda │ │ ├── package.py │ │ └── version.py ├── opentelemetry-instrumentation-elasticsearch │ ├── tests │ │ └── __init__.py │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── test-requirements-2.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── elasticsearch │ │ └── version.py ├── opentelemetry-instrumentation-kafka-python │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ ├── test-requirements-ng.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── kafka │ │ └── version.py ├── opentelemetry-instrumentation-mysqlclient │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── mysqlclient │ │ └── version.py ├── opentelemetry-instrumentation-pymemcache │ ├── tests │ │ └── __init__.py │ ├── test-requirements-4.txt │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── test-requirements-2.txt │ ├── test-requirements-3.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── pymemcache │ │ └── version.py ├── opentelemetry-instrumentation-system-metrics │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── system_metrics │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-tortoiseorm │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── tortoiseorm │ │ └── version.py ├── opentelemetry-instrumentation-confluent-kafka │ ├── tests │ │ └── __init__.py │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── confluent_kafka │ │ └── version.py ├── opentelemetry-instrumentation-redis │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── redis │ │ │ ├── py.typed │ │ │ ├── version.py │ │ │ └── package.py │ ├── test-requirements.txt │ └── tests │ │ └── __init__.py ├── opentelemetry-instrumentation-asyncclick │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── asyncclick │ │ │ ├── py.typed │ │ │ └── version.py │ └── test-requirements.txt ├── opentelemetry-instrumentation-sqlalchemy │ ├── test-requirements-2.txt │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── sqlalchemy │ │ └── version.py ├── opentelemetry-instrumentation-asyncio │ ├── test-requirements.txt │ ├── tests │ │ └── __init__.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── asyncio │ │ ├── package.py │ │ └── version.py ├── opentelemetry-instrumentation-grpc │ ├── test-requirements-0.txt │ ├── test-requirements-1.txt │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── grpc │ │ │ ├── version.py │ │ │ └── package.py │ └── README.rst └── opentelemetry-instrumentation-click │ ├── test-requirements.txt │ ├── README.rst │ └── src │ └── opentelemetry │ └── instrumentation │ └── click │ ├── version.py │ └── package.py ├── instrumentation-genai ├── opentelemetry-instrumentation-langchain │ ├── README.rst │ ├── tests │ │ └── __init__.py │ ├── NOTICE │ ├── examples │ │ ├── manual │ │ │ ├── requirements.txt │ │ │ └── .env │ │ └── zero-code │ │ │ ├── requirements.txt │ │ │ └── .env │ ├── CHANGELOG.md │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── langchain │ │ └── version.py ├── opentelemetry-instrumentation-weaviate │ ├── README.rst │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── weaviate │ │ │ ├── __init__.py │ │ │ └── version.py │ └── CHANGELOG.md ├── opentelemetry-instrumentation-vertexai │ ├── tests │ │ └── __init__.py │ ├── src │ │ └── opentelemetry │ │ │ └── instrumentation │ │ │ └── vertexai │ │ │ ├── py.typed │ │ │ └── version.py │ └── examples │ │ ├── manual │ │ └── requirements.txt │ │ └── zero-code │ │ ├── requirements.txt │ │ └── main.py ├── opentelemetry-instrumentation-google-genai │ ├── tests │ │ ├── __init__.py │ │ ├── utils │ │ │ └── __init__.py │ │ └── generate_content │ │ │ └── __init__.py │ ├── .gitignore │ └── TODOS.md ├── opentelemetry-instrumentation-openai-v2 │ ├── tests │ │ ├── __init__.py │ │ └── README.md │ ├── examples │ │ ├── manual │ │ │ ├── requirements.txt │ │ │ └── .env │ │ ├── embeddings │ │ │ └── requirements.txt │ │ └── zero-code │ │ │ ├── requirements.txt │ │ │ └── main.py │ └── src │ │ └── opentelemetry │ │ └── instrumentation │ │ └── openai_v2 │ │ └── version.py ├── opentelemetry-instrumentation-openai-agents-v2 │ ├── tests │ │ ├── stubs │ │ │ ├── agents │ │ │ │ ├── __init__.py │ │ │ │ └── tracing │ │ │ │ │ └── processor_interface.py │ │ │ └── wrapt.py │ │ └── conftest.py │ ├── .gitignore │ └── examples │ │ ├── manual │ │ ├── requirements.txt │ │ └── .env.example │ │ ├── zero-code │ │ ├── requirements.txt │ │ └── .env.example │ │ └── content-capture │ │ └── .env.example └── opentelemetry-instrumentation-anthropic │ ├── examples │ ├── manual │ │ └── requirements.txt │ └── zero-code │ │ ├── requirements.txt │ │ └── main.py │ ├── CHANGELOG.md │ ├── tests │ └── __init__.py │ └── src │ └── opentelemetry │ └── instrumentation │ └── anthropic │ ├── patch.py │ ├── version.py │ └── package.py ├── resource ├── opentelemetry-resource-detector-containerid │ ├── tests │ │ └── __init__.py │ ├── MANIFEST.rst │ ├── test-requirements.txt │ └── src │ │ └── opentelemetry │ │ └── resource │ │ └── detector │ │ └── containerid │ │ └── version.py └── opentelemetry-resource-detector-azure │ ├── MANIFEST.rst │ ├── test-requirements-1.txt │ ├── test-requirements-0.txt │ ├── tests │ └── __init__.py │ └── src │ └── opentelemetry │ └── resource │ └── detector │ └── azure │ └── version.py ├── .github ├── workflows │ ├── generate_workflows_lib │ │ ├── src │ │ │ └── generate_workflows_lib │ │ │ │ ├── .gitignore │ │ │ │ └── version.py │ │ └── hatch_build.py │ ├── fossa.yml │ └── generate_workflows.py ├── scripts │ ├── use-cla-approved-github-bot.sh │ ├── update-version.sh │ └── update-version-patch.sh ├── ISSUE_TEMPLATE │ └── config.yml └── CODEOWNERS ├── tox-uv.toml ├── .codespellrc ├── pytest.ini ├── gen-requirements.txt ├── docs ├── instrumentation │ ├── boto │ │ └── boto.rst │ ├── wsgi │ │ └── wsgi.rst │ ├── aiopg │ │ └── aiopg.rst │ ├── flask │ │ └── flask.rst │ ├── mysql │ │ └── mysql.rst │ ├── pika │ │ └── pika.rst │ ├── celery │ │ └── celery.rst │ ├── django │ │ └── django.rst │ ├── falcon │ │ └── falcon.rst │ ├── jinja2 │ │ └── jinja2.rst │ ├── logging │ │ └── logging.rst │ ├── psycopg │ │ └── psycopg.rst │ ├── pymongo │ │ └── pymongo.rst │ ├── pymssql │ │ └── pymssql.rst │ ├── pymysql │ │ └── pymysql.rst │ ├── pyramid │ │ └── pyramid.rst │ ├── sqlite3 │ │ └── sqlite3.rst │ ├── tornado │ │ └── tornado.rst │ ├── botocore │ │ └── botocore.rst │ ├── dbapi │ │ └── dbapi.rst │ ├── psycopg2 │ │ └── psycopg2.rst │ ├── requests │ │ └── requests.rst │ ├── urllib │ │ └── urllib3.rst │ ├── urllib3 │ │ └── urllib3.rst │ ├── aio_pika │ │ └── aio_pika.rst │ ├── asyncio │ │ └── asyncio.rst │ ├── boto3sqs │ │ └── boto3sqs.rst │ ├── cassandra │ │ └── cassandra.rst │ ├── threading │ │ └── threading.rst │ ├── pymemcache │ │ └── pymemcache.rst │ ├── sqlalchemy │ │ └── sqlalchemy.rst │ ├── aws_lambda │ │ └── aws_lambda.rst │ ├── mysqlclient │ │ └── mysqlclient.rst │ ├── remoulade │ │ └── remoulade.rst │ ├── asgi │ │ └── asgi.rst │ ├── fastapi │ │ └── fastapi.rst │ ├── tortoiseorm │ │ └── tortoiseorm.rst │ ├── click │ │ └── click.rst │ ├── starlette │ │ └── starlette.rst │ ├── aiohttp_client │ │ └── aiohttp_client.rst │ ├── base │ │ ├── instrumentor.rst │ │ └── instrumentation.rst │ ├── elasticsearch │ │ └── elasticsearch.rst │ ├── system_metrics │ │ └── system_metrics.rst │ ├── grpc │ │ └── grpc.rst │ ├── asyncclick │ │ └── asyncclick.rst │ ├── asyncpg │ │ └── asyncpg.rst │ ├── confluent_kafka │ │ └── confluent_kafka.rst │ ├── redis │ │ └── redis.rst │ ├── aiohttp_server │ │ └── aiohttp_server.rst │ ├── httpx │ │ └── httpx.rst │ ├── aiokafka │ │ └── aiokafka.rst │ └── kafka_python │ │ └── kafka_python.rst ├── propagator │ └── aws │ │ └── aws.rst ├── instrumentation-genai │ └── openai.rst ├── sdk-extension │ └── aws │ │ └── aws.rst ├── performance │ └── benchmarks.rst ├── resource │ └── container │ │ └── container.rst └── Makefile ├── processor └── opentelemetry-processor-baggage │ ├── test-requirements.txt │ ├── tests │ └── __init__.py │ └── src │ └── opentelemetry │ └── processor │ └── baggage │ └── version.py ├── _template ├── autodoc_entry.rst ├── version.py └── README.rst ├── .readthedocs.yml ├── dev-requirements.txt ├── scripts ├── coverage.sh └── license_header.txt ├── rtd-requirements.txt ├── tests └── opentelemetry-docker-tests │ └── tests │ └── sqlalchemy_tests │ └── __init__.py ├── .pre-commit-config.yaml └── opentelemetry-contrib-instrumentations ├── src └── opentelemetry │ └── contrib-instrumentations │ └── version.py └── README.rst /opentelemetry-distro/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /opentelemetry-instrumentation/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/opentelemetry-util-genai/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/opentelemetry-util-http/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /opentelemetry-distro/src/opentelemetry/distro/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.rstcheck.cfg: -------------------------------------------------------------------------------- 1 | [rstcheck] 2 | ignore_directives = automodule 3 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-richconsole/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-ot-trace/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | omit = 3 | */tests/* 4 | */gen/* 5 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asgi/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pika/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-wsgi/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/opentelemetry-util-http/src/opentelemetry/util/http/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/README.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-weaviate/README.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiokafka/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiopg/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncpg/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto3sqs/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-cassandra/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-celery/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-dbapi/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-fastapi/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-flask/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-httpx/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-logging/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysql/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg2/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymongo/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymssql/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymysql/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pyramid/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-remoulade/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-requests/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlite3/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-starlette/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-threading/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tornado/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib3/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /opentelemetry-instrumentation/src/opentelemetry/instrumentation/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-containerid/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/tests/trace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-weaviate/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiohttp-client/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiohttp-server/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aws-lambda/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-elasticsearch/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-kafka-python/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysqlclient/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-system-metrics/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tortoiseorm/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/tests/trace/sampler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aws-lambda/tests/mocks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/workflows/generate_workflows_lib/src/generate_workflows_lib/.gitignore: -------------------------------------------------------------------------------- 1 | tox.ini 2 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/proto/.gitignore: -------------------------------------------------------------------------------- 1 | opentelemetry 2 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/generate_content/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib/src/opentelemetry/instrumentation/urllib/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/benchmark-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-benchmark==4.0.0 2 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/benchmark-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-benchmark==4.0.0 2 | -------------------------------------------------------------------------------- /.github/workflows/generate_workflows_lib/src/generate_workflows_lib/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.1.0" 2 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiokafka/src/opentelemetry/instrumentation/aiokafka/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg/src/opentelemetry/instrumentation/psycopg/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-requests/src/opentelemetry/instrumentation/requests/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlite3/src/opentelemetry/instrumentation/sqlite3/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-starlette/src/opentelemetry/instrumentation/starlette/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-google-genai/.gitignore: -------------------------------------------------------------------------------- 1 | .build 2 | .test 3 | dist 4 | 5 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncclick/src/opentelemetry/instrumentation/asyncclick/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tox-uv.toml: -------------------------------------------------------------------------------- 1 | # https://docs.astral.sh/uv/reference/settings/#pip_no-sources 2 | [pip] 3 | no-sources = true 4 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-weaviate/src/opentelemetry/instrumentation/weaviate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/stubs/agents/__init__.py: -------------------------------------------------------------------------------- 1 | # Stub package for tests 2 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/tests/templates/base.html: -------------------------------------------------------------------------------- 1 | Message: {% block content %}{% endblock %} 2 | -------------------------------------------------------------------------------- /util/opentelemetry-util-genai/test-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest==7.4.4 2 | fsspec==2025.9.0 3 | -e opentelemetry-instrumentation 4 | -------------------------------------------------------------------------------- /.codespellrc: -------------------------------------------------------------------------------- 1 | [codespell] 2 | # skipping auto generated folders 3 | skip = ./.tox,./.mypy_cache,./docs/_build,./target,*/LICENSE,./venv 4 | ignore-words-list = ot 5 | -------------------------------------------------------------------------------- /.github/scripts/use-cla-approved-github-bot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | git config user.name otelbot 4 | git config user.email 197425009+otelbot@users.noreply.github.com -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/tests/templates/template.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block content %}Hello {{name}}!{% endblock %} 3 | -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | addopts = -rs -v 3 | log_cli = true 4 | log_cli_level = warning 5 | testpaths = instrumentation/opentelemetry-instrumentation-falcon/tests/ 6 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/.gitignore: -------------------------------------------------------------------------------- 1 | examples/.env 2 | examples/openai_agents_multi_agent_travel/.env 3 | examples/**/.env 4 | -------------------------------------------------------------------------------- /gen-requirements.txt: -------------------------------------------------------------------------------- 1 | -c dev-requirements.txt 2 | astor==0.8.1 3 | jinja2==3.1.6 4 | markupsafe==2.0.1 5 | ruff==0.14.1 6 | requests 7 | tomli 8 | tomli_w 9 | hatch 10 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | contact_links: 2 | - name: Slack 3 | url: https://cloud-native.slack.com/archives/C01PD4HUVBL 4 | about: Or the `#otel-python` channel in the CNCF Slack instance. 5 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlite3/tests/testdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-telemetry/opentelemetry-python-contrib/HEAD/instrumentation/opentelemetry-instrumentation-sqlite3/tests/testdb -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiokafka/test-requirements.txt: -------------------------------------------------------------------------------- 1 | aiokafka==0.11.0 2 | pytest==7.4.4 3 | -e opentelemetry-instrumentation 4 | -e instrumentation/opentelemetry-instrumentation-aiokafka 5 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-credential-provider-gcp/test-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest==7.4.4 2 | opentelemetry-exporter-otlp-proto-http==1.37 3 | opentelemetry-exporter-otlp-proto-common==1.37 4 | opentelemetry-proto==1.37 -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/example/requirements.txt: -------------------------------------------------------------------------------- 1 | psutil 2 | protobuf>=3.13.0 3 | requests>=2.25.0 4 | python-snappy>=0.5.4 5 | opentelemetry-api 6 | opentelemetry-sdk 7 | opentelemetry-proto 8 | -------------------------------------------------------------------------------- /docs/instrumentation/boto/boto.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Boto Instrumentation 2 | ================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.boto 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/wsgi/wsgi.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry WSGI Instrumentation 2 | ================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.wsgi 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/propagator/aws/aws.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Python - AWS X-Ray Propagator 2 | =========================================== 3 | 4 | .. automodule:: opentelemetry.propagators.aws 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: -------------------------------------------------------------------------------- /docs/instrumentation/aiopg/aiopg.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry aiopg Instrumentation 2 | =================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.aiopg 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/flask/flask.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Flask Instrumentation 2 | =================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.flask 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/mysql/mysql.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry MySQL Instrumentation 2 | =================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.mysql 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pika/pika.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Pika Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pika 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/environment_variables.py: -------------------------------------------------------------------------------- 1 | OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT = ( 2 | "OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT" 3 | ) 4 | -------------------------------------------------------------------------------- /processor/opentelemetry-processor-baggage/test-requirements.txt: -------------------------------------------------------------------------------- 1 | importlib_metadata==8.0.0 2 | typing_extensions==4.12.2 3 | wrapt==1.16.0 4 | zipp==3.19.2 5 | pytest==7.4.4 6 | Deprecated==1.2.14 7 | -e processor/opentelemetry-processor-baggage 8 | -------------------------------------------------------------------------------- /docs/instrumentation/celery/celery.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Celery Instrumentation 2 | ==================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.celery 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/django/django.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Django Instrumentation 2 | ==================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.django 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/falcon/falcon.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Falcon Instrumentation 2 | ==================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.falcon 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/jinja2/jinja2.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Jinja2 Instrumentation 2 | ==================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.jinja2 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/examples/manual/requirements.txt: -------------------------------------------------------------------------------- 1 | openai~=1.57.3 2 | 3 | opentelemetry-sdk~=1.36.0 4 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 5 | opentelemetry-instrumentation-openai-v2~=2.1b0 6 | -------------------------------------------------------------------------------- /docs/instrumentation/logging/logging.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Logging Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.logging 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/psycopg/psycopg.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Psycopg Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.psycopg 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pymongo/pymongo.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry pymongo Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pymongo 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pymssql/pymssql.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry pymssql Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pymssql 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pymysql/pymysql.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry PyMySQL Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pymysql 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pyramid/pyramid.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Pyramid Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pyramid 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/sqlite3/sqlite3.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry SQLite3 Instrumentation 2 | ===================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.sqlite3 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/tornado/tornado.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Tornado Instrumentation 2 | ====================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.tornado 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/botocore/botocore.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Botocore Instrumentation 2 | ====================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.botocore 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/dbapi/dbapi.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Database API Instrumentation 2 | ========================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.dbapi 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/psycopg2/psycopg2.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Psycopg2 Instrumentation 2 | ====================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.psycopg2 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/requests/requests.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry requests Instrumentation 2 | ====================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.requests 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/urllib/urllib3.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry urllib Instrumentation 2 | ============================================ 3 | 4 | .. automodule:: opentelemetry.instrumentation.urllib 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/urllib3/urllib3.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry urllib3 Instrumentation 2 | ============================================ 3 | 4 | .. automodule:: opentelemetry.instrumentation.urllib3 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/manual/requirements.txt: -------------------------------------------------------------------------------- 1 | google-cloud-aiplatform>=1.64 2 | 3 | opentelemetry-sdk~=1.29.0 4 | opentelemetry-exporter-otlp-proto-grpc~=1.29.0 5 | opentelemetry-instrumentation-vertexai~=2.0b0 6 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-azure/MANIFEST.rst: -------------------------------------------------------------------------------- 1 | graft src 2 | graft tests 3 | global-exclude *.pyc 4 | global-exclude *.pyo 5 | global-exclude __pycache__/* 6 | include CHANGELOG.md 7 | include MANIFEST.in 8 | include README.rst 9 | include LICENSE -------------------------------------------------------------------------------- /.github/scripts/update-version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | sed -i "/\[stable\]/{n;s/version=.*/version=$1/}" eachdist.ini 4 | sed -i "/\[prerelease\]/{n;s/version=.*/version=$2/}" eachdist.ini 5 | 6 | ./scripts/eachdist.py update_versions --versions stable,prerelease -------------------------------------------------------------------------------- /docs/instrumentation/aio_pika/aio_pika.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry aio pika Instrumentation 2 | ============================================ 3 | 4 | .. automodule:: opentelemetry.instrumentation.aio_pika 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/asyncio/asyncio.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry asyncio Instrumentation 2 | ============================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.asyncio 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/boto3sqs/boto3sqs.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-boto3sqs/README.rst 2 | 3 | .. automodule:: opentelemetry.instrumentation.boto3sqs 4 | :members: 5 | :undoc-members: 6 | :show-inheritance: 7 | -------------------------------------------------------------------------------- /docs/instrumentation/cassandra/cassandra.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Cassandra Instrumentation 2 | ======================================= 3 | 4 | .. automodule:: opentelemetry.instrumentation.cassandra 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/threading/threading.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Threading Instrumentation 2 | ======================================= 3 | 4 | .. automodule:: opentelemetry.instrumentation.threading 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-containerid/MANIFEST.rst: -------------------------------------------------------------------------------- 1 | graft src 2 | graft tests 3 | global-exclude *.pyc 4 | global-exclude *.pyo 5 | global-exclude __pycache__/* 6 | include CHANGELOG.md 7 | include MANIFEST.in 8 | include README.rst 9 | include LICENSE -------------------------------------------------------------------------------- /docs/instrumentation-genai/openai.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Python - OpenAI Instrumentation 2 | ============================================= 3 | 4 | .. automodule:: opentelemetry.instrumentation.openai_v2 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/pymemcache/pymemcache.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry pymemcache Instrumentation 2 | ======================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.pymemcache 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/sqlalchemy/sqlalchemy.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry SQLAlchemy Instrumentation 2 | ======================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.sqlalchemy 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/MANIFEST.rst: -------------------------------------------------------------------------------- 1 | graft src 2 | graft tests 3 | global-exclude *.pyc 4 | global-exclude *.pyo 5 | global-exclude __pycache__/* 6 | include CHANGELOG.md 7 | include MANIFEST.in 8 | include README.rst 9 | include LICENSE 10 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/MANIFEST.rst: -------------------------------------------------------------------------------- 1 | graft src 2 | graft tests 3 | global-exclude *.pyc 4 | global-exclude *.pyo 5 | global-exclude __pycache__/* 6 | include CHANGELOG.md 7 | include MANIFEST.in 8 | include README.rst 9 | include LICENSE 10 | -------------------------------------------------------------------------------- /docs/instrumentation/aws_lambda/aws_lambda.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry AWS lambda Instrumentation 2 | ========================================== 3 | 4 | 5 | .. automodule:: opentelemetry.instrumentation.aws_lambda 6 | :members: 7 | :undoc-members: 8 | :show-inheritance: 9 | -------------------------------------------------------------------------------- /docs/instrumentation/mysqlclient/mysqlclient.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry mysqlclient Instrumentation 2 | ========================================= 3 | 4 | .. automodule:: opentelemetry.instrumentation.mysqlclient 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/remoulade/remoulade.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-remoulade/README.rst 2 | 3 | 4 | .. automodule:: opentelemetry.instrumentation.remoulade 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/sdk-extension/aws/aws.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Python - AWS SDK Extension 2 | ======================================== 3 | 4 | .. automodule:: opentelemetry.sdk.extension.aws.trace.aws_xray_id_generator 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/asgi/asgi.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-asgi/README.rst 2 | 3 | API 4 | --- 5 | 6 | .. automodule:: opentelemetry.instrumentation.asgi 7 | :members: 8 | :undoc-members: 9 | :show-inheritance: 10 | -------------------------------------------------------------------------------- /docs/instrumentation/fastapi/fastapi.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-fastapi/README.rst 2 | 3 | API 4 | --- 5 | 6 | .. automodule:: opentelemetry.instrumentation.fastapi 7 | :members: 8 | :undoc-members: 9 | :show-inheritance: -------------------------------------------------------------------------------- /docs/instrumentation/tortoiseorm/tortoiseorm.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-tortoiseorm/README.rst 2 | 3 | .. automodule:: opentelemetry.instrumentation.tortoiseorm 4 | :members: 5 | :undoc-members: 6 | :show-inheritance: 7 | -------------------------------------------------------------------------------- /docs/performance/benchmarks.rst: -------------------------------------------------------------------------------- 1 | Performance Tests - Benchmarks 2 | ============================== 3 | 4 | Click `here `_ to view the latest performance benchmarks for packages in this repo. 5 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/examples/manual/requirements.txt: -------------------------------------------------------------------------------- 1 | anthropic~=0.3.0 2 | opentelemetry-sdk~=1.36.0 3 | opentelemetry-instrumentation-anthropic #TODO: update to 2.1b0 when released 4 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 5 | 6 | -------------------------------------------------------------------------------- /docs/instrumentation/click/click.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-click/README.rst 2 | :end-before: References 3 | 4 | .. automodule:: opentelemetry.instrumentation.click 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/starlette/starlette.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-starlette/README.rst 2 | 3 | API 4 | --- 5 | 6 | .. automodule:: opentelemetry.instrumentation.starlette 7 | :members: 8 | :undoc-members: 9 | :show-inheritance: -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/examples/embeddings/requirements.txt: -------------------------------------------------------------------------------- 1 | openai~=1.57.3 2 | 3 | opentelemetry-sdk~=1.36.0 4 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 5 | opentelemetry-distro~=0.57b0 6 | opentelemetry-instrumentation-openai-v2~=2.2b0 7 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/examples/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | openai~=1.57.3 2 | 3 | opentelemetry-sdk~=1.36.0 4 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 5 | opentelemetry-distro~=0.57b0 6 | opentelemetry-instrumentation-openai-v2~=2.1b0 7 | -------------------------------------------------------------------------------- /util/opentelemetry-util-http/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | -e opentelemetry-instrumentation 11 | -------------------------------------------------------------------------------- /_template/autodoc_entry.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-/README.rst 2 | :end-before: References 3 | 4 | .. automodule:: opentelemetry.instrumentation. 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/aiohttp_client/aiohttp_client.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry aiohttp client Instrumentation 2 | ============================================ 3 | 4 | .. automodule:: opentelemetry.instrumentation.aiohttp_client 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/base/instrumentor.rst: -------------------------------------------------------------------------------- 1 | opentelemetry.instrumentation.instrumentor package 2 | ================================================== 3 | 4 | .. automodule:: opentelemetry.instrumentation.instrumentor 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/elasticsearch/elasticsearch.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-elasticsearch/README.rst 2 | 3 | 4 | .. automodule:: opentelemetry.instrumentation.elasticsearch 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/system_metrics/system_metrics.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry system metrics Instrumentation 2 | ============================================ 3 | 4 | .. automodule:: opentelemetry.instrumentation.system_metrics 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/grpc/grpc.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry gRPC Instrumentation 2 | ================================== 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: opentelemetry.instrumentation.grpc 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /docs/resource/container/container.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Python - Resource Detector for Containers 2 | ======================================================= 3 | 4 | .. automodule:: opentelemetry.resource.detector.containerid 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/NOTICE: -------------------------------------------------------------------------------- 1 | This project is inspired by and portions of it are derived from Traceloop OpenLLMetry 2 | (https://github.com/traceloop/openllmetry). 3 | Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/examples/manual/requirements.txt: -------------------------------------------------------------------------------- 1 | openai-agents~=0.3.3 2 | python-dotenv~=1.0 3 | 4 | opentelemetry-sdk~=1.36.0 5 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 6 | opentelemetry-instrumentation-openai-agents-v2~=0.1.0.dev 7 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/examples/bedrock-runtime/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3~=1.35.99 2 | 3 | opentelemetry-sdk~=1.30.0 4 | opentelemetry-exporter-otlp-proto-grpc~=1.30.0 5 | opentelemetry-distro~=0.51b0 6 | opentelemetry-instrumentation-botocore~=0.51b0 7 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | google-cloud-aiplatform>=1.64 2 | 3 | opentelemetry-sdk~=1.28.2 4 | opentelemetry-exporter-otlp-proto-http~=1.28.2 5 | opentelemetry-distro~=0.49b2 6 | opentelemetry-instrumentation-vertexai~=2.0b0 7 | -------------------------------------------------------------------------------- /docs/instrumentation/asyncclick/asyncclick.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-asyncclick/README.rst 2 | :end-before: References 3 | 4 | .. automodule:: opentelemetry.instrumentation.asyncclick 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/proto/README.md: -------------------------------------------------------------------------------- 1 | ## Instructions 2 | 1. Install protobuf tools. Can use your package manager or download from [GitHub](https://github.com/protocolbuffers/protobuf/releases/tag/v26.0) 3 | 2. Run `generate-proto-py.sh` from inside the `proto/` directory -------------------------------------------------------------------------------- /docs/instrumentation/asyncpg/asyncpg.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry asyncpg Instrumentation 2 | ===================================== 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: opentelemetry.instrumentation.asyncpg 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /docs/instrumentation/confluent_kafka/confluent_kafka.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-confluent-kafka/README.rst 2 | 3 | .. automodule:: opentelemetry.instrumentation.confluent_kafka 4 | :members: 5 | :undoc-members: 6 | :show-inheritance: 7 | :noindex: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/redis/redis.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-redis/README.rst 2 | :end-before: References 3 | 4 | Usage 5 | ----- 6 | 7 | .. automodule:: opentelemetry.instrumentation.redis 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/examples/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | anthropic~=0.3.0 2 | opentelemetry-sdk~=1.28.2 3 | opentelemetry-distro~=0.49b2 4 | opentelemetry-instrumentation-anthropic #TODO: update to 2.1b0 when released 5 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 6 | 7 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/examples/manual/.env.example: -------------------------------------------------------------------------------- 1 | # Copy to .env and add real values before running main.py 2 | OPENAI_API_KEY= 3 | OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 4 | OTEL_EXPORTER_OTLP_PROTOCOL=grpc 5 | OTEL_SERVICE_NAME=openai-agents-manual-demo 6 | -------------------------------------------------------------------------------- /docs/instrumentation/aiohttp_server/aiohttp_server.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-aiohttp-server/README.rst 2 | :end-before: References 3 | 4 | .. automodule:: opentelemetry.instrumentation.aiohttp_server 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | -------------------------------------------------------------------------------- /docs/instrumentation/httpx/httpx.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-httpx/README.rst 2 | :end-before: References 3 | 4 | API 5 | --- 6 | 7 | .. automodule:: opentelemetry.instrumentation.httpx 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /docs/instrumentation/aiokafka/aiokafka.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-aiokafka/README.rst 2 | :end-before: References 3 | 4 | API 5 | --- 6 | 7 | .. automodule:: opentelemetry.instrumentation.aiokafka 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/examples/manual/requirements.txt: -------------------------------------------------------------------------------- 1 | langchain==0.3.21 2 | langchain_openai 3 | opentelemetry-sdk>=1.31.0 4 | opentelemetry-exporter-otlp-proto-grpc>=1.31.0 5 | 6 | # Uncomment after lanchain instrumetation is released 7 | # opentelemetry-instrumentation-langchain~=2.0b0.dev -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/examples/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | openai-agents~=0.3.3 2 | python-dotenv~=1.0 3 | 4 | opentelemetry-sdk~=1.36.0 5 | opentelemetry-exporter-otlp-proto-grpc~=1.36.0 6 | opentelemetry-distro~=0.57b0 7 | opentelemetry-instrumentation-openai-agents-v2~=0.1.0.dev 8 | -------------------------------------------------------------------------------- /docs/instrumentation/kafka_python/kafka_python.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../../instrumentation/opentelemetry-instrumentation-kafka-python/README.rst 2 | :end-before: References 3 | 4 | API 5 | --- 6 | 7 | .. automodule:: opentelemetry.instrumentation.kafka 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/example/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.9 2 | 3 | RUN apt-get update -y && apt-get install libsnappy-dev -y 4 | 5 | WORKDIR /code 6 | COPY . . 7 | 8 | RUN pip install -e . 9 | RUN pip install -r ./example/requirements.txt 10 | 11 | CMD ["python", "./example/sampleapp.py"] 12 | -------------------------------------------------------------------------------- /opentelemetry-distro/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e opentelemetry-distro 14 | -------------------------------------------------------------------------------- /opentelemetry-instrumentation/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | gevent==25.5.1 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-ot-trace/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e propagator/opentelemetry-propagator-ot-trace 13 | -------------------------------------------------------------------------------- /docs/instrumentation/base/instrumentation.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Python Instrumentor 2 | ================================= 3 | 4 | .. automodule:: opentelemetry.instrumentation 5 | :members: 6 | :undoc-members: 7 | :show-inheritance: 8 | 9 | Submodules 10 | ---------- 11 | 12 | .. toctree:: 13 | :maxdepth: 1 14 | 15 | instrumentor 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-weaviate/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## Unreleased -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- 1 | # Read the Docs configuration file 2 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 3 | version: 2 4 | 5 | sphinx: 6 | configuration: docs/conf.py 7 | 8 | build: 9 | os: "ubuntu-24.04" 10 | tools: 11 | python: "3.11" 12 | 13 | python: 14 | install: 15 | - requirements: rtd-requirements.txt 16 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-containerid/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e resource/opentelemetry-resource-detector-containerid 13 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/examples/zero-code/requirements.txt: -------------------------------------------------------------------------------- 1 | langchain==0.3.21 2 | langchain_openai 3 | opentelemetry-sdk>=1.31.0 4 | opentelemetry-exporter-otlp-proto-grpc>=1.31.0 5 | opentelemetry-distro~=0.51b0 6 | 7 | # Uncomment after lanchain instrumetation is released 8 | # opentelemetry-instrumentation-langchain~=2.0b0.dev 9 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/examples/manual/.env: -------------------------------------------------------------------------------- 1 | # Update this with your real OpenAI API key 2 | OPENAI_API_KEY=sk-YOUR_API_KEY 3 | 4 | # Uncomment and change to your OTLP endpoint 5 | # OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 6 | # OTEL_EXPORTER_OTLP_PROTOCOL=grpc 7 | 8 | OTEL_SERVICE_NAME=opentelemetry-python-langchain-manual 9 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/examples/zero-code/.env: -------------------------------------------------------------------------------- 1 | # Update this with your real OpenAI API key 2 | OPENAI_API_KEY=sk-YOUR_API_KEY 3 | 4 | # Uncomment and change to your OTLP endpoint 5 | # OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 6 | # OTEL_EXPORTER_OTLP_PROTOCOL=grpc 7 | 8 | OTEL_SERVICE_NAME=opentelemetry-python-langchain-zero-code -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymssql/test-requirements.txt: -------------------------------------------------------------------------------- 1 | exceptiongroup==1.2.2 2 | iniconfig==2.0.0 3 | packaging==24.2 4 | pluggy==1.5.0 5 | pymssql==2.3.1 6 | pytest==7.4.4 7 | tomli==2.2.1 8 | -e opentelemetry-instrumentation 9 | -e instrumentation/opentelemetry-instrumentation-dbapi 10 | -e instrumentation/opentelemetry-instrumentation-pymssql 11 | -------------------------------------------------------------------------------- /.github/scripts/update-version-patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | sed -i "/\[stable\]/{n;s/version=.*/version=$1/}" eachdist.ini 4 | sed -i "/\[prerelease\]/{n;s/version=.*/version=$2/}" eachdist.ini 5 | 6 | ./scripts/eachdist.py update_patch_versions \ 7 | --stable_version=$1 \ 8 | --unstable_version=$2 \ 9 | --stable_version_prev=$3 \ 10 | --unstable_version_prev=$4 11 | 12 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e instrumentation/opentelemetry-instrumentation-dbapi 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-logging/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e instrumentation/opentelemetry-instrumentation-logging 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncclick/test-requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | asyncclick~=8.0 3 | Flask~=3.0 4 | pytest==7.4.4 5 | anyio~=4.5 6 | -e opentelemetry-instrumentation 7 | -e instrumentation/opentelemetry-instrumentation-asyncclick 8 | -e instrumentation/opentelemetry-instrumentation-flask 9 | -e instrumentation/opentelemetry-instrumentation-wsgi 10 | -e util/opentelemetry-util-http 11 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-starlette/test-requirements.in: -------------------------------------------------------------------------------- 1 | # Used to generate test-requirements.{oldest,latest}.txt with uv pip compile 2 | pytest~=7.4 3 | requests~=2.32 4 | httpx~=0.28 5 | -e opentelemetry-instrumentation 6 | -e instrumentation/opentelemetry-instrumentation-asgi 7 | -e util/opentelemetry-util-http 8 | -e instrumentation/opentelemetry-instrumentation-starlette[instruments] 9 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-threading/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e instrumentation/opentelemetry-instrumentation-threading 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pika/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pika==1.3.2 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-pika 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pika/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pika==0.13.1 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-pika 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | aiosqlite==0.20.0 2 | asgiref==3.8.1 3 | Deprecated==1.2.14 4 | greenlet==3.1.1 5 | iniconfig==2.0.0 6 | packaging==24.1 7 | pluggy==1.5.0 8 | pytest==7.4.4 9 | SQLAlchemy==2.0.36 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | -e opentelemetry-instrumentation 13 | -e instrumentation/opentelemetry-instrumentation-sqlalchemy 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncio/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | pytest-asyncio==0.23.5 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-asyncio 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e util/opentelemetry-util-http 14 | -e instrumentation/opentelemetry-instrumentation-asgi 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-4.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pymemcache==4.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-pymemcache 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-system-metrics/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | psutil==7.0.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-system-metrics 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-wsgi/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e util/opentelemetry-util-http 14 | -e instrumentation/opentelemetry-instrumentation-wsgi 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | grpcio==1.62.0 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | protobuf==3.20.3 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-grpc 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | grpcio==1.66.2 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | protobuf==3.20.3 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-grpc 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-kafka-python/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | kafka-python==2.0.2 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-kafka-python 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | Jinja2==3.1.6 5 | MarkupSafe==2.0.1 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-jinja2 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-kafka-python/test-requirements-ng.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | kafka-python-ng==2.2.2 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.9.0 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-kafka-python 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymongo/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | dnspython==2.6.1 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pymongo==4.6.3 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-pymongo 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | async-timeout==4.0.3 3 | asyncpg==0.30.0 4 | Deprecated==1.2.14 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-asyncpg 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-confluent-kafka/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | confluent-kafka==2.11.0 3 | Deprecated==1.2.14 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-confluent-kafka 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pymemcache==1.3.5 8 | pytest==7.4.4 9 | six==1.16.0 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-pymemcache 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pymemcache==2.2.2 8 | pytest==7.4.4 9 | six==1.16.0 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-pymemcache 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pymemcache==3.4.1 8 | pytest==7.4.4 9 | six==1.16.0 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-pymemcache 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/test-requirements-3.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pymemcache==3.4.2 8 | pytest==7.4.4 9 | six==1.16.0 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-pymemcache 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | cffi==1.17.0 3 | Deprecated==1.2.14 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | SQLAlchemy==1.1.18 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-sqlalchemy 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | httpretty==1.1.4 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e util/opentelemetry-util-http 15 | -e instrumentation/opentelemetry-instrumentation-urllib 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/README.md: -------------------------------------------------------------------------------- 1 | ## Recording calls 2 | 3 | If you need to record calls you need to export the `OPENAI_API_KEY` as environment variable. 4 | Since tox blocks environment variables by default you need to override its configuration to let them pass: 5 | 6 | ``` 7 | export TOX_OVERRIDE=testenv.pass_env=OPENAI_API_KEY 8 | ``` 9 | 10 | We are not adding it to tox.ini because of security concerns. 11 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aws-lambda/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e propagator/opentelemetry-propagator-aws-xray 14 | -e instrumentation/opentelemetry-instrumentation-aws-lambda 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-redis/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | async-timeout==4.0.3 3 | Deprecated==1.2.14 4 | fakeredis==2.23.3 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | redis==5.0.1 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-redis 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlite3/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | tomli==2.0.1 9 | typing_extensions==4.12.2 10 | wrapt==1.16.0 11 | zipp==3.19.2 12 | -e opentelemetry-instrumentation 13 | -e instrumentation/opentelemetry-instrumentation-dbapi 14 | -e instrumentation/opentelemetry-instrumentation-sqlite3 15 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/examples/content-capture/.env.example: -------------------------------------------------------------------------------- 1 | # Copy to .env and add values before running the sample. 2 | # Required for OpenAI client (only used if you swap in a real OpenAI call) 3 | OPENAI_API_KEY= 4 | 5 | # Optional overrides for span attributes / exporters 6 | OTEL_SERVICE_NAME=openai-agents-content-capture-demo 7 | OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 8 | OTEL_EXPORTER_OTLP_PROTOCOL=grpc 9 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-azure/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | typing_extensions==4.12.2 9 | wrapt==1.16.0 10 | zipp==3.19.2 11 | # test with the latest version of opentelemetry-api, sdk, and semantic conventions 12 | 13 | -e opentelemetry-instrumentation 14 | -e resource/opentelemetry-resource-detector-azure 15 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-richconsole/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | flaky==3.7.0 4 | iniconfig==2.0.0 5 | markdown-it-py==3.0.0 6 | mdurl==0.1.2 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | Pygments==2.17.2 11 | pytest==7.4.4 12 | pytest-timeout==2.3.1 13 | rich==13.7.1 14 | tomli==2.0.1 15 | typing_extensions==4.12.2 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | -e exporter/opentelemetry-exporter-richconsole 19 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | aiosqlite==0.20.0 2 | asgiref==3.8.1 3 | Deprecated==1.2.14 4 | greenlet==3.1.1 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | SQLAlchemy==1.4.51 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-sqlalchemy 17 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/zero-code/main.py: -------------------------------------------------------------------------------- 1 | import vertexai 2 | from vertexai.generative_models import GenerativeModel 3 | 4 | 5 | def main(): 6 | vertexai.init() 7 | model = GenerativeModel("gemini-1.5-flash-002") 8 | chat_completion = model.generate_content( 9 | "Write a short poem on OpenTelemetry." 10 | ) 11 | print(chat_completion.text) 12 | 13 | 14 | if __name__ == "__main__": 15 | main() 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | psycopg==3.2.2 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-psycopg 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymysql/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | PyMySQL==1.1.1 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-pymysql 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | httpretty==1.1.4 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | urllib3==1.26.19 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-urllib3 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | httpretty==1.1.4 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | urllib3==2.2.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-urllib3 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg2/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | psycopg2==2.9.10 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-psycopg2 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysql/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | mysql-connector-python==8.3.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-mysql 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysql/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | mysql-connector-python==9.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.9.0 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-mysql 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysqlclient/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | mysqlclient==2.2.4 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-mysqlclient 16 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | pytest-benchmark==4.0.0 9 | requests==2.32.3 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | # test with the latest version of opentelemetry-api, sdk, and semantic conventions 15 | 16 | -e sdk-extension/opentelemetry-sdk-extension-aws 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg2/test-requirements-binary.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | psycopg2-binary==2.9.10 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-dbapi 15 | -e instrumentation/opentelemetry-instrumentation-psycopg2 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | aio-pika==7.2.0 2 | aiormq==6.2.3 3 | asgiref==3.8.1 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | multidict==6.0.5 8 | packaging==24.0 9 | pamqp==3.1.0 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | wrapt==1.16.0 16 | yarl==1.9.4 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-aio-pika 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | aio-pika==8.3.0 2 | aiormq==6.6.4 3 | asgiref==3.8.1 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | multidict==6.0.5 8 | packaging==24.0 9 | pamqp==3.2.1 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | wrapt==1.16.0 16 | yarl==1.9.4 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-aio-pika 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | aio-pika==9.0.5 2 | aiormq==6.7.1 3 | asgiref==3.8.1 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | multidict==6.0.5 8 | packaging==24.0 9 | pamqp==3.2.1 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | wrapt==1.16.0 16 | yarl==1.9.4 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-aio-pika 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/test-requirements-3.txt: -------------------------------------------------------------------------------- 1 | aio-pika==9.4.1 2 | aiormq==6.8.0 3 | asgiref==3.8.1 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | multidict==6.0.5 8 | packaging==24.0 9 | pamqp==3.3.0 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | wrapt==1.16.0 16 | yarl==1.9.4 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-aio-pika 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | falcon==2.0.0 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-wsgi 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-falcon 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | falcon==3.1.1 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-wsgi 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-falcon 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/test-requirements-3.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | falcon==3.1.3 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-wsgi 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-falcon 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/test-requirements-4.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | falcon==4.0.2 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | tomli==2.0.1 10 | typing_extensions==4.12.2 11 | wrapt==1.16.0 12 | zipp==3.19.2 13 | -e opentelemetry-instrumentation 14 | -e instrumentation/opentelemetry-instrumentation-wsgi 15 | -e util/opentelemetry-util-http 16 | -e instrumentation/opentelemetry-instrumentation-falcon 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | backports.zoneinfo==0.2.1 3 | Deprecated==1.2.14 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | psycopg==3.1.18 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-dbapi 16 | -e instrumentation/opentelemetry-instrumentation-psycopg 17 | -------------------------------------------------------------------------------- /.github/workflows/fossa.yml: -------------------------------------------------------------------------------- 1 | name: FOSSA scanning 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | permissions: 9 | contents: read 10 | 11 | jobs: 12 | fossa: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 16 | 17 | - uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0 18 | with: 19 | api-key: ${{secrets.FOSSA_API_KEY}} 20 | team: OpenTelemetry 21 | -------------------------------------------------------------------------------- /dev-requirements.txt: -------------------------------------------------------------------------------- 1 | pylint==3.0.2 2 | httpretty==1.1.4 3 | pyright==v1.1.404 4 | sphinx==7.1.2 5 | sphinx-rtd-theme==2.0.0rc4 6 | sphinx-autodoc-typehints==1.25.2 7 | pytest==7.4.4 8 | pytest-cov==4.1.0 9 | readme-renderer==42.0 10 | bleach==4.1.0 # transient dependency for readme-renderer 11 | markupsafe>=2.0.1 12 | codespell==2.1.0 13 | requests==2.32.3 14 | ruamel.yaml==0.17.21 15 | flaky==3.7.0 16 | pre-commit==3.7.0; python_version >= '3.9' 17 | pre-commit==3.5.0; python_version < '3.9' 18 | ruff==0.14.1 19 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-remoulade/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | prometheus_client==0.20.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | python-dateutil==2.8.2 10 | pytz==2024.1 11 | remoulade==3.2.0 12 | six==1.16.0 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | wrapt==1.16.0 16 | zipp==3.19.2 17 | -e opentelemetry-instrumentation 18 | -e instrumentation/opentelemetry-instrumentation-remoulade 19 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## Unreleased 9 | 10 | - Added span support for genAI langchain llm invocation. 11 | ([#3665](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3665)) -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt: -------------------------------------------------------------------------------- 1 | aiopg==1.4.0 2 | asgiref==3.8.1 3 | async-timeout==4.0.3 4 | Deprecated==1.2.14 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | psycopg2-binary==2.9.10 9 | py-cpuinfo==9.0.0 10 | pytest==7.4.4 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-dbapi 17 | -e instrumentation/opentelemetry-instrumentation-aiopg 18 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | elasticsearch==6.8.2 4 | elasticsearch-dsl==6.4.0 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | python-dateutil==2.8.2 11 | six==1.16.0 12 | tomli==2.0.1 13 | typing_extensions==4.12.2 14 | urllib3==1.26.19 15 | wrapt==1.16.0 16 | zipp==3.19.2 17 | -e opentelemetry-instrumentation 18 | -e instrumentation/opentelemetry-instrumentation-elasticsearch 19 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | elasticsearch==7.17.9 4 | elasticsearch-dsl==7.4.1 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | python-dateutil==2.8.2 11 | six==1.16.0 12 | tomli==2.0.1 13 | typing_extensions==4.12.2 14 | urllib3==1.26.19 15 | wrapt==1.16.0 16 | zipp==3.19.2 17 | -e opentelemetry-instrumentation 18 | -e instrumentation/opentelemetry-instrumentation-elasticsearch 19 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | certifi==2024.7.4 3 | charset-normalizer==3.3.2 4 | cramjam==2.8.4 5 | Deprecated==1.2.14 6 | idna==3.7 7 | iniconfig==2.0.0 8 | packaging==24.0 9 | pluggy==1.5.0 10 | protobuf==5.26 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | python-snappy==0.7.1 14 | requests==2.32.3 15 | tomli==2.0.1 16 | typing_extensions==4.12.2 17 | urllib3==2.2.2 18 | wrapt==1.16.0 19 | zipp==3.19.2 20 | -e exporter/opentelemetry-exporter-prometheus-remote-write 21 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # This file is only used as a way to assign any change to the approvers team 2 | # except for a change in any of the instrumentations. The actual codeowners 3 | # of the instrumentations are in .github/component_owners.yml. 4 | 5 | # Assigns any change to the approvers team... 6 | * @open-telemetry/opentelemetry-python-contrib-approvers 7 | 8 | # ...except for changes in any instrumentation. 9 | /instrumentation 10 | 11 | # Learn about CODEOWNERS file format: 12 | # https://help.github.com/en/articles/about-code-owners 13 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/examples/zero-code/main.py: -------------------------------------------------------------------------------- 1 | # pylint: skip-file 2 | import anthropic 3 | 4 | 5 | def main(): 6 | client = anthropic.Anthropic() 7 | message = client.messages.create( 8 | model="claude-3-5-sonnet-20241022", 9 | max_tokens=1024, 10 | messages=[ 11 | {"role": "user", "content": "Write a short poem on OpenTelemetry."} 12 | ], 13 | ) 14 | print(message.content[0].text) 15 | 16 | 17 | if __name__ == "__main__": 18 | main() 19 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto3sqs/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | boto3==1.34.44 3 | botocore==1.34.44 4 | Deprecated==1.2.14 5 | iniconfig==2.0.0 6 | jmespath==1.0.1 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | pytest==7.4.4 11 | python-dateutil==2.8.2 12 | s3transfer==0.10.0 13 | six==1.16.0 14 | tomli==2.0.1 15 | typing_extensions==4.12.2 16 | urllib3==1.26.19 17 | wrapt==1.16.0 18 | zipp==3.19.2 19 | -e opentelemetry-instrumentation 20 | -e instrumentation/opentelemetry-instrumentation-boto3sqs 21 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | Django==2.2.28 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | pytz==2024.1 10 | sqlparse==0.5.0 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-wsgi 17 | -e util/opentelemetry-util-http 18 | -e instrumentation/opentelemetry-instrumentation-django 19 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## Unreleased 9 | 10 | ### Added 11 | 12 | - Initial implementation of Anthropic instrumentation 13 | ([#ISSUE_NUMBER](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3978)) 14 | 15 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | falcon==1.4.1 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | python-mimeparse==1.6.0 10 | six==1.16.0 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-wsgi 17 | -e util/opentelemetry-util-http 18 | -e instrumentation/opentelemetry-instrumentation-falcon 19 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | pytest-benchmark==4.0.0 9 | requests==2.32.3 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | opentelemetry-api==1.23 # when updating, also update in pyproject.toml 15 | opentelemetry-sdk==1.23 # when updating, also update in pyproject.toml 16 | 17 | -e sdk-extension/opentelemetry-sdk-extension-aws 18 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | elasticsearch==8.13.1 4 | elasticsearch-dsl==8.13.1 5 | elastic-transport==8.13.0 6 | iniconfig==2.0.0 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | pytest==7.4.4 11 | python-dateutil==2.8.2 12 | six==1.16.0 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | urllib3==2.2.2 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-elasticsearch 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-requests/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | certifi==2024.7.4 3 | charset-normalizer==3.3.2 4 | Deprecated==1.2.14 5 | httpretty==1.1.4 6 | idna==3.7 7 | iniconfig==2.0.0 8 | packaging==24.0 9 | pluggy==1.5.0 10 | py-cpuinfo==9.0.0 11 | pytest==7.4.4 12 | requests==2.32.3 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | urllib3==2.2.2 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e util/opentelemetry-util-http 20 | -e instrumentation/opentelemetry-instrumentation-requests 21 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | certifi==2024.7.4 3 | charset-normalizer==3.3.2 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | pytest==7.4.4 11 | pytest-benchmark==4.0.0 12 | requests==2.32.3 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | urllib3==2.2.2 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | # test with the latest version of opentelemetry-api, sdk, and semantic conventions 19 | 20 | -e propagator/opentelemetry-propagator-aws-xray 21 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-azure/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | iniconfig==2.0.0 4 | packaging==24.0 5 | pluggy==1.5.0 6 | py-cpuinfo==9.0.0 7 | pytest==7.4.4 8 | typing_extensions==4.12.2 9 | wrapt==1.16.0 10 | zipp==3.19.2 11 | opentelemetry-api==1.21 # when updating, also update in pyproject.toml 12 | opentelemetry-sdk==1.21 # when updating, also update in pyproject.toml 13 | opentelemetry-instrumentation==0.44b0 # when updating, also update in pyproject.toml 14 | 15 | -e resource/opentelemetry-resource-detector-azure 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | Django==4.2.17 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | sqlparse==0.5.0 10 | tomli==2.0.1 11 | typing_extensions==4.12.2 12 | wrapt==1.16.0 13 | zipp==3.19.2 14 | -e opentelemetry-instrumentation 15 | -e instrumentation/opentelemetry-instrumentation-wsgi 16 | -e instrumentation/opentelemetry-instrumentation-asgi 17 | -e util/opentelemetry-util-http 18 | -e instrumentation/opentelemetry-instrumentation-django 19 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tortoiseorm/test-requirements.txt: -------------------------------------------------------------------------------- 1 | aiosqlite==0.17.0 2 | annotated-types==0.7.0 3 | asgiref==3.8.1 4 | Deprecated==1.2.14 5 | iniconfig==2.0.0 6 | iso8601==1.1.0 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | pydantic==2.8.2 11 | pydantic_core==2.20.1 12 | pypika-tortoise==0.1.6 13 | pytest==7.4.4 14 | pytz==2024.1 15 | tomli==2.0.1 16 | tortoise-orm==0.20.0 17 | typing_extensions==4.12.2 18 | wrapt==1.16.0 19 | zipp==3.19.2 20 | -e opentelemetry-instrumentation 21 | -e instrumentation/opentelemetry-instrumentation-tortoiseorm 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tornado/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | certifi==2024.7.4 3 | charset-normalizer==3.3.2 4 | click==8.1.7 5 | Deprecated==1.2.14 6 | http_server_mock==1.7 7 | idna==3.7 8 | iniconfig==2.0.0 9 | packaging==24.0 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | requests==2.32.3 14 | tomli==2.0.1 15 | tornado==6.4.2 16 | typing_extensions==4.12.2 17 | urllib3==2.2.2 18 | wrapt==1.16.0 19 | zipp==3.19.2 20 | -e opentelemetry-instrumentation 21 | -e util/opentelemetry-util-http 22 | -e instrumentation/opentelemetry-instrumentation-tornado 23 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | Django==3.2.25 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | pluggy==1.5.0 7 | py-cpuinfo==9.0.0 8 | pytest==7.4.4 9 | pytz==2024.1 10 | sqlparse==0.5.0 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-wsgi 17 | -e instrumentation/opentelemetry-instrumentation-asgi 18 | -e util/opentelemetry-util-http 19 | -e instrumentation/opentelemetry-instrumentation-django 20 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-flask/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | click==8.1.7 3 | Deprecated==1.2.14 4 | Flask==2.1.3 5 | iniconfig==2.0.0 6 | itsdangerous==2.1.2 7 | Jinja2==3.1.6 8 | MarkupSafe==2.1.2 9 | packaging==24.0 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | Werkzeug==2.3.8 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-wsgi 20 | -e util/opentelemetry-util-http 21 | -e instrumentation/opentelemetry-instrumentation-flask 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-flask/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | click==8.1.7 3 | Deprecated==1.2.14 4 | Flask==2.2.0 5 | iniconfig==2.0.0 6 | itsdangerous==2.1.2 7 | Jinja2==3.1.6 8 | MarkupSafe==2.1.2 9 | packaging==24.0 10 | pluggy==1.5.0 11 | py-cpuinfo==9.0.0 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | Werkzeug==2.3.8 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | -e opentelemetry-instrumentation 19 | -e instrumentation/opentelemetry-instrumentation-wsgi 20 | -e util/opentelemetry-util-http 21 | -e instrumentation/opentelemetry-instrumentation-flask 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-httpx/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | anyio==4.3.0 2 | asgiref==3.8.1 3 | certifi==2024.7.4 4 | Deprecated==1.2.14 5 | exceptiongroup==1.2.0 6 | h11==0.14.0 7 | httpcore==1.0.4 8 | httpx==0.27.0 9 | idna==3.7 10 | iniconfig==2.0.0 11 | packaging==24.0 12 | pluggy==1.5.0 13 | py-cpuinfo==9.0.0 14 | pytest==7.4.4 15 | respx==0.20.2 16 | sniffio==1.3.1 17 | tomli==2.0.1 18 | typing_extensions==4.12.2 19 | wrapt==1.16.0 20 | zipp==3.19.2 21 | -e opentelemetry-instrumentation 22 | -e util/opentelemetry-util-http 23 | -e instrumentation/opentelemetry-instrumentation-httpx 24 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/examples/zero-code/main.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from openai import OpenAI 4 | 5 | 6 | def main(): 7 | client = OpenAI() 8 | chat_completion = client.chat.completions.create( 9 | model=os.getenv("CHAT_MODEL", "gpt-4o-mini"), 10 | messages=[ 11 | { 12 | "role": "user", 13 | "content": "Write a short poem on OpenTelemetry.", 14 | }, 15 | ], 16 | ) 17 | print(chat_completion.choices[0].message.content) 18 | 19 | 20 | if __name__ == "__main__": 21 | main() 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/examples/bedrock-runtime/zero-code/.env: -------------------------------------------------------------------------------- 1 | # Update this with your real values 2 | AWS_ACCESS_KEY_ID=key 3 | AWS_SECRET_ACCESS_KEY=secret 4 | AWS_DEFAULT_REGION=eu-central-1 5 | # Uncomment and set if your credentials are temporary 6 | # AWS_SESSION_TOKEN= 7 | 8 | # Uncomment and change to your OTLP endpoint 9 | # OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 10 | # OTEL_EXPORTER_OTLP_PROTOCOL=grpc 11 | 12 | OTEL_SERVICE_NAME=opentelemetry-python-bedrock 13 | 14 | # Uncomment if your OTLP endpoint doesn't support logs 15 | # OTEL_LOGS_EXPORTER=console 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | backports.zoneinfo==0.2.1 3 | Deprecated==1.2.14 4 | Django==4.2.17 5 | iniconfig==2.0.0 6 | packaging==24.0 7 | pluggy==1.5.0 8 | py-cpuinfo==9.0.0 9 | pytest==7.4.4 10 | sqlparse==0.5.0 11 | tomli==2.0.1 12 | typing_extensions==4.12.2 13 | wrapt==1.16.0 14 | zipp==3.19.2 15 | -e opentelemetry-instrumentation 16 | -e instrumentation/opentelemetry-instrumentation-wsgi 17 | -e instrumentation/opentelemetry-instrumentation-asgi 18 | -e util/opentelemetry-util-http 19 | -e instrumentation/opentelemetry-instrumentation-django 20 | -------------------------------------------------------------------------------- /opentelemetry-distro/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Distro 2 | ==================== 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-distro.svg 7 | :target: https://pypi.org/project/opentelemetry-distro/ 8 | 9 | Installation 10 | ------------ 11 | 12 | :: 13 | 14 | pip install opentelemetry-distro 15 | 16 | 17 | This package provides entrypoints to configure OpenTelemetry. 18 | 19 | References 20 | ---------- 21 | 22 | * `OpenTelemetry Project `_ 23 | * `Example using opentelemetry-distro `_ 24 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-flask/test-requirements-2.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | blinker==1.7.0 3 | click==8.1.7 4 | Deprecated==1.2.14 5 | Flask==3.0.2 6 | iniconfig==2.0.0 7 | itsdangerous==2.1.2 8 | Jinja2==3.1.6 9 | MarkupSafe==2.1.2 10 | packaging==24.0 11 | pluggy==1.5.0 12 | py-cpuinfo==9.0.0 13 | pytest==7.4.4 14 | tomli==2.0.1 15 | typing_extensions==4.12.2 16 | Werkzeug==3.0.6 17 | wrapt==1.16.0 18 | zipp==3.19.2 19 | -e opentelemetry-instrumentation 20 | -e instrumentation/opentelemetry-instrumentation-wsgi 21 | -e util/opentelemetry-util-http 22 | -e instrumentation/opentelemetry-instrumentation-flask 23 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-httpx/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | anyio==3.7.1 2 | asgiref==3.8.1 3 | certifi==2024.7.4 4 | Deprecated==1.2.14 5 | exceptiongroup==1.2.0 6 | h11==0.12.0 7 | httpcore==0.13.7 8 | httpx==0.18.2 9 | idna==3.7 10 | iniconfig==2.0.0 11 | packaging==24.0 12 | pluggy==1.5.0 13 | py-cpuinfo==9.0.0 14 | pytest==7.4.4 15 | respx==0.17.1 16 | rfc3986==1.5.0 17 | sniffio==1.3.1 18 | tomli==2.0.1 19 | typing_extensions==4.12.2 20 | wrapt==1.16.0 21 | zipp==3.19.2 22 | -e opentelemetry-instrumentation 23 | -e util/opentelemetry-util-http 24 | -e instrumentation/opentelemetry-instrumentation-httpx 25 | -------------------------------------------------------------------------------- /scripts/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | function cov { 6 | pytest \ 7 | --cov ${1} \ 8 | --cov-append \ 9 | --cov-branch \ 10 | --cov-report='' \ 11 | ${1} 12 | } 13 | 14 | coverage erase 15 | 16 | cov instrumentation/opentelemetry-instrumentation-flask 17 | cov instrumentation/opentelemetry-instrumentation-requests 18 | cov instrumentation/opentelemetry-instrumentation-wsgi 19 | cov instrumentation/opentelemetry-instrumentation-aiohttp-client 20 | cov instrumentation/opentelemetry-instrumentation-asgi 21 | 22 | 23 | coverage report --show-missing 24 | coverage xml 25 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## Unreleased 9 | 10 | - Update `opentelemetry-api` version to 1.16 11 | ([#2961](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2961)) 12 | 13 | ## Version 1.0.2 (2024-08-05) 14 | 15 | See [common CHANGELOG](../../CHANGELOG.md) for the changes in this and prior versions. 16 | 17 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | certifi==2024.7.4 3 | charset-normalizer==3.3.2 4 | Deprecated==1.2.14 5 | idna==3.7 6 | iniconfig==2.0.0 7 | packaging==24.0 8 | pluggy==1.5.0 9 | py-cpuinfo==9.0.0 10 | pytest==7.4.4 11 | pytest-benchmark==4.0.0 12 | requests==2.32.3 13 | tomli==2.0.1 14 | typing_extensions==4.12.2 15 | urllib3==2.2.2 16 | wrapt==1.16.0 17 | zipp==3.19.2 18 | opentelemetry-api==1.16 # when updating, also update in pyproject.toml 19 | opentelemetry-sdk==1.16 # when updating, also update in pyproject.toml 20 | 21 | -e propagator/opentelemetry-propagator-aws-xray 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiohttp-server/test-requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.10.2 2 | aiosignal==1.3.1 3 | asgiref==3.8.1 4 | async-timeout==4.0.3 5 | Deprecated==1.2.14 6 | frozenlist==1.4.1 7 | idna==3.7 8 | iniconfig==2.0.0 9 | multidict==6.0.5 10 | packaging==24.0 11 | pluggy==1.5.0 12 | py-cpuinfo==9.0.0 13 | pytest==7.4.4 14 | pytest-aiohttp==1.0.5 15 | pytest-asyncio==0.23.5 16 | tomli==2.0.1 17 | typing_extensions==4.12.2 18 | wrapt==1.16.0 19 | yarl==1.9.4 20 | zipp==3.19.2 21 | -e opentelemetry-instrumentation 22 | -e util/opentelemetry-util-http 23 | -e instrumentation/opentelemetry-instrumentation-aiohttp-server 24 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/examples/zero-code/.env.example: -------------------------------------------------------------------------------- 1 | # Update this with your real OpenAI API key 2 | OPENAI_API_KEY=sk-YOUR_API_KEY 3 | 4 | # Uncomment and adjust if you use a non-default OTLP collector endpoint 5 | # OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 6 | # OTEL_EXPORTER_OTLP_PROTOCOL=grpc 7 | 8 | OTEL_SERVICE_NAME=opentelemetry-python-openai-agents-zero-code 9 | 10 | # Enable auto-instrumentation for logs if desired 11 | OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true 12 | 13 | # Optionally override the agent name reported on spans 14 | # OTEL_GENAI_AGENT_NAME=Travel Concierge 15 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/examples/manual/.env: -------------------------------------------------------------------------------- 1 | # Update this with your real OpenAI API key 2 | OPENAI_API_KEY=sk-YOUR_API_KEY 3 | 4 | # Uncomment to use Ollama instead of OpenAI 5 | # OPENAI_BASE_URL=http://localhost:11434/v1 6 | # OPENAI_API_KEY=unused 7 | # CHAT_MODEL=qwen2.5:0.5b 8 | 9 | # Uncomment and change to your OTLP endpoint 10 | # OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 11 | # OTEL_EXPORTER_OTLP_PROTOCOL=grpc 12 | 13 | OTEL_SERVICE_NAME=opentelemetry-python-openai 14 | 15 | # Change to 'false' to hide prompt and completion content 16 | OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true 17 | -------------------------------------------------------------------------------- /scripts/license_header.txt: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/examples/bedrock-runtime/zero-code/converse.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | import boto3 4 | 5 | 6 | def main(): 7 | client = boto3.client("bedrock-runtime") 8 | response = client.converse( 9 | modelId=os.getenv("CHAT_MODEL", "amazon.titan-text-lite-v1"), 10 | messages=[ 11 | { 12 | "role": "user", 13 | "content": [{"text": "Write a short poem on OpenTelemetry."}], 14 | }, 15 | ], 16 | ) 17 | 18 | print(response["output"]["message"]["content"][0]["text"]) 19 | 20 | 21 | if __name__ == "__main__": 22 | main() 23 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-cassandra/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | cassandra-driver==3.29.0 3 | pyasyncore==1.0.4 # for python 3.13 (should removed when cassandra-driver replaces asyncore with recommended asyncio) 4 | click==8.1.7 5 | Deprecated==1.2.14 6 | geomet==0.2.1.post1 7 | iniconfig==2.0.0 8 | packaging==24.0 9 | pluggy==1.5.0 10 | py-cpuinfo==9.0.0 11 | pytest==7.4.4 12 | PyYAML==6.0.1 13 | scylla-driver==3.26.6 14 | six==1.16.0 15 | tomli==2.0.1 16 | typing_extensions==4.12.2 17 | wrapt==1.16.0 18 | zipp==3.19.2 19 | -e opentelemetry-instrumentation 20 | -e instrumentation/opentelemetry-instrumentation-cassandra 21 | -------------------------------------------------------------------------------- /.github/workflows/generate_workflows.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | from generate_workflows_lib import ( 4 | generate_contrib_workflow, 5 | generate_lint_workflow, 6 | generate_misc_workflow, 7 | generate_test_workflow, 8 | ) 9 | 10 | tox_ini_path = Path(__file__).parent.parent.parent.joinpath("tox.ini") 11 | workflows_directory_path = Path(__file__).parent 12 | 13 | generate_test_workflow(tox_ini_path, workflows_directory_path, "ubuntu-latest") 14 | generate_lint_workflow(tox_ini_path, workflows_directory_path) 15 | generate_misc_workflow(tox_ini_path, workflows_directory_path) 16 | generate_contrib_workflow(workflows_directory_path) 17 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/stubs/wrapt.py: -------------------------------------------------------------------------------- 1 | class ObjectProxy: 2 | """Minimal stand-in for wrapt.ObjectProxy used in tests.""" 3 | 4 | def __init__(self, wrapped): 5 | self.__wrapped__ = wrapped 6 | 7 | def __getattr__(self, item): 8 | return getattr(self.__wrapped__, item) 9 | 10 | def __setattr__(self, key, value): 11 | if key == "__wrapped__": 12 | super().__setattr__(key, value) 13 | else: 14 | setattr(self.__wrapped__, key, value) 15 | 16 | def __call__(self, *args, **kwargs): 17 | return self.__wrapped__(*args, **kwargs) 18 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | SOURCEDIR = . 8 | BUILDDIR = _build 9 | 10 | # Put it first so that "make" without argument is like "make help". 11 | help: 12 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 13 | 14 | .PHONY: help Makefile 15 | 16 | # Catch-all target: route all unknown targets to Sphinx using the new 17 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 18 | %: Makefile 19 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 20 | -------------------------------------------------------------------------------- /rtd-requirements.txt: -------------------------------------------------------------------------------- 1 | # Need to install the api/sdk in the venv for autodoc. Used by .readthedocs.yml 2 | opentelemetry-api @ git+https://github.com/open-telemetry/opentelemetry-python.git@main#egg=opentelemetry-api&subdirectory=opentelemetry-api 3 | opentelemetry-semantic-conventions @ git+https://github.com/open-telemetry/opentelemetry-python.git@main#egg=opentelemetry-semantic-conventions&subdirectory=opentelemetry-semantic-conventions 4 | opentelemetry-sdk @ git+https://github.com/open-telemetry/opentelemetry-python.git@main#egg=opentelemetry-sdk&subdirectory=opentelemetry-sdk 5 | ./opentelemetry-instrumentation 6 | ./util/opentelemetry-util-http 7 | -r ./docs-requirements.txt 8 | -------------------------------------------------------------------------------- /_template/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-celery/test-requirements-1.txt: -------------------------------------------------------------------------------- 1 | amqp==5.2.0 2 | asgiref==3.8.1 3 | billiard==4.2.1 4 | celery==5.3.6 5 | click==8.1.7 6 | click-didyoumean==0.3.0 7 | click-plugins==1.1.1 8 | click-repl==0.3.0 9 | Deprecated==1.2.14 10 | iniconfig==2.0.0 11 | kombu==5.3.5 12 | packaging==24.0 13 | pluggy==1.5.0 14 | prompt-toolkit==3.0.43 15 | py-cpuinfo==9.0.0 16 | pytest==7.4.4 17 | python-dateutil==2.8.2 18 | six==1.16.0 19 | tomli==2.0.1 20 | typing_extensions==4.12.2 21 | tzdata==2024.1 22 | vine==5.1.0 23 | wcwidth==0.2.13 24 | wrapt==1.16.0 25 | zipp==3.19.2 26 | -e opentelemetry-instrumentation 27 | -e instrumentation/opentelemetry-instrumentation-celery 28 | -------------------------------------------------------------------------------- /processor/opentelemetry-processor-baggage/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/tests/trace/sampler/data/get-sampling-targets-response-sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "LastRuleModification": 1707551387.0, 3 | "SamplingTargetDocuments": [ 4 | { 5 | "FixedRate": 0.10, 6 | "Interval": 10, 7 | "ReservoirQuota": 30, 8 | "ReservoirQuotaTTL": 1707764006.0, 9 | "RuleName": "test" 10 | }, 11 | { 12 | "FixedRate": 0.05, 13 | "Interval": 10, 14 | "ReservoirQuota": 0, 15 | "ReservoirQuotaTTL": 1707764006.0, 16 | "RuleName": "Default" 17 | } 18 | ], 19 | "UnprocessedStatistics": [] 20 | } -------------------------------------------------------------------------------- /.github/workflows/generate_workflows_lib/hatch_build.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | from hatchling.builders.hooks.plugin.interface import BuildHookInterface 4 | 5 | 6 | class CustomBuildHook(BuildHookInterface): 7 | def initialize(self, version, build_data): 8 | with open( 9 | Path(__file__).parent.parent.parent.parent.joinpath("tox.ini") 10 | ) as tox_ini_file_0: 11 | with open( 12 | Path(__file__).parent.joinpath( 13 | "src/generate_workflows_lib/tox.ini" 14 | ), 15 | "w", 16 | ) as tox_ini_file_1: 17 | tox_ini_file_1.write(tox_ini_file_0.read()) 18 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-azure/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /tests/opentelemetry-docker-tests/tests/sqlalchemy_tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncio/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-redis/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /util/opentelemetry-util-genai/src/opentelemetry/util/genai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlalchemy/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: https://github.com/astral-sh/ruff-pre-commit 3 | # Ruff version. 4 | rev: v0.14.1 5 | hooks: 6 | # Run the linter. 7 | - id: ruff 8 | args: ["--fix", "--show-fixes"] 9 | # Run the formatter. 10 | - id: ruff-format 11 | - repo: https://github.com/astral-sh/uv-pre-commit 12 | # uv version. 13 | rev: 0.6.0 14 | hooks: 15 | - id: uv-lock 16 | - repo: https://github.com/rstcheck/rstcheck 17 | rev: 77490ffa33bfc0928975ae3cf904219903db755d # frozen: v6.2.5 18 | hooks: 19 | - id: rstcheck 20 | additional_dependencies: ['rstcheck[sphinx]'] 21 | args: ["--report-level", "warning"] 22 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/stubs/agents/tracing/processor_interface.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | 4 | class TracingProcessor: 5 | def on_trace_start(self, trace): # pragma: no cover - stub 6 | pass 7 | 8 | def on_trace_end(self, trace): # pragma: no cover - stub 9 | pass 10 | 11 | def on_span_start(self, span): # pragma: no cover - stub 12 | pass 13 | 14 | def on_span_end(self, span): # pragma: no cover - stub 15 | pass 16 | 17 | def shutdown(self) -> None: # pragma: no cover - stub 18 | pass 19 | 20 | def force_flush(self) -> None: # pragma: no cover - stub 21 | pass 22 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/tests/README.md: -------------------------------------------------------------------------------- 1 | ## Recording calls 2 | 3 | If you need to record calls you may need to export authentication variables and the default region as environment 4 | variables in order to have the code work properly. The recorded tests assume the region us-east-1, so ensure that 5 | AWS_DEFAULT_REGION is set accordingly when recording new calls. 6 | Since tox blocks environment variables by default you need to override its configuration to let them pass: 7 | 8 | ``` 9 | export TOX_OVERRIDE=testenv.pass_env=AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_DEFAULT_REGION 10 | ``` 11 | 12 | We are not adding it to tox.ini because of security concerns. 13 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-click/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | blinker==1.7.0 3 | click==8.1.7 4 | Deprecated==1.2.14 5 | Flask==3.0.2 6 | iniconfig==2.0.0 7 | itsdangerous==2.1.2 8 | Jinja2==3.1.6 9 | MarkupSafe==2.1.2 10 | packaging==24.0 11 | pluggy==1.5.0 12 | py-cpuinfo==9.0.0 13 | pytest==7.4.4 14 | pytest-asyncio==0.23.5 15 | tomli==2.0.1 16 | typing_extensions==4.12.2 17 | Werkzeug==3.0.6 18 | wrapt==1.16.0 19 | zipp==3.19.2 20 | -e opentelemetry-instrumentation 21 | -e instrumentation/opentelemetry-instrumentation-click 22 | -e instrumentation/opentelemetry-instrumentation-flask 23 | -e instrumentation/opentelemetry-instrumentation-wsgi 24 | -e util/opentelemetry-util-http 25 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/tests/trace/sampler/data/test-remote-sampler_sampling-targets-response-sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "LastRuleModification": 1707551387.0, 3 | "SamplingTargetDocuments": [ 4 | { 5 | "FixedRate": 0.0, 6 | "Interval": 100000, 7 | "ReservoirQuota": 100000, 8 | "ReservoirQuotaTTL": 9999999999.0, 9 | "RuleName": "test" 10 | }, 11 | { 12 | "FixedRate": 0.0, 13 | "Interval": 1000, 14 | "ReservoirQuota": 100, 15 | "ReservoirQuotaTTL": 9999999999.0, 16 | "RuleName": "Default" 17 | } 18 | ], 19 | "UnprocessedStatistics": [] 20 | } -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-celery/test-requirements-0.txt: -------------------------------------------------------------------------------- 1 | amqp==5.2.0 2 | asgiref==3.8.1 3 | backports.zoneinfo==0.2.1 4 | billiard==4.2.0 5 | celery==5.3.6 6 | click==8.1.7 7 | click-didyoumean==0.3.0 8 | click-plugins==1.1.1 9 | click-repl==0.3.0 10 | Deprecated==1.2.14 11 | iniconfig==2.0.0 12 | kombu==5.3.5 13 | packaging==24.0 14 | pluggy==1.5.0 15 | prompt-toolkit==3.0.43 16 | py-cpuinfo==9.0.0 17 | pytest==7.4.4 18 | python-dateutil==2.8.2 19 | six==1.16.0 20 | tomli==2.0.1 21 | typing_extensions==4.12.2 22 | tzdata==2024.1 23 | vine==5.1.0 24 | wcwidth==0.2.13 25 | wrapt==1.16.0 26 | zipp==3.19.2 27 | -e opentelemetry-instrumentation 28 | -e instrumentation/opentelemetry-instrumentation-celery 29 | -------------------------------------------------------------------------------- /opentelemetry-distro/src/opentelemetry/distro/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/conftest.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | import sys 4 | from pathlib import Path 5 | 6 | TESTS_ROOT = Path(__file__).resolve().parent 7 | GENAI_ROOT = TESTS_ROOT.parent 8 | REPO_ROOT = GENAI_ROOT.parent 9 | PROJECT_ROOT = REPO_ROOT.parent 10 | 11 | for path in ( 12 | PROJECT_ROOT / "opentelemetry-instrumentation" / "src", 13 | GENAI_ROOT / "src", 14 | PROJECT_ROOT / "util" / "opentelemetry-util-genai" / "src", 15 | REPO_ROOT / "openai_agents_lib", 16 | REPO_ROOT / "openai_lib", 17 | TESTS_ROOT / "stubs", 18 | ): 19 | path_str = str(path) 20 | if path_str not in sys.path: 21 | sys.path.insert(0, path_str) 22 | -------------------------------------------------------------------------------- /util/opentelemetry-util-genai/src/opentelemetry/util/genai/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.3b0.dev" 16 | -------------------------------------------------------------------------------- /util/opentelemetry-util-http/src/opentelemetry/util/http/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pika/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry pika Instrumentation 2 | ================================== 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-pika.svg 7 | :target: https://pypi.org/project/opentelemetry-instrumentation-pika/ 8 | 9 | This library allows tracing requests made by the pika library. 10 | 11 | Installation 12 | ------------ 13 | 14 | :: 15 | 16 | pip install opentelemetry-instrumentation-pika 17 | 18 | References 19 | ---------- 20 | 21 | * `OpenTelemetry pika/ Tracing `_ 22 | * `OpenTelemetry Project `_ 23 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pyramid/test-requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.8.1 2 | Deprecated==1.2.14 3 | hupper==1.12.1 4 | iniconfig==2.0.0 5 | packaging==24.0 6 | PasteDeploy==3.1.0 7 | plaster==1.1.2 8 | plaster-pastedeploy==1.0.1 9 | pluggy==1.5.0 10 | py-cpuinfo==9.0.0 11 | pyramid==2.0.2 12 | pytest==7.4.4 13 | tomli==2.0.1 14 | translationstring==1.4 15 | typing_extensions==4.12.2 16 | venusian==3.1.0 17 | WebOb==1.8.8 18 | Werkzeug==3.0.6 19 | wrapt==1.16.0 20 | zipp==3.19.2 21 | zope.deprecation==5.0 22 | zope.interface==6.2 23 | -e opentelemetry-instrumentation 24 | -e instrumentation/opentelemetry-instrumentation-wsgi 25 | -e util/opentelemetry-util-http 26 | -e instrumentation/opentelemetry-instrumentation-pyramid 27 | -------------------------------------------------------------------------------- /opentelemetry-instrumentation/src/opentelemetry/instrumentation/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/src/opentelemetry/instrumentation/anthropic/patch.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /processor/opentelemetry-processor-baggage/src/opentelemetry/processor/baggage/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-aws-xray/src/opentelemetry/propagators/aws/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "1.1.0.dev" 16 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-richconsole/src/opentelemetry/exporter/richconsole/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-click/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry click Instrumentation 2 | ==================================== 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-click.svg 7 | :target: https://pypi.org/project/opentelemetry-instrumentation-click/ 8 | 9 | This library allows tracing requests made by the click library. 10 | 11 | Installation 12 | ------------ 13 | 14 | 15 | :: 16 | 17 | pip install opentelemetry-instrumentation-click 18 | 19 | 20 | References 21 | ---------- 22 | 23 | * `OpenTelemetry click/ Tracing `_ 24 | * `OpenTelemetry Project `_ 25 | -------------------------------------------------------------------------------- /opentelemetry-contrib-instrumentations/src/opentelemetry/contrib-instrumentations/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /propagator/opentelemetry-propagator-ot-trace/src/opentelemetry/propagators/ot_trace/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.2.0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-azure/src/opentelemetry/resource/detector/azure/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.2.0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiopg/src/opentelemetry/instrumentation/aiopg/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | _instruments = tuple() 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-click/src/opentelemetry/instrumentation/click/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = tuple() 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysql/src/opentelemetry/instrumentation/mysql/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib/src/opentelemetry/instrumentation/urllib/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /_template/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Instrumentation 2 | ========================================== 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-.svg 7 | :target: https://pypi.org/project/opentelemetry-instrumentation-/ 8 | 9 | This library allows tracing requests made by the library. 10 | 11 | Installation 12 | ------------ 13 | 14 | 15 | :: 16 | 17 | pip install opentelemetry-instrumentation- 18 | 19 | 20 | References 21 | ---------- 22 | 23 | * `OpenTelemetry REPLACE ME/ Tracing `_ 24 | * `OpenTelemetry Project `_ 25 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-credential-provider-gcp/src/opentelemetry/gcp_credential_provider/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-google-genai/TODOS.md: -------------------------------------------------------------------------------- 1 | # TODOs 2 | 3 | ## Fundamentals 4 | 5 | Here are some TODO items required to achieve stability for this package: 6 | 7 | - Add more span-level attributes for response information 8 | - Verify and correct formatting of events: 9 | - Including the 'role' field for message events 10 | - Including tool invocation information 11 | - Emit events for safety ratings when they block responses 12 | - Additional cleanup/improvement tasks such as: 13 | - Adoption of 'wrapt' instead of 'functools.wraps' 14 | - Bolstering test coverage 15 | 16 | ## Future 17 | 18 | Beyond the above TODOs, it would also be desirable to extend the 19 | instrumentation beyond `generate_content` to other API surfaces. -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aio-pika/src/opentelemetry/instrumentation/aio_pika/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiokafka/src/opentelemetry/instrumentation/aiokafka/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncpg/src/opentelemetry/instrumentation/asyncpg/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("boto~=2.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-boto3sqs/src/opentelemetry/instrumentation/boto3sqs/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/examples/bedrock-runtime/zero-code/invoke_model.py: -------------------------------------------------------------------------------- 1 | import json 2 | import os 3 | 4 | import boto3 5 | 6 | 7 | def main(): 8 | client = boto3.client("bedrock-runtime") 9 | response = client.invoke_model( 10 | modelId=os.getenv("CHAT_MODEL", "amazon.titan-text-lite-v1"), 11 | body=json.dumps( 12 | { 13 | "inputText": "Write a short poem on OpenTelemetry.", 14 | "textGenerationConfig": {}, 15 | }, 16 | ), 17 | ) 18 | 19 | body = response["body"].read() 20 | response_data = json.loads(body.decode("utf-8")) 21 | print(response_data["results"][0]["outputText"]) 22 | 23 | 24 | if __name__ == "__main__": 25 | main() 26 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-cassandra/src/opentelemetry/instrumentation/cassandra/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-kafka-python/src/opentelemetry/instrumentation/kafka/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = tuple() 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg/src/opentelemetry/instrumentation/psycopg/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymssql/src/opentelemetry/instrumentation/pymssql/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymysql/src/opentelemetry/instrumentation/pymysql/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pyramid/src/opentelemetry/instrumentation/pyramid/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-remoulade/src/opentelemetry/instrumentation/remoulade/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-requests/src/opentelemetry/instrumentation/requests/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-starlette/src/opentelemetry/instrumentation/starlette/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/src/opentelemetry/instrumentation/anthropic/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.0b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.0b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-openai-v2/src/opentelemetry/instrumentation/openai_v2/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.3b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.2b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-weaviate/src/opentelemetry/instrumentation/weaviate/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "2.0b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncclick/src/opentelemetry/instrumentation/asyncclick/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = tuple() 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry gRPC Integration 2 | ============================== 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-grpc.svg 7 | :target: https://pypi.org/project/opentelemetry-instrumentation-grpc/ 8 | 9 | Client and server interceptors for `gRPC Python`_. 10 | 11 | .. _gRPC Python: https://grpc.github.io/grpc/python/grpc.html 12 | 13 | Installation 14 | ------------ 15 | 16 | :: 17 | 18 | pip install opentelemetry-instrumentation-grpc 19 | 20 | 21 | References 22 | ---------- 23 | 24 | * `OpenTelemetry Project `_ 25 | * `OpenTelemetry Python Examples `_ -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-mysqlclient/src/opentelemetry/instrumentation/mysqlclient/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymemcache/src/opentelemetry/instrumentation/pymemcache/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("redis >= 2.6",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-sqlalchemy/src/opentelemetry/instrumentation/sqlalchemy/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-tortoiseorm/src/opentelemetry/instrumentation/tortoiseorm/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /resource/opentelemetry-resource-detector-containerid/src/opentelemetry/resource/detector/containerid/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /exporter/opentelemetry-exporter-prometheus-remote-write/src/opentelemetry/exporter/prometheus_remote_write/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-elasticsearch/src/opentelemetry/instrumentation/elasticsearch/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("grpcio >= 1.42.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-pymysql/src/opentelemetry/instrumentation/pymysql/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("PyMySQL < 2",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-aiohttp-client/src/opentelemetry/instrumentation/aiohttp_client/version.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020, OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-asyncpg/src/opentelemetry/instrumentation/asyncpg/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("asyncpg >= 0.12.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("botocore ~= 1.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("celery >= 4.0, < 6.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-click/src/opentelemetry/instrumentation/click/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("click >= 8.1.3, < 9.0.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/version.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __version__ = "0.61b0.dev" 16 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-jinja2/src/opentelemetry/instrumentation/jinja2/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | _instruments = ("jinja2 >= 2.7, < 4.0",) 17 | -------------------------------------------------------------------------------- /instrumentation/opentelemetry-instrumentation-remoulade/src/opentelemetry/instrumentation/remoulade/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | _instruments = ("remoulade >= 0.50",) 16 | -------------------------------------------------------------------------------- /opentelemetry-contrib-instrumentations/README.rst: -------------------------------------------------------------------------------- 1 | OpenTelemetry Instrumentation 2 | ============================= 3 | 4 | |pypi| 5 | 6 | .. |pypi| image:: https://badge.fury.io/py/opentelemetry-contrib-instrumentations.svg 7 | :target: https://pypi.org/project/opentelemetry-contrib-instrumentations/ 8 | 9 | Installation 10 | ------------ 11 | 12 | :: 13 | 14 | pip install opentelemetry-contrib-instrumentations 15 | 16 | 17 | This package installs all instrumentation packages hosted by the OpenTelemetry Python Contrib repository. 18 | The list of packages can be found `here `_. 19 | 20 | 21 | References 22 | ---------- 23 | 24 | * `OpenTelemetry Project `_ 25 | -------------------------------------------------------------------------------- /instrumentation-genai/opentelemetry-instrumentation-anthropic/src/opentelemetry/instrumentation/anthropic/package.py: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | _instruments = ("anthropic >= 0.3.0",) 16 | --------------------------------------------------------------------------------