Skip to content

Switch from gRPC message-based instrumentation to transaction-based (streaming) #13368

@luke-sterkowicz

Description

@luke-sterkowicz

Is your feature request related to a problem? Please describe.

We have an endpoint where we return streamed gRPC responses. Turns out there's a separate span created for each message in the stream which leads to sometimes enormous span payloads that depend on the number of streamed results in a short time frame.

Describe the solution you'd like

While there may be reasonable use cases for instrumenting each gRPC response, there should also be a mode where we instrument the gRPC call/transaction as a whole. My request is to add such mode, to be configured by some switch.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions