You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+33-6Lines changed: 33 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,11 +56,12 @@ The nginx configuration acts as a reverse proxy for all the components.
56
56
`server.yml` playbook installs Trento server components (Web and
57
57
Wanda) along with the supporting third-party application dependencies.
58
58
59
-
This playbook supports auto-discovery of the hosts for RabbitMQ and
60
-
Postgres in Web and Wanda. This feature is enabled when
61
-
`provision_postgres` and `provision_rabbitmq` flags are true. When
62
-
auto-discovery is active, `*_host` variables in `app` role are
63
-
ignored. If you want to use external services for these dependencies,
59
+
This playbook supports auto-discovery of the hosts for RabbitMQ, Postgres and Prometheus
60
+
in Web and Wanda. This feature is enabled when `provision_postgres`,
61
+
`provision_rabbitmq` and `provision_prometheus` flags are true. When
62
+
auto-discovery is active, `*_host` variables (in `trento` role
63
+
and any other role using them) are ignored.
64
+
If you want to use external services for these dependencies,
64
65
turn off the respective flag and specify the `*_host` variable in your
65
66
inventory.
66
67
@@ -401,6 +402,24 @@ per-role basis if appropriate.
401
402
402
403
| trento_rabbitmq_vhost | The rabbitmq vhost used for the current
403
404
deployment | "trento"
405
+
406
+
| trento_prometheus_host | The host where Prometheus is
407
+
located. Used as input for calculating
408
+
`trento_prometheus_effective_host` variable that is the default for
409
+
`*_prometheus_host` variables in some dependent roles. This variable
410
+
is ignored when `trento_prometheus_host_group` is non-empty string. |
411
+
localhost
412
+
413
+
| trento_prometheus_port | The port where Prometheus is exposed. | 9090
414
+
415
+
| trento_prometheus_host_group | Name of the host group where Prometheus
416
+
is located. If this value is not empty string, activates
417
+
auto-discovery of the Prometheus host by searching it in the specified
418
+
group. Used as input for calculating
419
+
`trento_prometheus_effective_host` variable that is the default for
420
+
`*_prometheus_host` variables in some dependent roles. When
421
+
auto-discovery is active, the value of `trento_prometheus_host` is
422
+
ignored. | ""
404
423
|===
405
424
406
425
*Web role*
@@ -707,7 +726,7 @@ More detailed info about usage and defaults available link:https://github.com/tr
707
726
The target address of the node exporter to scrape metrics from, in case `agent_prometheus_mode` is set to "pull". |
708
727
Defaults to the lowest discovered IP address with a default port number (9100).
709
728
710
-
| agent_prometheus_remote_write_url | The remote write URL of the Prometheus server, in case `agent_prometheus_mode` is set to "push". | currently undefined. Needs to be improved for autodiscovery
729
+
| agent_prometheus_remote_write_url | The remote write URL of the Prometheus server, in case `agent_prometheus_mode` is set to "push". | "https://<value of `trento_server_name`>/prometheus/api/v1/write"
711
730
712
731
| agent_prometheus_scrape_interval | Scrape interval for Prometheus to scrape the node exporter, in case `agent_prometheus_mode` is set to "push". | "15s"
713
732
@@ -836,6 +855,14 @@ More detailed info about usage and defaults available link:https://github.com/tr
836
855
837
856
| rproxy_ssl_key_as_base64 | Whether SSL key is provided as base64
838
857
string | false
858
+
859
+
| rproxy_provision_prometheus | Whether to provision Prometheus
860
+
proxy configuration in the reverse proxy | false
861
+
862
+
| rproxy_prometheus_host | The host where Prometheus is located. | <value of `trento_prometheus_effective_host`>
863
+
864
+
| rproxy_prometheus_port | The port where Prometheus is exposed. | <value of `trento_prometheus_port`>
0 commit comments