I have K6- InfluxDB - Grafana stack which were integrating into azure release pipeline.
In grafana, I can filter results based on timelines since influxdb is time series database. But I would like to have the flexibility to filter results based on the release pipeline number as well. Is it possible to do it? Can we pass release number as an environment variable? But what do I do with a release number , how do I integrate it in my k6 script or influxdb so that Grafana can read it.
You can use the --tag option to add extra metric tag for every metric sample in that test run, e.g. --tag release_number=<your-release-number>". Haven't used azure release pipeline, but you should be able to pass that to k6. That way you can filter by release_number`.