You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prometheus/registry_test.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ metric: <
250
250
},
251
251
}
252
252
253
-
expectedMetricFamilyInvalidLabelValueAsText:= []byte(`An error has occurred during metrics gathering:
253
+
expectedMetricFamilyInvalidLabelValueAsText:= []byte(`An error has occurred while serving metrics:
254
254
255
255
collected metric "name" { label:<name:"constname" value:"\377" > label:<name:"labelname" value:"different_val" > counter:<value:42 > } has a label named "constname" whose value is not utf8: "\xff"
256
256
`)
@@ -299,15 +299,15 @@ complex_bucket 1
299
299
},
300
300
},
301
301
}
302
-
bucketCollisionMsg:= []byte(`An error has occurred during metrics gathering:
302
+
bucketCollisionMsg:= []byte(`An error has occurred while serving metrics:
303
303
304
304
collected metric named "complex_bucket" collides with previously collected histogram named "complex"
305
305
`)
306
-
summaryCountCollisionMsg:= []byte(`An error has occurred during metrics gathering:
306
+
summaryCountCollisionMsg:= []byte(`An error has occurred while serving metrics:
307
307
308
308
collected metric named "complex_count" collides with previously collected summary named "complex"
309
309
`)
310
-
histogramCountCollisionMsg:= []byte(`An error has occurred during metrics gathering:
310
+
histogramCountCollisionMsg:= []byte(`An error has occurred while serving metrics:
311
311
312
312
collected metric named "complex_count" collides with previously collected histogram named "complex"
313
313
`)
@@ -333,7 +333,7 @@ collected metric named "complex_count" collides with previously collected histog
333
333
},
334
334
},
335
335
}
336
-
duplicateLabelMsg:= []byte(`An error has occurred during metrics gathering:
336
+
duplicateLabelMsg:= []byte(`An error has occurred while serving metrics:
337
337
338
338
collected metric "broken_metric" { label:<name:"foo" value:"bar" > label:<name:"foo" value:"baz" > counter:<value:2.7 > } has two or more labels with the same name: foo
0 commit comments