Hello! I am running k6 on multiple servers. Each running instance is configured to send the metrics to a central InfluxDB instance, which is read/graphed by Grafana. Everything has been working perfectly so far! However, I am having trouble configuring Grafanna to show correct data.
I understand this is not directly a k6 question, however I’m hoping it’s still appropriate to post here.
The issue: I have k6 running on 16 separate servers. The test script is configured to ramp up to a max of 500 VUs.
The right graph is correct: 500 VUs per server. However the left graph is incorrect. There should be 16 * 500 = 8,000 not 40,000 as the graph displays.
Here’s the query I’m using:
SELECT sum(“value”) FROM “vus” WHERE timeFilter GROUP BY time(__interval) fill(null)
Am I using the vus.sum value incorrectly? This also makes me worry that my other graphs (http_reqs.sum, data_sent.sum, and data_received.sum) are also incorrect.