Skip to content

"grpc.server.*" metrics missing from grpc.aio after enabling reporting. #39800

@rainwoodman

Description

@rainwoodman

What version of gRPC and what language are you using?

HEAD

What operating system (Linux, Windows,...) and version?

Linux

What runtime / compiler are you using (e.g. python version or version of gcc)

Python 3.12

What did you do?

Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction.

Enabled GRPC metrics following the examples in Python for a gRPC server writing in python grpc.aio.

What did you expect to see?

grpc.server and grpc.client metrics shows up.

What did you see instead?

only grpc.client metrics shows up. grpc.server metrics are missing from OTEL reports.

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

See TROUBLESHOOTING.md for how to diagnose problems better.

Anything else we should know about your project / environment?

the _augment_channel_arguments in aio/_server.py seems to be missing a call to fetch the metrics tracing options. But that's probably not the only thing that is missing.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions