In order for users of psycopg2 to take advantage of opentelemetry-auto-instrumentation, the following needs to happen:
- add a class implementing the
BaseInstrumentor interface. here is an example for ext/pymysql
- an entrypoint must be added to
setup.cfg. here is an example for ext/pymsql
- tests added to ensure the new instrumentor behaves as expected. here is an example for ext/pymysql
- the documentation must be updated to reflect the new method of instrumenting psycopg2 applications
- CHANGELOG.md must be updated
In order for users of psycopg2 to take advantage of
opentelemetry-auto-instrumentation, the following needs to happen:BaseInstrumentorinterface. here is an example for ext/pymysqlsetup.cfg. here is an example for ext/pymsql