Update arguments for starting Prometheus exporters

The patch that this depends on in the Kolla repo updates various Prometheus
exporters. In some cases the command line syntax has changed which prevents
them from starting. This commit updates the command line syntax in-line with
the new versions.

Depends-On: I846989b16fa7f76b11b309b7a9764cec8aaf538d
Change-Id: I1c8c56059e51442d7bf2248b9632021cb529b4ba
This commit is contained in:
Doug Szumski 2019-02-26 16:25:52 +00:00
parent 3a5ef38f3b
commit a55769b00a
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"command": "/opt/haproxy_exporter/haproxy_exporter -haproxy.scrape-uri unix:/var/lib/kolla/haproxy/haproxy.sock -web.listen-address {{ api_interface_address }}:{{ prometheus_haproxy_exporter_port }}", "command": "/opt/haproxy_exporter/haproxy_exporter --haproxy.scrape-uri unix:/var/lib/kolla/haproxy/haproxy.sock --web.listen-address {{ api_interface_address }}:{{ prometheus_haproxy_exporter_port }}",
"config_files": [], "config_files": [],
"permissions": [ "permissions": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"command": "/opt/mysqld_exporter/mysqld_exporter -config.my-cnf /etc/prometheus/my.cnf -web.listen-address {{ api_interface_address }}:{{ prometheus_mysqld_exporter_port }}", "command": "/opt/mysqld_exporter/mysqld_exporter --config.my-cnf /etc/prometheus/my.cnf --web.listen-address {{ api_interface_address }}:{{ prometheus_mysqld_exporter_port }}",
"config_files": [ "config_files": [
{ {
"source": "{{ container_config_directory }}/my.cnf", "source": "{{ container_config_directory }}/my.cnf",

View File

@ -1,5 +1,5 @@
{ {
"command": "/opt/node_exporter/node_exporter -collector.procfs /host/proc -collector.sysfs /host/sys -web.listen-address {{ api_interface_address }}:{{ prometheus_node_exporter_port }}", "command": "/opt/node_exporter/node_exporter --path.procfs /host/proc --path.sysfs /host/sys --web.listen-address {{ api_interface_address }}:{{ prometheus_node_exporter_port }}",
"config_files": [], "config_files": [],
"permissions": [ "permissions": [
{ {