We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04f65c6 commit b1aff88Copy full SHA for b1aff88
2 files changed
telegraf/manifests/deis-monitor-telegraf-daemon.yaml
@@ -33,6 +33,8 @@ spec:
33
value: "100000"
34
- name: "ENABLE_INFLUXDB_INPUT"
35
value: "true"
36
+ - name: "ENABLE_PROMETHEUS"
37
+ value: "true"
38
volumeMounts:
39
- mountPath: /var/run/docker.sock
40
name: docker-socket
telegraf/rootfs/config.toml.tpl
@@ -201,7 +201,7 @@
201
{{ if .POSTGRESQL_DATABASES }} databases = [{{ .POSTGRESQL_DATABASES }}] {{ end }}
202
{{ end }}
203
204
-{{ if .PROMETHEUS_URLS }}
+{{ if and .PROMETHEUS_URLS .ENABLE_PROMETHEUS }}
205
[[inputs.prometheus]]
206
urls = [{{ .PROMETHEUS_URLS }}]
207
insecure_skip_verify = {{ default true .PROMETHEUS_INSECURE_SKIP_VERIFY }}
0 commit comments