mimir
mimir copied to clipboard
distributor: remove labels with empty values
Empty labels are stripped when the series reaches TSDB, so we should remove them earlier to keep things consistent.
Checklist
- [x] Tests updated
- NA Documentation added - this is not user-visible; we are just stripping them earlier.
- [x]
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]
The CHANGELOG has just been cut to prepare for the next Mimir release. Please rebase main and eventually move the CHANGELOG entry added / updated in this PR to the top of the CHANGELOG document. Thanks!
Rebased against latest main; reworded the test to use labels.FromStrings().