Skip to content

perf(logql): use simpler function to drop empty labels - #20938

Merged
sandeepsukhani merged 1 commit into
grafana:mainfrom
bboreham:labels-withoutempty
Feb 25, 2026
Merged

perf(logql): use simpler function to drop empty labels#20938
sandeepsukhani merged 1 commit into
grafana:mainfrom
bboreham:labels-withoutempty

Conversation

@bboreham

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
The purpose-built function WithoutEmpty is easier to read and requires less explanation.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • NA Documentation added
  • NA Tests updated
  • Title matches the required conventional commits format, see here
  • NA Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • NA If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@bboreham
bboreham requested a review from a team as a code owner February 23, 2026 19:48
@sandeepsukhani
sandeepsukhani merged commit b162e1e into grafana:main Feb 25, 2026
87 checks passed
@bboreham
bboreham deleted the labels-withoutempty branch June 19, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants