Skip to content

OpenCensus grpc method is not set #5593

@TheMarex

Description

@TheMarex

What version of gRPC are you using?

We are using 1.19.0 in combination with OpenCensus 0.19.2.

What did you expect to see?

When using the RpcViewConstants.GRPC_SERVER_SERVER_LATENCY_VIEW from opencensus-java I would expect to see the metric split up by gRPC method, as is intended by them grouping the metric by the tag grpc_server_method.

However, grpc-java still sets the deprecated method tag which means this grouping is broken when using grpc-java:0.19.0 with opencensus-java:0.19.2.

The easy fix would be to set both tags, to ensure a wider compatibility with opencensus. I can prepare a PR if that sounds like a good approach.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions