grafana/k6-studio

Warning when correlation rule extracts value from multiple requests

Open

#310 opened on Nov 10, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (27 forks)auto 404
good first issue

Repository metrics

Stars
 (510 stars)
PR merge metrics
 (PR metrics pending)

Description

When using the correlation rule with the current behaviour, it will extract the value defined in the selector only from the first request that matches. Following requests could be matched but are ignored by script generation, still they are displayed in the rule preview.

We should warn the user when a correlation rule matches multiple requests so that they can accept to use it as it is or fine tune the selection.


As a user when I use a correlation rule that matches multiple requests, I should be warned when that happens to not have surprises in behaviour.

Contributor guide