Total number of requests doesn't match

In the result output in the console, I can see a total of 1180 requests in a small test. In Grafana, the number doesn’t match up. The value here is 631.

My query:

FROM "autogen"."http_reqs"
    time >= now() - 1h
  time(30s) fill(null)

What makes the difference in the two numbers, and which are correct?

Try running k6 in verbose mode, with the -v flag. It might be possible some of the data packets k6 sends to InfluxDB were dropped. I’d wager that the number you see in the k6 end-of-test summary output is the correct one, but I have no idea why you see this difference :confused: