aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2019-09-24 09:46:24 +0200
committerkjaniak <kornel.janiak@nokia.com>2019-09-26 14:34:14 +0200
commit728ca6351b290a15cb7fec07f56e0752f7addd70 (patch)
tree62314472bf5e5180f671e8f8a45239d4bf46c674 /tools/performance
parent6d815b760e927bace06451cf72972a505a080b6c (diff)
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 <kornel.janiak@nokia.com>
Diffstat (limited to 'tools/performance')
-rwxr-xr-xtools/performance/cloud/cloud-based-performance-test.sh2
-rw-r--r--tools/performance/cloud/test.properties2
-rw-r--r--tools/performance/local/grafana/dashboards/performance_tests.json4
3 files changed, 4 insertions, 4 deletions
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": [