abstracta / jmeter-java-dsl

Simple JMeter performance tests API
https://abstracta.github.io/jmeter-java-dsl/
Apache License 2.0
477 stars 59 forks source link

Support for Prometheus Listener for generating Grafana dashboard #258

Closed rahul84gupta closed 6 months ago

rahul84gupta commented 8 months ago

Please include Prometheus Listener for generating Grafana dashboard using Jmeter-DSL.

rabelenda commented 8 months ago

Thank you for bringing this request.

Please, if anyone else is also interested in this feature, upvote it so we know the community interest in this.

Regards

IvanKvashnin commented 7 months ago

Upvote ! Upvote ! Upvote !

Rasta341 commented 7 months ago

upvote :) that must be usefull

sergeykrylovich commented 7 months ago

upvote!

SubbotinMXM commented 7 months ago

upvote

sk0ba commented 7 months ago

Upvote! Usefull feature!

KKoblukov commented 7 months ago

Upvote pls!

dimkor commented 7 months ago

Upvote!

mrRazmarin commented 7 months ago

upvote!

zakamaldin commented 7 months ago

Upvote!

rabelenda commented 6 months ago

Wow, I see a lot of people interested in this feature :).

Any particular reason to prefer Prometheus over an alternative like influxDB? Can you provide some example jmx of how you use the listener? What metrics do you usually use? Can you provide a grafana dashboard that you usually use in combination with the plugin?

How do you usually handle the potential issue of losing metrics due to the "pull" nature of Prometheus? For example, if you have you prometheus server polling metrics every 5 seconds, how do you avoid losing the metrics for the last 5 seconds of JMeter test plan execution in your Prometheus metrics? I see the plugin doesn't have a way to push metrics. Do you usually set prometheus.delay system property, to be greater than prometheus server poll period?

rabelenda commented 6 months ago

We have just released a new version which includes prometheusListener. I will close this issue. Feel free to re open it if you have further questions/comments regarding this.