-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zuul.yaml
More file actions
57 lines (54 loc) · 1.69 KB
/
.zuul.yaml
File metadata and controls
57 lines (54 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
- project:
check:
jobs:
- openstack-tox-linters
- watcher-prometheus-integration
- devstack-prometheus
- devstack-prometheus-custom-target
gate:
jobs:
- openstack-tox-linters
- devstack-prometheus
- 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
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
devstack_localrc:
# custom target
PROMETHEUS_CUSTOM_SCRAPE_TARGETS: "localhost:9090,localhost:9100"