9a9c8fe794
This commit adds the ironic-prometheus-exporter, following the conventions used by the previously integrated exporters. '[The] Ironic Prometheus Exporter is a Tool to expose hardware sensor data in the Prometheus format through an HTTP endpoint.'[0] Prometheus has been enabled in CI jobs to ensure test coverage. [0] https://opendev.org/openstack/ironic-prometheus-exporter Depends-On: https://review.opendev.org/c/openstack/kolla/+/874415 Change-Id: I6d421effd833d2e0524dd0b81736445c9a730ea9
35 lines
1012 B
Django/Jinja
35 lines
1012 B
Django/Jinja
{
|
|
"command": "ironic-conductor",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ironic.conf",
|
|
"dest": "/etc/ironic/ironic.conf",
|
|
"owner": "ironic",
|
|
"perm": "0600"
|
|
}{% if ironic_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ironic_policy_file }}",
|
|
"dest": "/etc/ironic/{{ ironic_policy_file }}",
|
|
"owner": "ironic",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/ironic",
|
|
"owner": "ironic:ironic",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/ironic",
|
|
"owner": "ironic:ironic",
|
|
"recurse": true
|
|
}{% if enable_ironic_prometheus_exporter | bool %},
|
|
{
|
|
"path": "/var/lib/ironic/metrics",
|
|
"owner": "ironic:ironic",
|
|
"recurse": true
|
|
}{% endif %}
|
|
]
|
|
}
|