You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/01 12:49:19 UTC

[camel-performance-tests] 02/02: Kafka Azure Storage Blob Exchange Pooling: Added instruction for plotting JFR data in Grafana

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-azure-storage-blob-grafana
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit b9ef73f5cf044073b2885a9e8b29aa04fb16683f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 1 13:48:35 2021 +0100

    Kafka Azure Storage Blob Exchange Pooling: Added instruction for plotting JFR data in Grafana
---
 .../README.md                                       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md b/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md
index 9c06b2f..aa15705 100644
--- a/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md
+++ b/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md
@@ -139,3 +139,24 @@ cd script/
 
 This command will run 5 burst script with 1000 messages each one with payload "payload" to the Kafka instance running on localhost:9092 and the topic "testtopic"
 
+### Monitoring with Grafana
+
+After running this performance test an output.jfr recording is generated in jfr folder, it is possible to plot jfr metrics to grafana following these steps:
+
+Start jfr-datasource and grafana with preconfigured datasource and dashboard
+
+```
+cd ../monitoring
+docker-compose up
+```
+
+Post recording to jfr-datasource
+
+```
+curl -F "file=@./jfr/output.jfr" "localhost:8080/load"
+```
+
+Now wait 20s so that grafana will poll metrics from jfr-datsource
+
+And then go to grafana `http://localhost:3000` dashboard camel-jfr to observe results (default login is admin/admin)
+