dcba829792
The following variables are added: * prometheus_blackbox_exporter_cmdline_extras * prometheus_elasticsearch_exporter_cmdline_extras * prometheus_haproxy_exporter_cmdline_extras * prometheus_memcached_exporter_cmdline_extras * prometheus_mysqld_exporter_cmdline_extras * prometheus_node_exporter_cmdline_extras * prometheus_openstack_exporter_cmdline_extras Change-Id: I5da2031b9367115384045775c515628e2acb1aa4
19 lines
713 B
Django/Jinja
19 lines
713 B
Django/Jinja
{
|
|
"command": "/opt/mysqld_exporter/mysqld_exporter --config.my-cnf /etc/prometheus/my.cnf --web.listen-address {{ api_interface_address | put_address_in_context('url') }}:{{ prometheus_mysqld_exporter_port }}{% if prometheus_mysqld_exporter_cmdline_extras %} {{ prometheus_mysqld_exporter_cmdline_extras }}{% endif %}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/my.cnf",
|
|
"dest": "/etc/prometheus/my.cnf",
|
|
"owner": "prometheus",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/prometheus",
|
|
"owner": "prometheus:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|