summaryrefslogtreecommitdiffstats
path: root/monitor/config/prometheus.yaml
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-05-24 14:37:06 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-05-25 07:34:47 +0000
commitdba21d5d8e56ee647de0e167bd106426be734c2f (patch)
treee79baabd1d31b9942ba4e8d636454f5477aa17d1 /monitor/config/prometheus.yaml
parent316f53716106bbcff780761ee1d24a610cc0e925 (diff)
add openstack-export support
add openstack-exporter and enable ovs plugin in Barometer Changes: 1. Add openstack-exporter docker 2. Add opnestack grafana dashboard Change-Id: Ifd3416ad1dc48075e98c190b2048c7760f686bcb Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit b1b458428b644e0df7957e3137bc75d658d68ab1)
Diffstat (limited to 'monitor/config/prometheus.yaml')
-rw-r--r--monitor/config/prometheus.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/monitor/config/prometheus.yaml b/monitor/config/prometheus.yaml
index b218711d..4ece441a 100644
--- a/monitor/config/prometheus.yaml
+++ b/monitor/config/prometheus.yaml
@@ -50,3 +50,11 @@ scrape_configs:
static_configs:
- targets: ['192.168.114.2:9100']
+
+ - job_name: 'openstack'
+
+ # Override the global default and scrape targets from this job every 5 seconds.
+ scrape_interval: 5s
+
+ static_configs:
+ - targets: ['192.168.114.2:9104']