Skip to content

Missing grpc status code label in trace metrics #2903

Open
@juanzolotoochin

Description

@juanzolotoochin

I'm using UnaryServerInterceptor from "gopkg.in/DataDog/dd-trace-go.v1/contrib/google.golang.org/grpc".

This generates a metric trace.grpc.server.hits which is the main metric I have for incoming traffic for my gRPC service.

I'd expect this metric to be labeled with the gRPC status code so I can count hits by status code.

Other datadog integrations (such as python flask) already do this with http status code.

Metadata

Metadata

Assignees

Labels

enhancementquick change/addition that does not need full team approval

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions