How to get the testid tag

Hey all,

So I am using github actions to use kubectl to apply a custom resource to kick off a k6 load test. My k6 test has a tag for testid that creates a unique guid. Is there anyway to get the testid so I can go to prometheus and see the data only for my test run?

thanks in advance

Hi @justinyoon1 !

My k6 test has a tag for testid that creates a unique guid. Is there anyway to get the testid so I can go to prometheus and see the data only for my test run?

Let me clarify some details.

Have you already defined the tag globally via Options reference | Grafana k6 documentation? So you just wonder how to get the generated value of the test ID?

Cheers!