diff options
author | Tristan Cacqueray <tdecacqu@redhat.com> | 2018-09-02 00:53:37 +0000 |
---|---|---|
committer | Tristan Cacqueray <tdecacqu@redhat.com> | 2021-04-26 14:47:36 +0000 |
commit | 0dbd8c07847635830c6d5bec38780d37fb14c979 (patch) | |
tree | 7ebbd78441e3caafc26ca9dd43d22e33a9323c67 /etc | |
parent | 3ca33f0686437fc949ee2cedbf2fe13c9dc4ab3d (diff) | |
download | zuul-0dbd8c07847635830c6d5bec38780d37fb14c979.tar.gz |
prometheus: add options to start the server and process collector
This change adds a new prometheus_port option to start a metric server
to be scrapped by a prometheus service. By default, the server exposes
process informations.
Change-Id: Ie329df6adc69768dfdb158d00283161f8b70f07a
Diffstat (limited to 'etc')
-rw-r--r-- | etc/zuul.conf-sample | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/zuul.conf-sample b/etc/zuul.conf-sample index 4a83e04ed..040eef826 100644 --- a/etc/zuul.conf-sample +++ b/etc/zuul.conf-sample @@ -26,22 +26,27 @@ tenant_config=/etc/zuul/main.yaml log_config=/etc/zuul/logging.conf pidfile=/var/run/zuul/zuul.pid state_dir=/var/lib/zuul +prometheus_port=9091 +;prometheus_addr=0.0.0.0 [merger] git_dir=/var/lib/zuul/git ;git_user_email=zuul@example.com ;git_user_name=zuul +prometheus_port=9092 [executor] default_username=zuul trusted_ro_paths=/opt/zuul-scripts:/var/cache trusted_rw_paths=/opt/zuul-logs +prometheus_port=9093 [web] listen_address=127.0.0.1 port=9000 static_cache_expiry=0 status_url=https://zuul.example.com/status +prometheus_port=9094 [webclient] url=https://zuul.example.com |