4f175fd5be
This commit adds support to install the Ironic Prometheus Exporter, it's necessary to set `enable_prometheus_exporter=True` or pass `--enable-prometheus-exporter` when using the `bifrost-cli` Also the ipe is now enabled in the bifrost-integration-tinyipa-keystone-ubuntu-bionic/centos8 Change-Id: I3972e88162fba31ad6e262f47b67a37cd37a2076
11 lines
383 B
Django/Jinja
11 lines
383 B
Django/Jinja
[Unit]
|
|
Description=Ironic Prometheus Exporter Flask App
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn ironic_prometheus_exporter.app.wsgi:application \
|
|
--bind {{ prometheus_exporter_host }}:{{ prometheus_exporter_port}} \
|
|
--env IRONIC_CONFIG=/etc/ironic/ironic.conf \
|
|
--workers 2 --threads 2 --access-logfile=- --error-logfile=-
|