
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
13 lines
180 B
Bash
Executable File
13 lines
180 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ "$DIB_INIT_SYSTEM" == "systemd" ]; then
|
|
systemctl enable prometheus-proxy
|
|
fi
|