We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658fd0b commit 5df19ddCopy full SHA for 5df19dd
backends/s3/s3_test.go
@@ -103,7 +103,7 @@ func TestMetrics(t *testing.T) {
103
_, err = bBadHost.List(context.Background(), "")
104
assert.Error(t, err)
105
106
- expectedMetric += "storage_s3_call_error_by_type_total{error=\"lookup nosuchhost: no such host\",method=\"list\"} 1\n"
+ expectedMetric += "storage_s3_call_error_by_type_total{error=\"DNSError\",method=\"list\"} 1\n"
107
108
err = testutil.CollectAndCompare(metricCallErrorsType, strings.NewReader(expectedMetric), "storage_s3_call_error_by_type_total")
109
assert.NoError(t, err)
0 commit comments