grafana/pkg/services/ngalert/state/historian
Alexander Weaver 958fb2c50a
Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055)
* Use existing row struct instead of [2]string, add deserialization helper

* Replace Stream struct with stream struct which is exactly the same

* Drop unused status field

* Don't export queryRes and queryData

* Tests for custom marshalling

* Rename row fields to T and V for consistency with prometheus samples

* Rename row to sample
2023-02-11 05:17:44 -06:00
..
model Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
annotation_test.go Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
annotation.go Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
core_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
core.go Alerting: Usability adjustments to Loki representation of state history values (#62643) 2023-02-02 10:54:10 -06:00
dashboard_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
dashboard.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
loki_http_test.go Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055) 2023-02-11 05:17:44 -06:00
loki_http.go Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055) 2023-02-11 05:17:44 -06:00
loki_test.go Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055) 2023-02-11 05:17:44 -06:00
loki.go Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055) 2023-02-11 05:17:44 -06:00
noop.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
query.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
sql.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00