We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 390703a commit de2bf30Copy full SHA for de2bf30
2 files changed
defaults/main.yml
@@ -114,6 +114,13 @@ gitlab_runner__concurrent: '{{ ansible_processor_vcpus
114
(ansible_local.docker.installed|d()) | bool)
115
else "1" }}'
116
117
+ # ]]]
118
+# .. envvar:: gitlab_runner__metrics [[[
119
+#
120
+# Activate Gitlab metrics server, .
121
+gitlab_runner__metrics_bind: '0.0.0.0:9252'
122
+gitlab_runner__metrics: False
123
+
124
# ]]]
125
# .. envvar:: gitlab_runner__domain [[[
126
#
templates/etc/gitlab-runner/config.toml.j2
@@ -1,6 +1,9 @@
1
# {{ ansible_managed }}
2
3
concurrent = {{ gitlab_runner__concurrent }}
4
+{% if gitlab_runner__metrics | d() | bool %}
5
+ metrics_server = {{ gitlab_runner__metrics_bind }}
6
+{% endif %}
7
8
{% set gitlab_runner__tpl_instances = [] %}
9
{% set gitlab_runner__tpl_instance_tokens = [] %}
0 commit comments