-
Notifications
You must be signed in to change notification settings - Fork 504
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 integerations for socket and grpc #1911
Add integerations for socket and grpc #1911
Conversation
Implement SocketIntegration; patches socket's getaddrinfo and create_connection and adds spans to them
49c8d30
to
61bdaf1
Compare
Implement gRPC ServerInterceptor; starts(or continues) a transaction for each grpc request
61bdaf1
to
41631e4
Compare
docs pull request |
I think this pull request has reached a stable state, would appreciate a review @sl0thentr0py @antonpirker |
… grpc stub Implement gRPC UnaryUnaryClientInterceptor and grpc.UnaryStreamClientInterceptor; starts a span for grpc call and sends propagation headers in metadata
2ba5f54
to
5c2db86
Compare
ty so much for the contribution @Hossain-raeisi , we'll try to get to this next week |
Hey @Hossain-raeisi |
Hey! |
Have not had time yet. Please hang in there. |
Hey @Hossain-raeisi ! Still, there are some errors in CI mostly about typing: Could you fix them? |
Hi @antonpirker |
7f992e3
to
6ce7834
Compare
9573358
to
01a51d3
Compare
Hey @antonpirker! |
I changed now the setup, that GRPC tests are only run in Python 3.7+ (because the protobuffers in the tests did not work with version installed on older pythons) Is this fine with you @Oogwey ? |
I have one more ask @Oogwey , could you please rename |
alright with me 👍 |
510852e
to
d81fe6c
Compare
Done! |
I am not sure why the Python 2.7 tests are suddenly failing, because those are tests you and me did not touch. 🤷 Very strange. (thought it is because of a file called Could you please merge the newest |
strange 🤔 |
Hm. Now all the tests pass. I guess it was a GitHub hiccup, because they had problems with Github actions in the last couple of days. |
Congrats and thanks for you patience @hossein-raeisi ! Really great contribution! Thank you so much! We will release this in the next couple of days. If you would like a little thank you gift please send me your shipping address and t-shirt size to anton.pirker@sentry.io |
thanks, I would love that |
Your contributions have been released @hossein-raeisi : https://github.com/getsentry/sentry-python/releases/tag/1.19.0 |
Use this integration to start or continue transactions for incoming grpc requests, create spans for outgoing requests,
and ensure traces are properly propagated to downstream services.
Docs: getsentry/sentry-docs#6327