Skip to content

Plugin System #150

Open
Open
@SIMULATAN

Description

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, ...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions