mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
datasource metrics: Correct help text for histograms (#50942)
In #50420 a few summary metrics were converted to histograms, but the Help text in a couple of them still referred to summaries. This fixes that help text. Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
This commit is contained in:
parent
8ab8ce609b
commit
096330c53b
@ -25,7 +25,7 @@ var (
|
||||
prometheus.HistogramOpts{
|
||||
Namespace: "grafana",
|
||||
Name: "datasource_request_duration_seconds",
|
||||
Help: "summary of outgoing data source requests sent from Grafana",
|
||||
Help: "histogram of durations of outgoing data source requests sent from Grafana",
|
||||
Buckets: []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 25, 50, 100},
|
||||
}, []string{"datasource", "code", "method"},
|
||||
)
|
||||
@ -34,7 +34,7 @@ var (
|
||||
prometheus.HistogramOpts{
|
||||
Namespace: "grafana",
|
||||
Name: "datasource_response_size_bytes",
|
||||
Help: "summary of data source response sizes returned to Grafana",
|
||||
Help: "histogram of data source response sizes returned to Grafana",
|
||||
Buckets: []float64{128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576},
|
||||
}, []string{"datasource"},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user