Remove fuzzy matching from VSD label filter
What does this MR do and why?
Updates the label filter query to use an exact match for the label names. Previously fuzzy matching was used, which would result multiple labels applied not the exact label specified in the config.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
| Before - fuzzy search | After - exact search |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Create 2 new labels in a group. Give the labels similar names:
test label,test label advanced - Follow the docs to set up a custom VSD
- Edit the YAML config for the
dora_chartpanel and add thetest labelas a filter. For example:
- visualization: dora_chart
queryOverrides:
namespace: flightjs
filters:
labels:
- test label
- View the Value streams dashboard. Only the label with the exact title should be applied (exact search)
- Switch to the master/main branch, return to the VSD and both labels should be returned (fuzzy search)
Related to #465548 (closed)
Edited by Ezekiel Kigbo

