Commit b039c6af authored by Michal Mazurek's avatar Michal Mazurek

Catch up with Go 1.5.

Remove the example.
parent f0e03f03
...@@ -80,15 +80,9 @@ from its own HTTP metrics endpoint. ...@@ -80,15 +80,9 @@ from its own HTTP metrics endpoint.
You can also verify that Prometheus is serving metrics about itself by You can also verify that Prometheus is serving metrics about itself by
navigating to its metrics endpoint: http://localhost:9090/metrics navigating to its metrics endpoint: http://localhost:9090/metrics
By default, Prometheus will only execute at most one OS thread at a The number of OS threads executed by Prometheus is controlled by the
time. In production scenarios on multi-CPU machines, you will most `GOMAXPROCS` environment variable. As of Go 1.5 the default value is
likely achieve better performance by setting the `GOMAXPROCS` the number of cores available.
environment variable to a value similar to the number of available CPU
cores:
```language-bash
GOMAXPROCS=8 ./prometheus -config.file=prometheus.yml
```
Blindly setting `GOMAXPROCS` to a high value can be Blindly setting `GOMAXPROCS` to a high value can be
counterproductive. See the relevant [Go counterproductive. See the relevant [Go
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment