grafana/public/app/features/explore
Matias Chomicki fb83414b6a
Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434)
* Logs Volume: identify timeouts and provide remediation action

* Supplementary result error: refactor updated component API

* Create helper to identify timeout errors

* Update timeout identifying function

* Add unit test

* Update panel unit test

* Update public/app/features/explore/utils/logsVolumeResponse.ts

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Use some instead of reduce

* Change alert type to info

* Add comment

* Remove unnecessary optional chaining

* Remove unnecessary condition

* Remove unnecessary wrapping arrow function

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-03-31 09:01:12 +00:00
..
__mocks__ Explore: Support mixed data sources for supplementary query (#63036) 2023-03-07 15:00:11 +01:00
AddToDashboard Chore: Refactor Search/Folder view types into DashboardViewItem (#63162) 2023-02-23 15:52:54 +00:00
Graph Schema: Remove exclusion for timeseries and update imports (#65242) 2023-03-23 02:14:54 +02:00
PrometheusListView Prometheus: Fix "-Instant" string showing up in prometheus instant query UI (#62265) 2023-01-27 10:40:12 -06:00
RichHistory QueryHistory: Fix filter strings being regular escaped (#64879) 2023-03-17 10:21:58 +01:00
spec Chore: adjust more unit tests to work with react 18 (#64759) 2023-03-15 10:12:13 +00:00
state Explore: Support mixed data sources for supplementary query (#63036) 2023-03-07 15:00:11 +01:00
TraceView Design System: Set border radius to theme.shape.radius.default (#65511) 2023-03-30 09:20:11 +02:00
utils Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434) 2023-03-31 09:01:12 +00:00
ElapsedTime.tsx Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
EmptyStateWrapper.tsx Datasource Onboarding: Prevent flickering of onboarding page after first load (#63360) 2023-02-24 11:48:30 +00:00
ErrorContainer.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ErrorContainer.tsx Chore: Avoid explicit React.FunctionComponent<Props> when possible (round 3) (#64839) 2023-03-16 16:56:26 +02:00
Explore.test.tsx Explore: Make DataSourcePicker visible on small screens (#65149) 2023-03-29 02:26:37 +01:00
Explore.tsx Profiling: Enable flame graph & Phlare/Parca data sources for all users (#63488) 2023-03-01 11:32:39 +00:00
ExploreActions.tsx Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
ExploreDrawer.tsx Design System: Set border radius to theme.shape.radius.default (#65511) 2023-03-30 09:20:11 +02:00
ExplorePage.test.tsx Chore: adjust more unit tests to work with react 18 (#64759) 2023-03-15 10:12:13 +00:00
ExplorePage.tsx Explore: Remove unnessary scroll on split pane (#61064) 2023-01-09 19:55:38 +01:00
ExplorePaneContainer.tsx Chore: remove various type assertions in Explore (#60501) 2022-12-21 15:01:03 +01:00
ExploreQueryInspector.test.tsx Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
ExploreQueryInspector.tsx Panel: Show multiple errors info in the inspector (#64340) 2023-03-08 16:11:38 +01:00
ExploreTimeControls.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
ExploreToolbar.tsx Explore: Make DataSourcePicker visible on small screens (#65149) 2023-03-29 02:26:37 +01:00
FeatureTogglePage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
FlameGraphExploreContainer.tsx Flame Graph: Fix for dashboard scrolling (#56555) 2022-10-20 14:20:48 +01:00
LiveLogs.test.tsx Chore: transfer LiveLogs.test to testing-library (#48678) 2022-05-05 08:40:21 +02:00
LiveLogs.tsx Logs: move logs-components from grafana-ui to grafana-main (#55041) 2022-09-19 10:51:46 +02:00
LiveTailButton.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
Logs.test.tsx Chore: Adjust unit tests so they work with react 18 (#64698) 2023-03-14 17:24:04 +00:00
Logs.tsx Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434) 2023-03-31 09:01:12 +00:00
LogsContainer.tsx Chore: Improve some types (#64675) 2023-03-14 09:51:44 +00:00
LogsMetaRow.test.tsx Logs: Add possibility to download logs in JSON format (#61394) 2023-01-16 17:20:19 +01:00
LogsMetaRow.tsx Logs: Fix variant of Download logs button (#64962) 2023-03-17 16:31:32 +02:00
LogsNavigation.test.tsx logs: track the usage of certain features (#50325) 2022-06-09 15:53:23 +02:00
LogsNavigation.tsx Explore: Changed references to DataQuery and DataSourceRef (#62034) 2023-01-24 15:11:00 -06:00
LogsNavigationPages.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
LogsNavigationPages.tsx Logs: Fix Logs Pagination Button styling (#60219) 2022-12-13 16:23:16 +01:00
LogsSample.test.tsx Logs: Add millisecond to timestamp in log line (#64372) 2023-03-08 11:39:56 +01:00
LogsSamplePanel.tsx Update Monthly patch updates (#64323) 2023-03-08 09:38:06 +00:00
LogsVolumePanel.test.tsx Explore: Support mixed data sources for supplementary query (#63036) 2023-03-07 15:00:11 +01:00
LogsVolumePanel.tsx Logs: Merge Log Volumes by data source name (#65392) 2023-03-29 13:43:56 +02:00
LogsVolumePanelList.test.tsx Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434) 2023-03-31 09:01:12 +00:00
LogsVolumePanelList.tsx Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434) 2023-03-31 09:01:12 +00:00
MetaInfoText.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
MetaInfoText.tsx Logs: Fix alginment of meta items (#61349) 2023-01-12 10:42:28 +01:00
NoData.tsx Design System: Set border radius to theme.shape.radius.default (#65511) 2023-03-30 09:20:11 +02:00
NoDataSourceCallToAction.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
NodeGraphContainer.test.tsx Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
NodeGraphContainer.tsx Traces: Upgraded feature tracking (#62181) 2023-01-27 13:33:27 +00:00
QueryRows.test.tsx Chore: Improve some types (#64675) 2023-03-14 09:51:44 +00:00
QueryRows.tsx Explore: Avoid changing queries twice when importing a query in mixed mode (#63804) 2023-03-06 10:40:39 +00:00
RawPrometheusContainer.test.tsx Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
RawPrometheusContainer.tsx TablePanel: Refactor to functional component and move add ad hoc filter action to PanelContext (#61360) 2023-01-19 14:03:13 +01:00
ResponseErrorContainer.test.tsx Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
ResponseErrorContainer.tsx Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00
SecondaryActions.test.tsx Query History: Hide query history when anonymous user uses Explore (#49896) 2022-06-02 08:51:11 -05:00
SecondaryActions.tsx Revert "Explore: Convert SASS styles of explore-active-button to emotion (#50061)" (#50882) 2022-06-16 14:39:54 +02:00
SupplementaryResultError.test.tsx Chore: Adjust unit tests so they work with react 18 (#64698) 2023-03-14 17:24:04 +00:00
SupplementaryResultError.tsx Logs Volume Timeouts: Add a custom message with options (retry, close) for request timeouts (#65434) 2023-03-31 09:01:12 +00:00
TableContainer.test.tsx Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
TableContainer.tsx TablePanel: Refactor to functional component and move add ad hoc filter action to PanelContext (#61360) 2023-01-19 14:03:13 +01:00
Time.tsx Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
TimeSyncButton.test.tsx Chore: transfer TimeSyncButton.test to testing-library (#48404) 2022-05-02 11:20:12 +02:00
TimeSyncButton.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
useLiveTailControls.ts Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00