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

Running an archive with new tags removes the tags from the archive

$
0
0

Hi, I’m creating an archive with a tag like this

k6 archive --tag foo=1 loadtest.js

which adds the foo as a label to emitted metrics when I run the archive, as expected.

But when I run the archive with an additional tag, like this

k6 run --tag bar=1 archive.tar

the foo label is removed, and only the bar label is present on the metrics.

I see in the documentation for the archive command that cli flags can be overridden when running the archive, which makes sense to me for other cli flags. But I expected that adding tags to an archive before running it would append tags, not completely remove the tags from the archive. Is this the expected behavior?

Thanks,
Kevin

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 363

Trending Articles