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

gcp-o11y: add default custom tag for metrics exporter #9982

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

DNVindhya
Copy link
Contributor

This PR adds a default custom tag for metrics, irrespective of custom tags being present in the observability configuration.

OpenCensus by default adds a custom tag opencenus_task for metrics which gets overriden if custom tags are set.

The unique custom tag is required to ensure the uniqueness of the Timeseries. The format of the default custom tag is: java-{PID}@{HOSTNAME}, if {PID} is not available a random number will be used.

@DNVindhya DNVindhya requested a review from ejona86 March 22, 2023 18:31
@ejona86 ejona86 added the TODO:release blocker Issue/PR is important enough to delay the release. Removed after release issues resolved label Mar 22, 2023
@ejona86 ejona86 merged commit 3634901 into grpc:master Mar 22, 2023
@ejona86 ejona86 added TODO:backport PR needs to be backported. Removed after backport complete and removed TODO:release blocker Issue/PR is important enough to delay the release. Removed after release issues resolved labels Mar 22, 2023
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Mar 23, 2023
@DNVindhya DNVindhya deleted the gcp-o11y-metric-unique-id branch March 24, 2023 20:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants