4d1f37359d
This patch adds the ansible role to deploy the prometheus service which can be used to collect performance metrics accross the environment Partially-Implements: blueprint prometheus Change-Id: I908b9c9dad63ab5c9b80be1e3a80a4fc8191cb9e
19 lines
570 B
Django/Jinja
19 lines
570 B
Django/Jinja
{
|
|
"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": [
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|