Flux query to calculate request per second k6 metric

I am trying to configure a Grafana dashboard using the new 2.0 influxDB using this library: GitHub - grafana/xk6-output-influxdb: k6 extension for InfluxDB v2, but am having issue writing the flux query. I see that k6 outputs requests per second in the console under the http_reqs metric, but I don’t seem to be able to fetch that number in the database. Has anyone been successful and writing such query for a metric in Grafana?

Hi @eXpLoD96,
can you report what is the query that you’ve tried? Thanks.