Jobs were recently refactored[1] in Watcher repo and it has a new tempest prometheus job. [1] https://review.opendev.org/c/openstack/watcher/+/966942 Change-Id: I5dab5685429cd49a7d99ba76f452e12268c50c63 Signed-off-by: Douglas Viroel <viroel@gmail.com>
88 lines
2.8 KiB
YAML
88 lines
2.8 KiB
YAML
- project:
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- watcher-tempest-prometheus
|
|
- devstack-prometheus
|
|
- devstack-prometheus-custom-target
|
|
- devstack-prometheus-openstack-exporter
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- devstack-prometheus
|
|
- devstack-prometheus-openstack-exporter
|
|
|
|
- job:
|
|
name: devstack-prometheus-base
|
|
nodeset: openstack-single-node-noble
|
|
abstract: true
|
|
parent: devstack-base
|
|
description: |
|
|
A minimal DevStack base job to install and configure prometheus and
|
|
node exporter service only.
|
|
required-projects:
|
|
- opendev.org/openstack/devstack-plugin-prometheus
|
|
- opendev.org/openstack/requirements
|
|
vars:
|
|
devstack_plugins:
|
|
devstack-plugin-prometheus: https://opendev.org/openstack/devstack-plugin-prometheus
|
|
devstack_services:
|
|
prometheus: true
|
|
node_exporter: true
|
|
podman_exporter: true
|
|
openstack_exporter: false
|
|
zuul_copy_output:
|
|
/etc/prometheus/prometheus.yml: logs
|
|
|
|
- job:
|
|
name: devstack-prometheus
|
|
parent: devstack-prometheus-base
|
|
description: |
|
|
A Devstack job to install/configure prometheus and node exporter
|
|
on a single node and exclude cpu metrics
|
|
vars:
|
|
devstack_localrc:
|
|
# Avoid collecting cpu resources.
|
|
NODE_EXPORTER_COLLECTOR_EXCLUDE: "cpu"
|
|
|
|
- job:
|
|
name: devstack-prometheus-custom-target
|
|
parent: devstack-prometheus-base
|
|
description: |
|
|
A Devstack job to install/configure prometheus and node exporter
|
|
on a single node and generate custom prometheus config.
|
|
vars:
|
|
devstack_services:
|
|
prometheus: true
|
|
node_exporter: true
|
|
openstack_exporter: false
|
|
devstack_localrc:
|
|
# custom target
|
|
PROMETHEUS_CUSTOM_SCRAPE_TARGETS: "localhost:9090,localhost:9100"
|
|
|
|
- job:
|
|
#NOTE(mattcrees): Maintained for the CloudKitty project.
|
|
# #cloudkitty on IRC.
|
|
name: devstack-prometheus-openstack-exporter
|
|
nodeset: openstack-single-node-noble
|
|
parent: devstack
|
|
description: |
|
|
A DevStack job to install and configure prometheus, openstack services and
|
|
openstack exporter service.
|
|
required-projects:
|
|
- opendev.org/openstack/devstack-plugin-prometheus
|
|
- opendev.org/openstack/requirements
|
|
vars:
|
|
devstack_plugins:
|
|
devstack-plugin-prometheus: https://opendev.org/openstack/devstack-plugin-prometheus
|
|
devstack_services:
|
|
prometheus: true
|
|
node_exporter: false
|
|
podman_exporter: false
|
|
openstack_exporter: true
|
|
zuul_copy_output:
|
|
/etc/prometheus/prometheus.yml: logs
|
|
devstack_localrc:
|
|
# custom target
|
|
PROMETHEUS_CUSTOM_SCRAPE_TARGETS: "localhost:9090,localhost:9180"
|