grafana/public/app/features/alerting/state
Sonia Aguilar de6ef53c8a
Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084)
* WIP: Show annotations markers in TimeSeries panel when using Loki as alert state history

* WIP changes

* Fix converting log records to data frame for panel

* Move fetching alert state history with Loki to the PannelQueryRunner to keep the panel flow

* use dasboardUID and panelUID for requesting Loki ash

* fix wrong prettier change

* Only request loki ash when having alertstate

* Use panelID as param in history query

* Refactor: move getRuleHistoryRecordsForPanel and remove filtering code as is not used

* Adress PR review comments

* Add try catch for ash request

* Add tests for updatePanelDataWithASHFromLoki method

* Address PR review suggestions

* review suggestion

* Add test for logRecordsToDataFrameForPanel method

* pr Review nit suggestion

* Dont show toast messages from Loki request
2023-08-01 12:00:39 +02:00
..
actions.ts Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591) 2022-06-15 08:59:29 +01:00
alertDef.ts Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084) 2023-08-01 12:00:39 +02:00
query_part.ts Move QueryPartDef out from angular app (#45386) 2022-02-15 14:20:50 +01:00
reducers.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
reducers.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
selectors.test.ts Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
selectors.ts Alerting: Remove unused NGAlerting components (#34568) 2021-05-24 14:20:11 +02:00
ThresholdMapper.test.ts Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
ThresholdMapper.ts fix unified alerting enabled checks (#40693) 2021-10-20 15:45:26 +03:00