mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
Update metrics address copy (#3079)
This commit is contained in:
parent
2bd0fb754c
commit
5867b50d0a
1 changed files with 5 additions and 3 deletions
|
@ -14,13 +14,15 @@ For production deployments, we suggest using a dedicated Prometheus instance.
|
||||||
|
|
||||||
## Prepare Pomerium
|
## Prepare Pomerium
|
||||||
|
|
||||||
1. In the Pomerium `config.yaml`, define the `metrics_address` key to a network interface and/or port. For example:
|
1. In the Pomerium `config.yaml`, define the [`metrics_address`](/reference/readme.md#metrics-address) key to a network interface and/or port. For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
metrics_address: 0.0.0.0:9999
|
metrics_address: 192.0.2.31:9999
|
||||||
```
|
```
|
||||||
|
|
||||||
The example above has Pomerium providing metrics at port `9999` on all network interfaces.
|
The example above has Pomerium providing metrics at port `9999` on an IP address reachable by the Pomerium Console service.
|
||||||
|
|
||||||
|
If you're running Pomerium Enterprise in a distributed environment where the IP address is not known at the time of deployment, you can use the resolvable FQDN of the Pomerium host (`pomerium0.internal.mycompany.com`, for example), or override this key with the environment variable `METRICS_ADDRESS`. We do not recommend exposing this endpoint to public traffic as it can contain potentially sensitive information.
|
||||||
|
|
||||||
## External Prometheus
|
## External Prometheus
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue