Skip to content

Commit cd8e450

Browse files
committed
Fix naming of in_flight text example
1 parent db53261 commit cd8e450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/promhttp/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestClientMiddlewareAPI(t *testing.T) {
3333
client := *http.DefaultClient
3434
client.Timeout = 300 * time.Millisecond
3535

36-
inFlightGauge := prometheus.NewGauge(prometheus.GaugeOpts{Name: "inFlight"})
36+
inFlightGauge := prometheus.NewGauge(prometheus.GaugeOpts{Name: "in_flight"})
3737

3838
counter := prometheus.NewCounterVec(
3939
prometheus.CounterOpts{Name: "test_counter"},

0 commit comments

Comments
 (0)