aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/local/docker-compose.yml
diff options
context:
space:
mode:
authorIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-07-16 08:12:32 +0200
committerIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-07-17 10:02:20 +0200
commitbc9692310ada044194f67ee7ddd13a696354c8c3 (patch)
tree6b37607220733a8b60abca466d0ccf23ae766245 /tools/performance/local/docker-compose.yml
parenta313a7fb4ba81e960397ec432ce02c28804a44b4 (diff)
Setup grafana for local performance tests
Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1666 Change-Id: I49bfccd30e4089a30a235957d3f1a404bfba5e76
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