
This patch adds a new protocol for listeners called "PROMETHEUS" that exposes a Prometheus endpoint. This allows detailed metrics collection from Octavia load balancers. Change-Id: I3e27e4e57ad955bcd7728426c91f05171a46ef7f
15 lines
375 B
Desktop File
15 lines
375 B
Desktop File
[Unit]
|
|
Description=OpenStack Octavia Prometheus Proxy
|
|
After=network.target syslog.service amphora-agent.service
|
|
Requires=amphora-agent.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/prometheus-proxy
|
|
KillMode=mixed
|
|
Restart=always
|
|
ExecStartPost=/bin/sh -c "echo $MAINPID > /var/run/prometheus-proxy.pid"
|
|
PIDFile=/var/run/prometheus-proxy.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|