Skip to content

Commit 1989a4b

Browse files
committed
Some extra docs, around single concurrency scrapes
1 parent d5a92a0 commit 1989a4b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ docker run \
5151

5252
Configure [Prometheus](https://prometheus.io/) to scrape metrics from localhost:9090/metrics
5353

54-
This exporter locks as it conducts the speedtest when scraped, **remember set scrape interval, and scrap timeout** accordingly as per example.
54+
This exporter locks (one concurrent scrape at a time) as it conducts the speedtest when scraped, **remember set scrape interval, and scrap timeout** accordingly as per example.
5555

5656
```yaml
5757
...

cmd/speedtest_exporter/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ func main() {
3434
<head><title>Speedtest Exporter</title></head>
3535
<body>
3636
<h1>Speedtest Exporter</h1>
37+
<p>Metrics page will take approx 30 seconds to load and show results, as the exporter carries out a speedtest when scraped.</p>
3738
<p><a href='` + metricsPath + `'>Metrics</a></p>
39+
<p><a href='/health'>Health</a></p>
3840
</body>
3941
</html>`))
4042
})

0 commit comments

Comments
 (0)