Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakdowns: Level, detected level, level_extracted, oh my! #685

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

gtk-grafana
Copy link
Contributor

Fixes: #676

The same level panel shows up in several different places in the UI. Let's remove them all except the one that's pushed to the top of the label breakdown.

@gtk-grafana gtk-grafana marked this pull request as ready for review August 13, 2024 19:35
@gtk-grafana gtk-grafana requested a review from a team as a code owner August 13, 2024 19:35
Copy link
Contributor

@matyax matyax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@matyax
Copy link
Contributor

matyax commented Aug 14, 2024

Took the liberty to update the tests and merge, so I can work on top of this. Thank you!

@matyax matyax enabled auto-merge (squash) August 14, 2024 08:55
@matyax matyax merged commit 4d36ff6 into main Aug 14, 2024
4 checks passed
@svennergr
Copy link
Contributor

For posterity: theoretically detected_level, level and level_extracted can all have different values. Still, I guess it's a good change going forward.

@matyax
Copy link
Contributor

matyax commented Aug 14, 2024

Good point @svennergr . I think the main objective right now is to be consistent and minimize possible sources of confusion by, for example, having more than one level identifier.

We can come back to this in the future with something smarter if, for example, there's a chance of having level but not detected_level or something similar.

@gtk-grafana gtk-grafana deleted the gtk-grafana/issues/676/detected-level-in-fields branch August 14, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove detected_level from fields breakdown
3 participants