Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A66 update: Update OpenTelemetry Java APIs #439

Merged
merged 2 commits into from
May 29, 2024

Conversation

DNVindhya
Copy link
Contributor

No description provided.

@DNVindhya DNVindhya requested review from ejona86 and yashykt May 21, 2024 21:00
`grpc.method` attribute. If you are interested in recording the method names for
these methods, set
[`isSampledToLocalTracing`](https://grpc.github.io/grpc-java/javadoc/io/grpc/MethodDescriptor.html#isSampledToLocalTracing\(\))
to `true` while defining your methods in
[`HandlerRegistry`](https://grpc.github.io/grpc-java/javadoc/io/grpc/HandlerRegistry.html).
- A single `GrpcOpenTelemetry` instance can be registered either globally or on a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the behavior unexpected?

Copy link
Contributor Author

@DNVindhya DNVindhya May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It collects and exports duplicated data. In OpenCensus writing identical metric more than once throws identical time series error.
Since the identical time series issue has not been verified in OpenTelemetry, updated the note to say duplicated data.

@markdroth markdroth changed the title A66: Update OpenTelemetry java APIs A66 update: Update OpenTelemetry Java APIs May 21, 2024
@DNVindhya DNVindhya merged commit 4d32a84 into grpc:master May 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants