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

Plugin System #150

Open
SIMULATAN opened this issue Aug 4, 2024 · 1 comment
Open

Plugin System #150

SIMULATAN opened this issue Aug 4, 2024 · 1 comment

Comments

@SIMULATAN
Copy link

I want to trace RPC calls. However, looking through the code, this doesn't seem to be possible yet as there is no catch-all way to start and propagate traces.

Thus, I propose a Ktor-like Plugin System that allows you to add handlers throughout the service call lifecycle. As an initial implementation, adding pre- and post-RPC service call hooks would do just fine.

The user-facing API could look something like this:
screenshot of opentelemetry-java-instrumentation for ktor

Later, more hooks can be added, for example pre and post serialization, error handlers, ...

@Mr3zee
Copy link
Collaborator

Mr3zee commented Aug 4, 2024

Hi, @SIMULATAN ! Thank you for logging the issue, we are considering the extension points (aka plugins) in our work, and they will be added, though I can't say when for now

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

No branches or pull requests

2 participants