@@ -3,13 +3,13 @@ import type {ReactElement} from 'react';
3
3
import type { Project } from 'sentry/types/project' ;
4
4
import type { DomainView } from 'sentry/views/insights/pages/useFilters' ;
5
5
import CrashFreeSessionsChart from 'sentry/views/insights/sessions/charts/crashFreeSessionsChart' ;
6
- import ErroredSessionsChart from 'sentry/views/insights/sessions/charts/erroredSessionsChart' ;
7
6
import NewAndResolvedIssueChart from 'sentry/views/insights/sessions/charts/newAndResolvedIssueChart' ;
8
7
import ReleaseNewIssuesChart from 'sentry/views/insights/sessions/charts/releaseNewIssuesChart' ;
9
8
import ReleaseSessionCountChart from 'sentry/views/insights/sessions/charts/releaseSessionCountChart' ;
10
9
import ReleaseSessionPercentageChart from 'sentry/views/insights/sessions/charts/releaseSessionPercentageChart' ;
11
10
import SessionHealthCountChart from 'sentry/views/insights/sessions/charts/sessionHealthCountChart' ;
12
11
import SessionHealthRateChart from 'sentry/views/insights/sessions/charts/sessionHealthRateChart' ;
12
+ import UnhealthySessionsChart from 'sentry/views/insights/sessions/charts/unhealthySessionsChart' ;
13
13
import UserHealthCountChart from 'sentry/views/insights/sessions/charts/userHealthCountChart' ;
14
14
import UserHealthRateChart from 'sentry/views/insights/sessions/charts/userHealthRateChart' ;
15
15
import type { CHART_TITLES } from 'sentry/views/insights/sessions/settings' ;
@@ -19,7 +19,7 @@ export const CHART_MAP: Record<
19
19
( props : { project : Project } ) => ReactElement
20
20
> = {
21
21
CrashFreeSessionsChart,
22
- ErroredSessionsChart ,
22
+ UnhealthySessionsChart ,
23
23
NewAndResolvedIssueChart,
24
24
ReleaseNewIssuesChart,
25
25
ReleaseSessionCountChart,
@@ -32,7 +32,8 @@ export const CHART_MAP: Record<
32
32
33
33
export const CHART_RENAMES : Record < string , keyof typeof CHART_TITLES > = {
34
34
// Map from the old name to the new
35
- ErrorFreeSessionsChart : 'ErroredSessionsChart' ,
35
+ ErrorFreeSessionsChart : 'UnhealthySessionsChart' ,
36
+ ErroredSessionsChart : 'UnhealthySessionsChart' ,
36
37
} ;
37
38
38
39
export const PAGE_CHART_OPTIONS : Record <
@@ -42,7 +43,7 @@ export const PAGE_CHART_OPTIONS: Record<
42
43
frontend : [
43
44
// ORDER MATTERS HERE
44
45
// The order things are listed is the order rendered
45
- 'ErroredSessionsChart ' ,
46
+ 'UnhealthySessionsChart ' ,
46
47
'NewAndResolvedIssueChart' ,
47
48
'SessionHealthCountChart' ,
48
49
'SessionHealthRateChart' ,
@@ -72,7 +73,7 @@ export const DEFAULT_LAYOUTS: Record<
72
73
frontend : [
73
74
// ORDER MATTERS HERE
74
75
// The order represents the default chart layout for Frontend > Session Health
75
- 'ErroredSessionsChart ' ,
76
+ 'UnhealthySessionsChart ' ,
76
77
'UserHealthRateChart' ,
77
78
'SessionHealthRateChart' ,
78
79
'SessionHealthCountChart' ,
0 commit comments