Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple_prometheus_example.jmx is not working with grafana.json file after making some config changes #90

Open
gochani-dev opened this issue Oct 5, 2020 · 2 comments

Comments

@gochani-dev
Copy link

Hello,

I want to try this plugin however when I am integrating jmeter with prometheus and Grafana, I can't load the data in Grafana. Not sure if I am missing something.

I got these files from example folder here in github. PFA screenshots:
image
image

Can someone please share the right JMX file wrt grafana.json file. Thanks for your help

@johrstrom
Copy link
Owner

The jmx and the dashboard seem to be mis-match. The jmx doesn't have ResponseTime_count or ResponseTime_sum.

But since ResponseTime_sum is already a summary you should have ResponseTime_sum_sum and ResponseTime_count. I think you could replace these values in the calulation. i.e., average = ResponseTime_sum_sum / ResponseTime_count.

@gochani-dev
Copy link
Author

Thanks @johrstrom, I appreciate. However, this is a bit difficult for someone like me who is trying out this plugin with no prior knowledge of prometheus and grafana workings. I see that you have uploaded JMX file 2 years ago and Grafana.json 4 months ago. Can you please upload the right files so that anyone trying out your given example is able to view the correct graphs ?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants