mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 06:47:56 +01:00 
			
		
		
		
	Update docs/configuring-playbook-prometheus-grafana.md: create a section for the Node Exporter
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
		| @@ -21,18 +21,24 @@ Prometheus is an open-source systems monitoring and alerting toolkit. To enable | ||||
|  | ||||
| ```yaml | ||||
| prometheus_enabled: true | ||||
|  | ||||
| # Uncomment to enable Node Exporter. | ||||
| # prometheus_node_exporter_enabled: true | ||||
| ``` | ||||
|  | ||||
| Name | Description | ||||
| -----|---------- | ||||
| `prometheus_enabled`|[Prometheus](https://prometheus.io) is a time series database. It holds all the data we're going to talk about. | ||||
| `prometheus_node_exporter_enabled`|[Node Exporter](https://prometheus.io/docs/guides/node-exporter/) is an addon of sorts to Prometheus that collects generic system information such as CPU, memory, filesystem, and even system temperatures. | ||||
|  | ||||
| **Note**: the retention policy of Prometheus metrics is [15 days by default](https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects). Older data gets deleted automatically. | ||||
|  | ||||
| ### Enable metrics and graphs for generic system information (optional) | ||||
|  | ||||
| You can enable the [Node Exporter](https://prometheus.io/docs/guides/node-exporter/), an addon of sorts to Prometheus that collects generic system information such as CPU, memory, filesystem, and even system temperatures. | ||||
|  | ||||
| To enable it, add the following configuration to your `vars.yml` file: | ||||
|  | ||||
| ```yaml | ||||
| prometheus_node_exporter_enabled: true | ||||
| ``` | ||||
|  | ||||
| ### Enable metrics and graphs for Postgres (optional) | ||||
|  | ||||
| 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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user