Adjust comment
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
627ff84599
commit
671f7c66e5
|
@ -52,7 +52,7 @@ import (
|
||||||
// See https://github.com/prometheus/prometheus/issues/7846
|
// See https://github.com/prometheus/prometheus/issues/7846
|
||||||
const scrapeTimestampTolerance = 2 * time.Millisecond
|
const scrapeTimestampTolerance = 2 * time.Millisecond
|
||||||
|
|
||||||
// Enable or disable the tolerance for scrape described above.
|
// Enable or disable the tolerance for scrape appends timestamps described above.
|
||||||
var AlignScrapeTimestamps = true
|
var AlignScrapeTimestamps = true
|
||||||
|
|
||||||
var errNameLabelMandatory = fmt.Errorf("missing metric name (%s label)", labels.MetricName)
|
var errNameLabelMandatory = fmt.Errorf("missing metric name (%s label)", labels.MetricName)
|
||||||
|
|
Loading…
Reference in New Issue