Browse Source

Adjust comment

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/7976/head
Julien Pivotto 4 years ago
parent
commit
671f7c66e5
  1. 2
      scrape/scrape.go

2
scrape/scrape.go

@ -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…
Cancel
Save