I have created a metric/Trend. When using the --out json and --iterations 4, I see my metric 4 times as expected. However, how do I correlate each with a specific iteration?
Hi @erickbenson,
Welcome to our community, thanks for sharing your question here
However, how do I correlate each with a specific iteration?
Sorry, but I don’t fully get your question - in other words: why would you want to correlate your metrics with a specific iteration?
If you want to do certain types of correlations, you will probably need to use tags (see docs), but I don’t think generally speaking correlating with the iteration number is a good idea.
In case you’re trying to run a small experiment, you could probably, for instance, have a single iteration with the four requests (or whatever event that produces your metric) within a different group, so you can easily understand what belongs to what. However, if you plan to run larger tests, then you’ll need to rethink how would you like to categorize/annotate those events (based on tags, as aformentioned), so you can correlate your metrics, other than by iteration, because iterations aren’t something than happen synchronously (like within a loop, doing a request on each iteration), so using the iteration number would likely be more confusing than helpful.
Thanks!