From 25bda9375368252b0754d970c1949a15d016bac1 Mon Sep 17 00:00:00 2001 From: pwielebs Date: Thu, 17 Oct 2019 16:26:33 +0200 Subject: Revert - Fix memory usage per pod table (local deployment) Signed-off-by: pwielebs Issue-ID: DCAEGEN2-1833 Change-Id: I1119c39ce3b25701a8ea467b90ad052b2c7b0dd0 --- tools/performance/local/docker-compose.yml | 21 --------------------- .../local/grafana/dashboards/processing.json | 2 +- tools/performance/local/prometheus.yml | 4 ---- 3 files changed, 1 insertion(+), 26 deletions(-) (limited to 'tools') 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 -- cgit 1.2.3-korg