From 728ca6351b290a15cb7fec07f56e0752f7addd70 Mon Sep 17 00:00:00 2001 From: kjaniak Date: Tue, 24 Sep 2019 09:46:24 +0200 Subject: Add partition offset metric to each topic partition Before this commit offset consumer was able to fetch offset just from one partition. This commit solve this. Change-Id: I2c2c300219e43ab422b237094ad775ca8795169e Issue-ID: DCAEGEN2-1783 Signed-off-by: kjaniak --- tools/performance/cloud/cloud-based-performance-test.sh | 2 +- tools/performance/cloud/test.properties | 2 +- tools/performance/local/grafana/dashboards/performance_tests.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/performance') diff --git a/tools/performance/cloud/cloud-based-performance-test.sh b/tools/performance/cloud/cloud-based-performance-test.sh index cc08f4b0..300bf203 100755 --- a/tools/performance/cloud/cloud-based-performance-test.sh +++ b/tools/performance/cloud/cloud-based-performance-test.sh @@ -77,7 +77,7 @@ function usage() { echo "./cloud-based-performance-test.sh setup" echo "./cloud-based-performance-test.sh start" echo "./cloud-based-performance-test.sh start --containers 10" - echo "./cloud-based-performance-test.sh start --containers 10" + echo "./cloud-based-performance-test.sh start --properties-file ~/other_test.properties" echo "./cloud-based-performance-test.sh clean" exit 1 } diff --git a/tools/performance/cloud/test.properties b/tools/performance/cloud/test.properties index bd746a15..04169e3a 100644 --- a/tools/performance/cloud/test.properties +++ b/tools/performance/cloud/test.properties @@ -14,6 +14,6 @@ producer.message.interval=0 # CONSUMER CONFIGURATION # Addresses of Kafka services to consume from -consumer.kafka.bootstrapServers=message-router-kafka-0:9093,message-router-kafka-1:9093,message-router-kafka-2:9093 +consumer.kafka.bootstrapServers=message-router-kafka:9092 # Kafka topics to subscribe to consumer.kafka.topics=HV_VES_PERF3GPP diff --git a/tools/performance/local/grafana/dashboards/performance_tests.json b/tools/performance/local/grafana/dashboards/performance_tests.json index 3784a961..654fdc36 100644 --- a/tools/performance/local/grafana/dashboards/performance_tests.json +++ b/tools/performance/local/grafana/dashboards/performance_tests.json @@ -191,7 +191,7 @@ "tableColumn": "", "targets": [ { - "expr": "hv_kafka_consumer_consumer_offset_topic", + "expr": "hv_kafka_consumer_offset_partition_hv_ves_perf3gpp_0", "format": "time_series", "intervalFactor": 1, "refId": "A" @@ -200,7 +200,7 @@ "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Current offset", + "title": "Current offset on partition 0", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ -- cgit 1.2.3-korg