fix bucket sizes

This commit is contained in:
William Banfield
2021-10-12 18:16:52 -04:00
parent 5ee61ea3b1
commit e73b2dbcd6
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ func PrometheusMetrics(namespace string, defaultLabelsAndValues ...string) *Metr
Subsystem: MetricsSubsystem,
Name: "method_timing",
Help: "ABCI Method Timing",
Buckets: []float64{.0001, .0004, .002, .009, .02, .1, .65, 2, 6, 25},
}, append(defaultLabels, []string{"method", "type"}...)).With(defaultLabelsAndValues...),
}
}

View File

@@ -72,7 +72,7 @@ func TestAppConns_Failure(t *testing.T) {
return clientMock, nil
}
appConns := NewAppConns(creator)
appConns := NewAppConns(creator, NopMetrics())
err := appConns.Start()
require.NoError(t, err)