Files
devstack-plugin-prometheus/devstack/settings
Jaromir Wysoglad cae0afcb16 Allow installing observabilityclient from git
The python-observabilityclient is the client for interacting
with prometheus from CLI and from services. Allow to install it
from git as part of this devstack plugin.

Change-Id: I4de463e7f188d1aa68e4d4e73e0a0b1090d56683
2025-06-23 05:44:11 -04:00

21 lines
906 B
Plaintext

# DevStack settings
define_plugin prometheus node_exporter podman_exporter
enable_service prometheus
enable_service node_exporter
## Variables related to prometheus
PROMETHEUS_VERSION=3.1.0
PROMETHEUS_PROJECT_DIR=$DEST/devstack-plugin-prometheus
PROMETHEUS_DEVSTACK_DIR=${PROMETHEUS_PROJECT_DIR}/devstack/files
PROMETHEUS_CONFIG_FILE=${PROMETHEUS_CONFIG_FILE:-${PROMETHEUS_DEVSTACK_DIR}/prometheus.yml}
## Variables related to node exporter
NODE_EXPORTER_VERSION=1.8.2
# List of "," excluded collector names
NODE_EXPORTER_COLLECTOR_EXCLUDE=${NODE_EXPORTER_COLLECTOR_EXCLUDE:-""}
## Variables related to the observabilityclient
GITREPO["python-observabilityclient"]=${OBSERVABILITYCLIENT_REPO:-${GIT_BASE}/openstack/python-observabilityclient.git}
GITBRANCH["python-observabilityclient"]=${OBSERVABILITYCLIENT_BRANCH:-$TARGET_BRANCH}
GITDIR["python-observabilityclient"]=$DEST/python-observabilityclient