aboutsummaryrefslogtreecommitdiff
path: root/plugin/test/scrape.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/test/scrape.go')
-rw-r--r--plugin/test/scrape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/test/scrape.go b/plugin/test/scrape.go
index cb8a4cdb0..3fb6b26d5 100644
--- a/plugin/test/scrape.go
+++ b/plugin/test/scrape.go
@@ -77,7 +77,7 @@ func Scrape(url string) []*MetricFamily {
return result
}
-// ScrapeMetricAsInt provide a sum of all metrics collected for the name and label provided.
+// ScrapeMetricAsInt provides a sum of all metrics collected for the name and label provided.
// if the metric is not a numeric value, it will be counted a 0.
func ScrapeMetricAsInt(addr string, name string, label string, nometricvalue int) int {