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

Make sd adapter less verbose on server error #16821

Merged
merged 4 commits into from
Sep 4, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add total number of time series
  • Loading branch information
bianpengyuan committed Sep 4, 2019
commit cce4cc2e539daf36d938abf360a2c023e116e7cd
2 changes: 1 addition & 1 deletion mixer/adapter/stackdriver/metric/bufferedClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (b *buffered) Send() {
if err != nil {
ets := handleError(err, timeSeries)
b.updateRetryBuffer(ets)
_ = b.l.Errorf("Stackdriver returned: %v\n", err)
b.l.Errorf("%d time series was sent and Stackdriver returned: %v\n", len(timeSeries), err) // nolint: errcheck
if isOutOfOrderError(err) {
b.l.Debugf("Given data: %v", timeSeries)
} else {
Expand Down