Skip to content

Response/Request Size GRPC Metrics Instrumentation #9736

@Abhishekkr3003

Description

@Abhishekkr3003

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

Currently, we only instrument the inbound/outbound RPC duration for client/server. It would be better if we also start instrumenting the inbound/outbound request/response sizes as we do for HTTP.

Describe the solution you'd like

I have a use case where I need to get the GRPC client request/response size metrics with similar attributes we have for RPC duration. I have already implemented this using ClientStreamTracer and an Interceptor for one of our services. Still, it would be great if it is available in Opentelemetry itself, and we can use it directly for all our services.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions