-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
[release-1.3] Make sd adapter less verbose on server error #16824
[release-1.3] Make sd adapter less verbose on server error #16824
Conversation
/test istio-racetest-release-1.3 |
@rlenglet Can you please approve this change to 1.3? Thanks! |
/test istio-racetest-release-1.3 |
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.
LGTM.
Just one typo. You may fix that later, it's not a big deal.
@@ -166,7 +167,12 @@ func (b *buffered) Send() { | |||
if err != nil { | |||
ets := handleError(err, timeSeries) | |||
b.updateRetryBuffer(ets) | |||
_ = b.l.Errorf("Stackdriver returned: %v\nGiven data: %v", err, timeSeries) | |||
b.l.Errorf("%d time series was sent and Stackdriver returned: %v\n", len(timeSeries), err) // nolint: errcheck |
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.
b.l.Errorf("%d time series was sent and Stackdriver returned: %v\n", len(timeSeries), err) // nolint: errcheck | |
b.l.Errorf("%d time series were sent and Stackdriver returned: %v", len(timeSeries), err) // nolint: errcheck |
no big deal... 🙂
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.
Ok thanks!
/test e2e-mixer-no_auth-release-1.3 |
This is an automated cherry-pick of #16821