简体   繁体   中英

How to find out root cause analysis using JMeter integration with Prometheus and Grafana?

Requirements is to find out root cause analysis using Prometheus and Grafana and also need to know which method is taking more time, CPU and Memory Utilisation also?

Can anyone pls help me

  1. Integrate Prometheus client library into your app
  2. Configure Grafana dashboard to visualize the metrics you want to monitor from your app
  3. Additionally you can integrate JMeter with Prometheus Listener for JMeter plugin (can be installed using JMeter Plugins Manager )
  4. Come up with a test plan which simulates a real life usage of your application
  5. Run a stress test (start with 1 user and gradually increase the load until response time starts exceeding acceptable threshold or errors start occurring)
  6. Inspect Grafana dashboard to see what is the reason of the application being slow, ie trace down the "slow" request to the underlying function. Additionally you can use a profiler tool which can provide a better picture

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM