Add pymssql instrumentation#394
Conversation
|
It seems from the CI logs that pymssql does not build for pypy3. Would it be acceptable to disable pypy3 support in the tests for this instrumentation? |
|
Also, the docs fails to build because of this error: sphinx.errors.SphinxWarning: autodoc: failed to import module 'pymssql' from module 'opentelemetry.instrumentation'; the following exception was raised: I'm trying to figure out my error, can someone experienced with the repo help? |
0860e38 to
92d7340
Compare
|
I had to subclass |
92d7340 to
faeea0a
Compare
|
|
0e2df03 to
b93ad00
Compare
|
@guillaumep |
|
@lzchen I was expecting help with the issues I mentioned in the comments above, but since I never got any replies up to now I had put this work aside. pymssql instrumention is still a feature we want at work (outbox.com), so if I can have proper support regarding my questions I'll be glad to finish this PR. Let me rebase the PR this week and post back here with the current issues I will have. |
|
@guillaumep |
17d054f to
0333424
Compare
|
|
96980a5 to
4cc4753
Compare
|
@lzchen now ready for review! |
Thanks for the patience on this review. Would you be able to add your name to component-owners.yml? |
For now yes. |
8527255 to
986041c
Compare
37bcf17 to
01f7b13
Compare
lzchen
left a comment
There was a problem hiding this comment.
Couple of unresolved comments but other than that LGTM
xrmx
left a comment
There was a problem hiding this comment.
With the versioning fixed and the bootstrap_gen updated LGTM
a6c7885 to
6d4377a
Compare
|
@guillaumep please run |
6d4377a to
2450145
Compare
|
What would be your recommendation to use the package as long as it has not been published yet @guillaumep ? |
There should be a release shortly, in one or two weeks. In the meantime you can use the same technique as I suggested here to produce a package you may manuall install using pip: #394 (comment) Installing a local package could be done for a Docker build, copying the file to the Docker image then doing a pip install for example. Please ask a question on Stack Overflow or similar forum if you need help with that. |
* Add pymssql instrumentation * Run tox -e generate * tox -e generate-workflows --------- Co-authored-by: Riccardo Magliocchetti <[email protected]>
Description
This pull request implements instrumentation for the pymssql library (https://pypi.org/project/pymssql/).
It is basically a copy of the pymysql instrumentation.
Still a work-in-progress.
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.