aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/local/docker-compose.yml
diff options
context:
space:
mode:
authorPiotr Wielebski <piotr.wielebski@nokia.com>2019-08-06 08:04:16 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-06 08:04:16 +0000
commit5e94e2e955615167e9fd8dec69e2e67a7a337dac (patch)
tree58149418b10d544b244113f6372bc3d27f7dd211 /tools/performance/local/docker-compose.yml
parentada6abda93771b4912ceddcbc7c2fd820700fc28 (diff)
parentbc9692310ada044194f67ee7ddd13a696354c8c3 (diff)
Merge "Setup grafana for local performance tests"
Diffstat (limited to 'tools/performance/local/docker-compose.yml')
-rw-r--r--tools/performance/local/docker-compose.yml29
1 files changed, 26 insertions, 3 deletions
diff --git a/tools/performance/local/docker-compose.yml b/tools/performance/local/docker-compose.yml
index 73d02fd1..97fecc73 100644
--- a/tools/performance/local/docker-compose.yml
+++ b/tools/performance/local/docker-compose.yml
@@ -100,11 +100,19 @@ services:
- ./logs:/var/log/ONAP/dcae-hv-ves-collector
- ../../ssl/:/etc/ves-hv/ssl/
- kafka-consumer:
+ kafka-processing-consumer:
image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer
ports:
- - "6064:6064/tcp"
- command: ["--listen-port", "6064", "--kafka-topics", "HV_VES_PERF3GPP", "--kafka-bootstrap-servers", "message-router-kafka-0:9093"]
+ - "6063:6063/tcp"
+ command: ["--listen-port", "6063", "--kafka-topics", "HV_VES_PERF3GPP", "--kafka-bootstrap-servers", "message-router-kafka-0:9093"]
+ depends_on:
+ - message-router-kafka-0
+
+ kafka-offset-consumer:
+ image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer
+ ports:
+ - "6062:6062/tcp"
+ command: ["--listen-port", "6062", "--kafka-topics", "HV_VES_PERF3GPP", "--kafka-bootstrap-servers", "message-router-kafka-0:9093", "--disable-processing"]
depends_on:
- message-router-kafka-0
@@ -114,3 +122,18 @@ services:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
+
+ grafana:
+ image: grafana/grafana
+ ports:
+ - "3000:3000"
+ environment:
+ GF_AUTH_DISABLE_LOGIN_FORM: "true"
+ GF_AUTH_DISABLE_SIGNOUT_MENU: "true"
+ GF_AUTH_ANONYMOUS_ENABLED: "true"
+ GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
+ volumes:
+ - ./grafana/datasources:/etc/grafana/provisioning/datasources
+ - ./grafana/dashboards-providers:/etc/grafana/provisioning/dashboards
+ # defined in ./grafana/dashboards-providers/dasboard-providers.yaml
+ - ./grafana/dashboards:/var/lib/grafana/dashboards/hv-ves