Quantcast
Channel: Grafana k6 - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 339

How to group by url for vital metric?

$
0
0

Hello,
Im executing k6 browser test and sending metrics to a influxdb and can select and view the vitals but when i want to group by url then there is issues since the url is not a Tag in Influxdb.

SELECT percentile("value", 90) FROM browser_web_vital_fcp WHERE ("script" =~ /^Testscript$/) GROUP BY  "url"

I’ve tried to create a CONTINUOUS QUERIES and group by time, script and url, but still can’t get any data out of it.

CREATE CONTINUOUS QUERY "cq_url_as_tag" ON "loadtest" BEGIN SELECT max("value") AS "value" INTO "browser_web_vital_fcp_transformed" FROM "browser_web_vital_fcp" GROUP BY time(1m), "script", "url" END

Is there any other way that i can group by url?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 339

Trending Articles