fix: split telegraf_prometheus_listen into bind ip and port
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e68d73a85f
commit
64beb74668
@ -60,8 +60,8 @@ telegraf_omit_hostname: False
|
|||||||
telegraf_template_files:
|
telegraf_template_files:
|
||||||
- telegraf/templates/*.conf.j2
|
- telegraf/templates/*.conf.j2
|
||||||
|
|
||||||
# @var telegraf_prometheus_listen:description: Address to listen for Prometheus.
|
telegraf_prometheus_bind_ip: 127.0.0.1
|
||||||
telegraf_prometheus_listen: 127.0.0.1:9273
|
telegraf_prometheus_bind_port: 9273
|
||||||
|
|
||||||
# @var telegraf_prometheus_username:description: Username used by Prometheus.
|
# @var telegraf_prometheus_username:description: Username used by Prometheus.
|
||||||
telegraf_prometheus_username: prometheus
|
telegraf_prometheus_username: prometheus
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
[[outputs.prometheus_client]]
|
[[outputs.prometheus_client]]
|
||||||
listen = "{{ telegraf_prometheus_listen }}"
|
listen = "{{ telegraf_prometheus_bind_ip }}:{{ telegraf_prometheus_bind_port }}"
|
||||||
basic_username = "{{ telegraf_prometheus_username }}"
|
basic_username = "{{ telegraf_prometheus_username }}"
|
||||||
basic_password = "{{ telegraf_prometheus_password }}"
|
basic_password = "{{ telegraf_prometheus_password }}"
|
||||||
ip_range = []
|
ip_range = []
|
||||||
|
Loading…
Reference in New Issue
Block a user