Nike
Nike

Reputation: 23

Grafana Dashboard for Jmeter

I am new to InfluxDB & Grafana. Currently we are performing load testing with Jmeter (5.2.1) and also utilizing InfluxDB (2.0) & Grafana for monitoring. The set up goes like - 1 Controller machine and 8 remote host machines (LGs).

Though we are getting the value generated in the grafana dashboard, the development / project team is interested in knowing which LG is returning how much error and even we are interested to know, is the performance same on each of the loaf gen .

Question is - Do anyone here in community have configured the Grafana dashboard in a way that, we get individual graph for each of the host machine / LG.

Already tried

Sample of jmeter output in JTL file

If you can help on the building the dashboard, it would be of great help ..

Thanks in advance

Nike

Upvotes: 0

Views: 963

Answers (1)

Dmitri T
Dmitri T

Reputation: 168217

If you look at Metrics Explosed chapter of the Real-time results user manual entry you won't see the "threadName" or similar metric anywhere.

It means that the name of the thread isn't getting stored in Graphite/InluxDB so there is no way to distinguish the load generator IP address in Grafana.

I can think of 2 possible options:

  1. Modify existing relevant AbstractBackendListenerClient and add a separate measurement holding the IP address of the load generator machine

  2. Add __machineIP() function as a prefix/postfix to your Sampler labels, in this case the sampler/transaction names will have the IP added and you will be able to filter them out in Grafana:

    enter image description here

    More information on JMeter Functions concept: Apache JMeter Functions - An Introduction

Upvotes: 1

Related Questions