report max too

This commit is contained in:
Stephen McQuay 2018-01-26 17:14:53 -08:00
parent 1ba5bbaf8e
commit 6000071bb6
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5

View File

@ -10,6 +10,14 @@ var (
prometheus.SummaryOpts{ prometheus.SummaryOpts{
Name: "hwt_request_latency_ms", Name: "hwt_request_latency_ms",
Help: "Latency in ms of http requests grouped by req path", Help: "Latency in ms of http requests grouped by req path",
Objectives: map[float64]float64{
0.5: 0.05,
0.9: 0.01,
0.95: 0.001,
0.99: 0.001,
1.0: 0.0001,
},
}, },
[]string{"path"}, []string{"path"},
) )