-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprometheus.yml
More file actions
27 lines (26 loc) · 830 Bytes
/
prometheus.yml
File metadata and controls
27 lines (26 loc) · 830 Bytes
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
# Create this file in `mkdir -p /etc/prometheus` folder.
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'openstack'
openstack_sd_configs:
- role: 'instance'
region: 'RegionOne'
identity_endpoint: 'http://10.80.81.1:5000/v3/'
username: 'j.caviedes'
domain_id: 'default'
project_name: 'k8s PoC ORAN'
password: 'JC22062020cv'
relabel_configs:
- source_labels: [__meta_openstack_public_ip]
target_label: __address__
replacement: '$1:9100'
- source_labels: [__meta_openstack_tag_prometheus]
regex: true.*
action: keep
- source_labels: [__meta_openstack_tag_node_exporter]
regex: true.*
action: keep
- action: labelmap
regex: __meta_openstack_(.+)