fix: api handlers. add tests

This commit is contained in:
Jon Lundy committed 2022-09-30 14:56:28 -06:00
1 parent 4d3c5df454
commit 6425fcadcd
8 files changed
+251 -13

No files matched your search

+3 -1
View File
@@ -48,7 +48,9 @@ func initMetrics(ctx context.Context, name string) (context.Context, func() erro
host = h
}
config := prometheus.Config{}
config := prometheus.Config{
DefaultHistogramBoundaries: []float64{1, 2, 5, 10, 20, 50},
}
cont := controller.New(
processor.NewFactory(
selector.NewWithHistogramDistribution(