-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
xds: Remove xds authority label from metric registration #11760
Conversation
…resources` gauge, until the label value is available to record.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who would experience the crash? Why didn't tests notice?
Oh, this is a failure only within the gauge callback, which is some random thread. So the failure is either just logged or it prevents OTel from publishing. But gRPC itself would appear operational. |
Cloud Big Table reported this issue. I have captured the details provided by them in b/384738716. We didn't catch in tests because we mocked BatchRecorder. |
We should use |
Updates to use |
* Remove `grpc.xds.authority` label while registering `grpc.xds_client.resources` gauge, until the label value is available to record.
XdsClient metrics were added in #11661. It is missing
grpc.xds.authority
label forgrpc.xds_client.resources
gauge.While label value is absent, label got added while registering the gauge. This leads to
java.lang.IllegalArgumentException: Incorrect number of required labels provided.
on invoking callback. Stack trace is added below:As a fix, we are removing the label from gauge registration until
gpc.xds.authority
label value is available.