opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Feature Request: automatic instrumentation for asyncclick

Open jomcgi opened this issue 8 months ago • 0 comments
trafficstars

What problem do you want to solve?

asyncclick is an async fork of click. The existing click autoinstrumentation is compatible if you patch the import: import click -> import asyncclick as click

Describe the solution you'd like

A separate autoinstrumentation package for the async fork of click.

Describe alternatives you've considered

Coupling this to the existing click autoinstrumentation adds an unnecessary dependency for most existing users and could become more complex as the libraries diverge. A little duplication is better than a little coupling.

Additional Context

Related issue for a project using asyncclick: https://github.com/tahnok/colmi_r02_client/issues/38

Would you like to implement a fix?

Yes

jomcgi avatar Mar 02 '25 20:03 jomcgi