Skip to content

stats: Update documentation and examples to demonstrate enabling experimental metrics #8311

@purnesh42H

Description

@purnesh42H

There have been several issues opened recently like this asking about not being able to see experimental metrics from wrr and xds. It is because they are not enabled by default and needs to be added to the DefaultMetrics in the dial and server options.

This is the list of all experimental metrics https://grpc.io/docs/guides/opentelemetry-metrics/#instruments. We should include this part in the example and also sample code for adding experimental metrics.

Update documentation and example client and server here https://github.com/grpc/grpc-go/tree/master/examples/features/opentelemetry

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions