295f8d1b43
The Prometheus OpenStack exporter was needlessly configured to use the prometheus Docker volume and change permissions of /data, which does not exist in the container image. This must have been copy-pasted from existing Prometheus code. Change-Id: I96017c17e68ca7a00a2d5ac41f2f43ef87694514
19 lines
751 B
Django/Jinja
19 lines
751 B
Django/Jinja
{
|
|
"command": "/opt/openstack-exporter/openstack-exporter --endpoint-type={{ prometheus_openstack_exporter_endpoint_type }} --os-client-config=/etc/openstack/clouds.yml --web.listen-address={{ api_interface_address | put_address_in_context('url') }}:{{ prometheus_openstack_exporter_port }} default {{ prometheus_openstack_exporter_disabled_items }}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/clouds.yml",
|
|
"dest": "/etc/openstack/clouds.yml",
|
|
"owner": "prometheus",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/prometheus",
|
|
"owner": "prometheus:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|