mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 06:47:56 +01:00 
			
		
		
		
	(BC Break) Redo how metrics are exposed to external Prometheus servers
This commit is contained in:
		| @@ -17,10 +17,17 @@ matrix_prometheus_node_exporter_systemd_required_services_list: ['docker.service | ||||
| # List of systemd services that matrix-prometheus.service wants | ||||
| matrix_prometheus_node_exporter_systemd_wanted_services_list: [] | ||||
|  | ||||
| # Controls whether node-exporter metrics should be proxied (exposed) on `matrix.DOMAIN/metrics/node-exporter`. | ||||
| # This will only work take effect if `matrix_nginx_proxy_proxy_matrix_metrics_enabled: true`. | ||||
| # See the `matrix-nginx-proxy` role for details about enabling `matrix_nginx_proxy_proxy_matrix_metrics_enabled`. | ||||
| matrix_prometheus_node_exporter_metrics_proxying_enabled: false | ||||
|  | ||||
| # Controls whether the matrix-prometheus container exposes its HTTP port (tcp/9100 in the container). | ||||
| # | ||||
| # Takes an "<ip>:<port>" value (e.g. "127.0.0.1:9100"), or empty string to not expose. | ||||
| # | ||||
| # You likely don't need to do this. See `matrix_prometheus_node_exporter_metrics_proxying_enabled`. | ||||
| # | ||||
| # Official recommendations are to run this container with `--net=host`, | ||||
| # but we don't do that, since it: | ||||
| # - likely exposes the metrics web server way too publicly (before applying https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1008) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user