Loki: Deprecate resolution (#70326)

* Loki: Deprecate resolution and only show it if it was selected before

* Deprecate

* Fix merge, add missing brackets
This commit is contained in:
Ivana Huckova
2023-06-21 12:21:29 +02:00
committed by GitHub
parent a83a040f35
commit 55d18361dc
8 changed files with 54 additions and 25 deletions
@@ -103,7 +103,7 @@ type LokiDataQuery struct {
// By default, the UI will assign A->Z; however setting meaningful names may be useful.
RefId string `json:"refId"`
// Used to scale the interval value.
// @deprecated, now use step.
Resolution *int64 `json:"resolution,omitempty"`
// Used to set step value for range queries.