mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
commit
3f51c8bf39
|
@ -55,7 +55,7 @@ Prometheus will now be reachable at http://localhost:9090/.
|
||||||
|
|
||||||
### Building from source
|
### 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).
|
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/)
|
You also need [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/)
|
||||||
installed in order to build the frontend assets.
|
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
|
## 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.
|
aware of.
|
||||||
|
|
||||||
The response is consumed as is, unmodified. On each refresh interval (default: 1
|
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
|
is not possible for a SD endpoint to know if the SD requests is the first one
|
||||||
after a restart or not.
|
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
|
keys should be passed with the appropriate authentication mechanisms. Prometheus
|
||||||
supports TLS authentication, basic authentication, OAuth2, and authorization
|
supports TLS authentication, basic authentication, OAuth2, and authorization
|
||||||
headers.
|
headers.
|
||||||
|
|
Loading…
Reference in a new issue