aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/local
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2019-10-17 16:26:33 +0200
committerpwielebs <piotr.wielebski@nokia.com>2019-10-17 16:26:33 +0200
commit25bda9375368252b0754d970c1949a15d016bac1 (patch)
tree0d29297269f723e4879bbedfff166d2542e438f5 /tools/performance/local
parentae3a6cf23f0ab5411b244fe8df676511293a4063 (diff)
Revert - Fix memory usage per pod table
(local deployment) Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Issue-ID: DCAEGEN2-1833 Change-Id: I1119c39ce3b25701a8ea467b90ad052b2c7b0dd0
Diffstat (limited to 'tools/performance/local')
-rw-r--r--tools/performance/local/docker-compose.yml21
-rw-r--r--tools/performance/local/grafana/dashboards/processing.json2
-rw-r--r--tools/performance/local/prometheus.yml4
3 files changed, 1 insertions, 26 deletions
diff --git a/tools/performance/local/docker-compose.yml b/tools/performance/local/docker-compose.yml
index 386cdee0..97fecc73 100644
--- a/tools/performance/local/docker-compose.yml
+++ b/tools/performance/local/docker-compose.yml
@@ -122,27 +122,6 @@ services:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- depends_on:
- - cadvisor
-
- cadvisor:
- image: google/cadvisor:latest
- container_name: cadvisor
- ports:
- - "8080:8080"
- volumes:
- - /:/rootfs:ro
- - /var/run:/var/run:rw
- - /sys:/sys:ro
- - /var/lib/docker/:/var/lib/docker:ro
- depends_on:
- - redis
-
- redis:
- image: redis:latest
- container_name: redis
- ports:
- - 6379:6379
grafana:
image: grafana/grafana
diff --git a/tools/performance/local/grafana/dashboards/processing.json b/tools/performance/local/grafana/dashboards/processing.json
index fa34c377..d74968cb 100644
--- a/tools/performance/local/grafana/dashboards/processing.json
+++ b/tools/performance/local/grafana/dashboards/processing.json
@@ -706,7 +706,7 @@
],
"targets": [
{
- "expr": "(sum(container_memory_usage_bytes{image=\"onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:latest\"}) by (image)) / 1024 / 1024 / 1024",
+ "expr": "(sum(container_memory_usage_bytes{pod_name=~\"dep-dcae-hv-ves-collector.*\"}) by (pod_name)) / 1024 / 1024 / 1024",
"format": "time_series",
"hide": false,
"instant": true,
diff --git a/tools/performance/local/prometheus.yml b/tools/performance/local/prometheus.yml
index 7efb4a80..074b2dca 100644
--- a/tools/performance/local/prometheus.yml
+++ b/tools/performance/local/prometheus.yml
@@ -22,7 +22,3 @@ scrape_configs:
metrics_path: '/monitoring/prometheus'
static_configs:
- targets: ['ves-hv-collector:6060']
-
- - job_name: 'cadvisor'
- static_configs:
- - targets: ['cadvisor:8080'] \ No newline at end of file