Bläddra i källkod

Remove the table for variables about the Postgres Server Exporter

As prometheus_postgres_exporter_container_labels_traefik_enabled is explained below, it is sensible to remove this duplicated entry in favor of it.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4048/head
Suguru Hirahara 1 år sedan
förälder
incheckning
a67745b1fc
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: E4F9743DAB4B7B75
1 ändrade filer med 2 tillägg och 5 borttagningar
  1. +2
    -5
      docs/configuring-playbook-prometheus-grafana.md

+ 2
- 5
docs/configuring-playbook-prometheus-grafana.md Visa fil

@@ -41,6 +41,8 @@ Name | Description

Expanding on the metrics exposed by the Synapse exporter and the Node exporter, the playbook can also install and configure the [PostgreSQL Server Exporter](https://github.com/prometheus-community/postgres_exporter) that exposes more detailed information about what's happening on your Postgres database.

Enabling the exporter sets up the docker container, connects it to the database and adds a 'job' to the Prometheus config which tells Prometheus about this new exporter.

To enable it, add the following configuration to your `vars.yml` file:

**Note**: `prometheus_postgres_exporter_database_username` has nothing to do with your Matrix user ID. It can be any string you'd like.
@@ -57,11 +59,6 @@ prometheus_postgres_exporter_enabled: true
# prometheus_postgres_exporter_database_password: "PASSWORD_HERE"
```

Name | Description
-----|----------
`prometheus_postgres_exporter_enabled`|Enable the Postgres Prometheus exporter. This sets up the docker container, connects it to the database and adds a 'job' to the Prometheus config which tells Prometheus about this new exporter.
`prometheus_postgres_exporter_container_labels_traefik_enabled`|If set to `true`, exposes the Postgres exporter metrics on `https://matrix.example.com/metrics/postgres-exporter` for usage with an [external Prometheus server](#collecting-metrics-to-an-external-prometheus-server). To password-protect the metrics, see `matrix_metrics_exposure_http_basic_auth_users` below.

### Extending the configuration

There are some additional things you may wish to configure about Prometheus.


Laddar…
Avbryt
Spara