Add the prometheus directives to the daemon configuration
This commit is contained in:
parent
5d69fd8af6
commit
a5cf11698f
|
@ -9,8 +9,14 @@
|
||||||
"tlskey": "{{ docker_tls_key }}",
|
"tlskey": "{{ docker_tls_key }}",
|
||||||
{% if docker_tls_verify_clients %}
|
{% if docker_tls_verify_clients %}
|
||||||
"tlsverify": true,
|
"tlsverify": true,
|
||||||
|
{% else %}
|
||||||
|
"tlsverify": false,
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if docker_prometheus_metrics %}
|
||||||
|
"metrics-addr" : "{{ docker_prometheus_host }}:9323",
|
||||||
|
"experimental" : true,
|
||||||
|
{% endif %}
|
||||||
{% if docker_daemon_debug %}
|
{% if docker_daemon_debug %}
|
||||||
"debug": true
|
"debug": true
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue