grafana/public/app/features/query/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
..
DashboardQueryRunner Annotations: Support filtering the target panels (#66325) 2023-04-18 15:39:30 -05:00
processing
PanelQueryRunner.test.ts Templating: Introduce macros to simplify and optimize some scopedVars (#65317) 2023-03-28 19:22:34 +02:00
PanelQueryRunner.ts Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084) 2023-08-01 12:00:39 +02:00
QueryRunner.ts Chore: Remove deprecated dashboardId from panel query runner (#64786) 2023-04-14 16:50:10 -07:00
mergePanelAndDashData.test.ts
mergePanelAndDashData.ts
queryAnalytics.test.ts Chore: Remove deprecated dashboardId from panel query runner (#64786) 2023-04-14 16:50:10 -07:00
queryAnalytics.ts Chore: Remove deprecated dashboardId from panel query runner (#64786) 2023-04-14 16:50:10 -07:00
runRequest.test.ts Show traceids for failing and successful requests (#64903) 2023-04-05 09:13:24 +02:00
runRequest.ts Show traceids for failing and successful requests (#64903) 2023-04-05 09:13:24 +02:00
updateQueries.test.ts QueryBuilder: Preserve queries when switching from Mixed (#71224) 2023-07-18 15:15:43 +01:00
updateQueries.ts QueryBuilder: Preserve queries when switching from Mixed (#71224) 2023-07-18 15:15:43 +01:00