This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit dabdb57e39d28bc1f9b89d39bc26ebbe658de775 Author: Andrea Cosentino <anco...@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) +