Skip to content

Support OpenTelemetry Traces and connection metrics in gRPC stubs #453

@jsync-swirlds

Description

@jsync-swirlds

Problem

The generated stubs and runtime support classes of the PBJ Helidon/gRPC plugin do not currently support trace context propagation or publish useful metrics. This limits observability for projects and systems using this feature.

Solution

The PBJ gRPC plugin and generated code interact with underlying transport much more directly than "business logic" code, and have clear access to useful metric and trace information.
It would be very helpful if the generated service stubs and runtime support classes were to manage context propagation for OpenTelemetry trace support.
It would also be helpful if the generated service stubs and runtime support classes published connection-relevant OpenTelemetry metric values.

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions