-
Notifications
You must be signed in to change notification settings - Fork 673
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
Add asyncclick instrumentation #3319
Add asyncclick instrumentation #3319
Conversation
874ba33
to
17b14da
Compare
a1b5c89
to
ff0d7fd
Compare
23d64e8
to
bac1c1b
Compare
d0b2350
to
ae61899
Compare
...elemetry-instrumentation-asyncclick/src/opentelemetry/instrumentation/asyncclick/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wdyt add that to the pyright strict list in pyproject.toml?
instrumentation/opentelemetry-instrumentation-asyncclick/README.rst
Outdated
Show resolved
Hide resolved
...elemetry-instrumentation-asyncclick/src/opentelemetry/instrumentation/asyncclick/__init__.py
Outdated
Show resolved
Hide resolved
ae61899
to
f0759b7
Compare
Done! |
f0759b7
to
9d09175
Compare
* Add instrumentation for asyncclick based CLI apps * Add tox * Add Changelog * Update workflows This implementation is based on the original click instrumentation work by: - Emídio Neto <9735060+emdneto@users.noreply.github.com> - Anuraag (Rag) Agrawal <anuraaga@gmail.com> - Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
9d09175
to
69d88e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work so far on this one. I'll share this in SIG tomorrow and see if we can at least create the package in PyPI while this doesn't get merged.
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Thanks! I'll try to attend too. |
...elemetry-instrumentation-asyncclick/src/opentelemetry/instrumentation/asyncclick/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the small nit in the example LGTM. Hopefully this is not used by long running servers and so we may never need to introduce code to disable the instrumentation in these cases.
Description
This implementation is based on the original click instrumentation work by:
Fixes #3318
Type of change
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.