We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d2133 commit e41bf90Copy full SHA for e41bf90
README.rst
@@ -91,3 +91,17 @@ Here is some example output from the exporter:::
91
openstack_hypervisor_placement_allocatable_capacity{hypervisor="ctrl1",resource="VCPU"} 320.0
92
openstack_hypervisor_placement_allocatable_capacity{hypervisor="ctrl1",resource="MEMORY_MB"} 622635.0
93
openstack_hypervisor_placement_allocatable_capacity{hypervisor="ctrl1",resource="DISK_GB"} 19551.0
94
+
95
+Example of a prometheus scrape config:::
96
97
+ - job_name: os_capacity
98
+ relabel_configs:
99
+ - regex: ([^:]+):\d+
100
+ source_labels:
101
+ - __address__
102
+ target_label: instance
103
+ static_configs:
104
+ - targets:
105
+ - localhost:9000
106
+ scrape_interval: 2m
107
+ scrape_timeout: 1m
0 commit comments