mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
commit
3f51c8bf39
|
@ -55,7 +55,7 @@ Prometheus will now be reachable at http://localhost:9090/.
|
|||
|
||||
### Building from source
|
||||
|
||||
To build Prometheus from source code, first ensure that have a working
|
||||
To build Prometheus from source code, first ensure that you have a working
|
||||
Go environment with [version 1.14 or greater installed](https://golang.org/doc/install).
|
||||
You also need [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/)
|
||||
installed in order to build the frontend assets.
|
||||
|
|
|
@ -25,7 +25,7 @@ Here is a table comparing our two generic Service Discovery implementations.
|
|||
|
||||
## Requirements of HTTP SD endpoints
|
||||
|
||||
If you implement an HTTP SD endpoint, here is a few requirements you should be
|
||||
If you implement an HTTP SD endpoint, here are a few requirements you should be
|
||||
aware of.
|
||||
|
||||
The response is consumed as is, unmodified. On each refresh interval (default: 1
|
||||
|
@ -47,7 +47,7 @@ for incremental updates. A Prometheus instance does not send its hostname and it
|
|||
is not possible for a SD endpoint to know if the SD requests is the first one
|
||||
after a restart or not.
|
||||
|
||||
The URL to the HTTP SD is not considered secret. The authentication, and any API
|
||||
The URL to the HTTP SD is not considered secret. The authentication and any API
|
||||
keys should be passed with the appropriate authentication mechanisms. Prometheus
|
||||
supports TLS authentication, basic authentication, OAuth2, and authorization
|
||||
headers.
|
||||
|
|
Loading…
Reference in a new issue