Multiple tags/submetrics in thresholds

Is it possible to set a threshold on multiple tags?
For example, usually one would do:

http_reqs{scenario:my_test}: [...]

For the single scenario tag.

But can one do something like:

http_reqs{scenario:my_test, status:200}: [...]

On both the scenario and status tags. Based on my testing, I wasn’t able to get this to work.

Hi @jhwj9617,
this use-case is already supported.

For example, I can run correctly a test with the thresholds option set like this:

export let options = {
  thresholds: {
    'http_reqs{scenario:my_test,status:200}': ['count>20'],
  },
}

Are you using the same syntax? Can you report more details about the error and/or the script that you’re executing, please?