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

Loki: Deprecate resolution #70326

Merged
merged 6 commits into from Jun 21, 2023
Merged

Loki: Deprecate resolution #70326

merged 6 commits into from Jun 21, 2023

Conversation

ivanahuckova
Copy link
Member

@ivanahuckova ivanahuckova commented Jun 19, 2023

In Prometheus, we have previously deprecated Resolution and only show it if users have already changed the value of resolution and saved it (in dashboard). The reason was to make it more straight forward and less confusing to set the step.

In #69648 we have introduced step editor which offers a more precise way to set step. Therefore we have decided to go with the same approach as in Prometheus and deprecate Resolution. This is done in a way, where resolution is still applied if you have query that uses it, but we are not showing Resolution to new users.

We are using the same Deprecated style as in Elasticsearch editor.

image image

Part of #58337

@ivanahuckova ivanahuckova requested a review from gabor June 19, 2023 13:31
@ivanahuckova ivanahuckova requested a review from a team as a code owner June 19, 2023 13:31
@ivanahuckova ivanahuckova self-assigned this Jun 19, 2023
@ivanahuckova ivanahuckova added this to the 10.1.x milestone Jun 19, 2023
@ivanahuckova ivanahuckova changed the title Loki: Deprecate resolution and only show it if it was selected before Loki: Deprecate resolution Jun 19, 2023
@ivanahuckova ivanahuckova mentioned this pull request Jun 19, 2023
8 tasks
@github-actions
Copy link
Contributor

Backend code coverage report for PR #70326
No changes

@github-actions
Copy link
Contributor

Frontend code coverage report for PR #70326

Plugin Main PR Difference
loki 85.26% 85.32% .06%

Copy link
Contributor

@gabor gabor left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ivanahuckova ivanahuckova merged commit 55d1836 into main Jun 21, 2023
18 of 19 checks passed
@ivanahuckova ivanahuckova deleted the ivana/resolution-deprecate-loki branch June 21, 2023 10:21
LudoVio pushed a commit that referenced this pull request Jun 26, 2023
* Loki: Deprecate resolution and only show it if it was selected before

* Deprecate

* Fix merge, add missing brackets
harisrozajac pushed a commit that referenced this pull request Jun 30, 2023
* Loki: Deprecate resolution and only show it if it was selected before

* Deprecate

* Fix merge, add missing brackets
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants