Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PEP 561 to all packages #3125

Open
Kludex opened this issue Dec 20, 2024 · 1 comment
Open

Support PEP 561 to all packages #3125

Kludex opened this issue Dec 20, 2024 · 1 comment

Comments

@Kludex
Copy link
Contributor

Kludex commented Dec 20, 2024

This issue tracks work on supporting PEP 561 on the opentelemetry-python-contrib packages.

Important

Package PEP 561 Pull Requests
opentelemetry-instrumentation-aio-pika
opentelemetry-instrumentation-aiokafka
opentelemetry-instrumentation-aiohttp-client
opentelemetry-instrumentation-aiohttp-server
opentelemetry-instrumentation-aiopg
opentelemetry-instrumentation-asgi
opentelemetry-instrumentation-asyncio
opentelemetry-instrumentation-asyncpg
opentelemetry-instrumentation-aws-lambda
opentelemetry-instrumentation-boto
opentelemetry-instrumentation-boto3sqs
opentelemetry-instrumentation-botocore
opentelemetry-instrumentation-cassandra
opentelemetry-instrumentation-celery
opentelemetry-instrumentation-click
opentelemetry-instrumentation-confluent-kafka
opentelemetry-instrumentation-dbapi
  • Add type hints to dbapi #3068
  • opentelemetry-instrumentation-django
    opentelemetry-instrumentation-elasticsearch
    opentelemetry-instrumentation-falcon
    opentelemetry-instrumentation-fastapi
    opentelemetry-instrumentation-flask
    opentelemetry-instrumentation-grpc
    opentelemetry-instrumentation-httpx
    opentelemetry-instrumentation-jinja2
  • Support PEP 561 to opentelemetry-instrumentation-jinja2 #3137
  • opentelemetry-instrumentation-kafka-python
    opentelemetry-instrumentation-logging
    opentelemetry-instrumentation-mysql
    opentelemetry-instrumentation-mysqlclient
    opentelemetry-instrumentation-pika
    opentelemetry-instrumentation-psycopg
  • Add type hints to psycopg #3067
  • opentelemetry-instrumentation-psycopg2
    opentelemetry-instrumentation-pymemcache
    opentelemetry-instrumentation-pymongo
  • Support PEP 561 to opentelemetry-instrumentation-pymongo #3136
  • opentelemetry-instrumentation-pymysql
    opentelemetry-instrumentation-pyramid ⚠️ Last release was August 2023!
    opentelemetry-instrumentation-remoulade
    opentelemetry-instrumentation-requests
  • Support PEP 561 to opentelemetry-instrumentation-requests #3135
  • opentelemetry-instrumentation-sqlalchemy
    opentelemetry-instrumentation-threading
  • Add type checker #3116
  • opentelemetry-instrumentation-tornado
    opentelemetry-instrumentation-tortoiseorm
    opentelemetry-instrumentation-urllib
  • Support PEP 561 to opentelemetry-instrumentation-urllib #3131
  • opentelemetry-instrumentation-urllib3
  • Support PEP 561 to opentelemetry-instrumentation-urllib3 #3130
  • opentelemetry-instrumentation-wsgi
  • Support PEP 561 to opentelemetry-instrumentation-wsgi #3129
  • opentelemetry-util-http
  • Support PEP 561 to opentelemetry-util-http #3127
  • Click here to see the packages already instrumented! 🚀
    Package PEP 561 Pull Requests
    Package
    opentelemetry-instrumentation-redis
  • Add type hints to Redis #3110
  • opentelemetry-instrumentation-sqlite3
  • Support PEP 561 to opentelemetry-instrumentation-sqlite3 #3133
  • opentelemetry-instrumentation-starlette
  • Add type hints to Starlette instrumentation #3045
  • opentelemetry-instrumentation-system-metrics
  • Support PEP 561 to opentelemetry-instrumentation-system-metrics #3132
  • opentelemetry-distro
    opentelemetry-instrumentation

    Notes

    1. opentelemetry-instrumentation already has a py.typed, but it's missing a lot of type hints. I've opened Improve type hints in opentelemetry.instrumentation.utils #3128 to help a bit there, but we need a type checker to be more efficient.
    2. Add type checker #3116 contains the ty.typed for threading and the type checker PR. Happy to separate if wanted.
    @Kludex
    Copy link
    Contributor Author

    Kludex commented Dec 31, 2024

    I was asked to stop creating PRs till some are reviewed.

    I'll wait for some to be reviewed before continuing.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant