Skip to content
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

Support gruf interceptors #16

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Support gruf interceptors #16

merged 2 commits into from
Sep 12, 2024

Conversation

dorner
Copy link
Member

@dorner dorner commented Sep 12, 2024

No description provided.

@@ -203,7 +203,18 @@ def send_gruf_request(klass, service_obj, method, request)
active_call: nil,
message: request
)
handler.send(method.to_sym)
Gruf::Interceptors::Context.new(gruf_interceptors(request)).intercept! do
Copy link
Contributor

@nkadovic nkadovic Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering for my own knowledge, do you know if a span has already been created by datadog at this point in execution?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be one, yes.

Copy link
Contributor

@nkadovic nkadovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dorner dorner merged commit 1b66cbd into main Sep 12, 2024
3 checks passed
@dorner dorner deleted the interceptors branch September 12, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants