This post originally published at QAInsights Blog.
You can check out my videos about LoadRunner integration with Grafana in my YouTube channel. Re...
For further actions, you may consider blocking this person and/or reporting abuse
How to integrate Jmeter with promotheus+Graphana and my main requirement is how to fetch the JMeter metrics using external IP address because here i am able to see the JMeter metrics using local host 9270 port but i am not able to see the metrics using IP address of that VMmachine (linux),Could you please help me out with your suggestions
I think you need to open the port in your VM, so that Prometheus can scrape. Try to configure the IP as 0.0.0.0 in your JMeter properties prometheus.ip=0.0.0.0
Hi Naveen,
Thank you for your quick reply, Apologies for the delay.
I configured the prometheus.ip = 0.0.0.0 in jmeter properties file in VM machine, even though I am facing the connection refused error. Please find the attached screenshot FYR.
Could you please help me out.
are you able to access the Prometheus URL ? yourip:9270/metrics
No, i am not able to access the Prometheus URL with
ip Address (curl -q -6 -g http://[240b:c0e0:101:54e2::5b]:9270/metrics) but when when i am trying with local host in (curl -q -6 -g localhost:9270/metrics) it is working as expected
dev-to-uploads.s3.amazonaws.com/i/...
Please find the error screen shot
HI, It's very good information.
I have configured as per the steps that you mentioned above. Here are couple of issues.
1) Metrics are showing in 9090 port instead of 9270 port.
2) After running my jmeter script i don't see the result in metrics.
Can you please help me on this?
Are you using the latest version of Prometheus plugin?
hi Naveen,
I am following this thread to integrate my jmeter test result with prometheus. I did all the setups as suggested in this thread but i am not able to see the data in localhost:9270
I placed the jar file under jmeter and then added the yaml file as suggested in my local n started prometheus in my docker.
But i am unable to get any input in the jmeter url.Attaching the image.Could you please help me.My prometheus url is up localhost:9090/ but i am not seeing any jmeter parameters there to execute.
Please check the log from prometheus to debug.
Great information; thank you!
I really like the idea of pulling server resource metrics with Prometheus.
I want to run JMeter in headless mode for better performance. The JMeter people all say that it is bad to run JMeter with GUI components in a live load test.
How do you recommend using this component when running in headless mode?
It would seem that the right way is to just view the data in Grafana.
Thanks again.
Thanks. You can launch your test using
jmeter -n -t <test.jmx> .....for headless mode.HI Naveen - I have a very basic setup of jmeter where i have 1 master machine and 4 slave machines, I tried running jmeter on master machine with prometheus listener, it working fine not issue able to see metrics both in http://:9270/metrics and in Grafana as well, but when I started running distrubuted testing (tried to run a test on all 4 slave machines) that is when I am noticing issues the test is running fine but unable load http://:9270/metrics or unable to see metrics. I am not using docker, its a very basic setup and 5 windows machines 1 master and 4 slave machine. I tried adding prometheus portand ip address in jmeter properties of slave machines but no luck.