widgetDefinitions.tsx 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. import {CHART_PALETTE} from 'sentry/constants/chartPalette';
  2. import {t} from 'sentry/locale';
  3. import type {Organization} from 'sentry/types/organization';
  4. import {SPAN_OP_BREAKDOWN_FIELDS} from 'sentry/utils/discover/fields';
  5. import {useModuleTitle} from 'sentry/views/insights/common/utils/useModuleTitle';
  6. import {ModuleName} from 'sentry/views/insights/types';
  7. import {getTermHelp, PerformanceTerm} from '../../data';
  8. import {GenericPerformanceWidgetDataType} from './types';
  9. export interface ChartDefinition {
  10. dataType: GenericPerformanceWidgetDataType;
  11. fields: string[];
  12. // Additional fields to get requested but are not directly used in visualization.
  13. title: string;
  14. titleTooltip: string;
  15. // The first field in the list will be treated as the primary field in most widgets (except for special casing).
  16. allowsOpenInDiscover?: boolean;
  17. chartColor?: string;
  18. secondaryFields?: string[]; // Optional. Will default to colors depending on placement in list or colors from the chart itself.
  19. vitalStops?: {
  20. meh: number;
  21. poor: number;
  22. };
  23. }
  24. export enum PerformanceWidgetSetting {
  25. DURATION_HISTOGRAM = 'duration_histogram',
  26. LCP_HISTOGRAM = 'lcp_histogram',
  27. FCP_HISTOGRAM = 'fcp_histogram',
  28. FID_HISTOGRAM = 'fid_histogram',
  29. APDEX_AREA = 'apdex_area',
  30. P50_DURATION_AREA = 'p50_duration_area',
  31. P75_DURATION_AREA = 'p75_duration_area',
  32. P95_DURATION_AREA = 'p95_duration_area',
  33. P99_DURATION_AREA = 'p99_duration_area',
  34. P75_LCP_AREA = 'p75_lcp_area',
  35. TPM_AREA = 'tpm_area',
  36. FAILURE_RATE_AREA = 'failure_rate_area',
  37. USER_MISERY_AREA = 'user_misery_area',
  38. WORST_LCP_VITALS = 'worst_lcp_vitals',
  39. WORST_FCP_VITALS = 'worst_fcp_vitals',
  40. WORST_CLS_VITALS = 'worst_cls_vitals',
  41. WORST_FID_VITALS = 'worst_fid_vitals',
  42. MOST_CHANGED = 'most_changed',
  43. MOST_IMPROVED = 'most_improved',
  44. MOST_REGRESSED = 'most_regressed',
  45. MOST_RELATED_ERRORS = 'most_related_errors',
  46. MOST_RELATED_ISSUES = 'most_related_issues',
  47. MOST_TIME_SPENT_DB_QUERIES = 'most_time_spent_db_queries',
  48. HIGHEST_OPPORTUNITY_PAGES = 'highest_opportunity_pages',
  49. SLOW_HTTP_OPS = 'slow_http_ops',
  50. SLOW_DB_OPS = 'slow_db_ops',
  51. SLOW_RESOURCE_OPS = 'slow_resource_ops',
  52. SLOW_BROWSER_OPS = 'slow_browser_ops',
  53. COLD_STARTUP_AREA = 'cold_startup_area',
  54. WARM_STARTUP_AREA = 'warm_startup_area',
  55. SLOW_FRAMES_AREA = 'slow_frames_area',
  56. FROZEN_FRAMES_AREA = 'frozen_frames_area',
  57. MOST_SLOW_FRAMES = 'most_slow_frames',
  58. MOST_FROZEN_FRAMES = 'most_frozen_frames',
  59. SPAN_OPERATIONS = 'span_operations',
  60. TIME_TO_INITIAL_DISPLAY = 'time_to_initial_display',
  61. TIME_TO_FULL_DISPLAY = 'time_to_full_display',
  62. OVERALL_PERFORMANCE_SCORE = 'overall_performance_score',
  63. MOST_TIME_CONSUMING_RESOURCES = 'most_time_consuming_resources',
  64. MOST_TIME_CONSUMING_DOMAINS = 'most_time_consuming_domains',
  65. SLOW_SCREENS_BY_TTID = 'slow_screens_by_ttid',
  66. SLOW_SCREENS_BY_COLD_START = 'slow_screens_by_cold_start',
  67. SLOW_SCREENS_BY_WARM_START = 'slow_screens_by_warm_start',
  68. HIGHEST_CACHE_MISS_RATE_TRANSACTIONS = 'highest_cache__miss_rate_transactions',
  69. }
  70. const WIDGET_PALETTE = CHART_PALETTE[5];
  71. export const WIDGET_DEFINITIONS: ({
  72. organization,
  73. }: {
  74. organization: Organization;
  75. }) => Record<PerformanceWidgetSetting, ChartDefinition> = ({
  76. organization,
  77. }: {
  78. organization: Organization;
  79. }) => {
  80. const resourceModuleTitle = useModuleTitle(ModuleName.RESOURCE);
  81. return {
  82. [PerformanceWidgetSetting.DURATION_HISTOGRAM]: {
  83. title: t('Duration Distribution'),
  84. titleTooltip: getTermHelp(organization, PerformanceTerm.DURATION_DISTRIBUTION),
  85. fields: ['transaction.duration'],
  86. dataType: GenericPerformanceWidgetDataType.HISTOGRAM,
  87. chartColor: WIDGET_PALETTE[5],
  88. },
  89. [PerformanceWidgetSetting.LCP_HISTOGRAM]: {
  90. title: t('LCP Distribution'),
  91. titleTooltip: getTermHelp(organization, PerformanceTerm.DURATION_DISTRIBUTION),
  92. fields: ['measurements.lcp'],
  93. dataType: GenericPerformanceWidgetDataType.HISTOGRAM,
  94. chartColor: WIDGET_PALETTE[5],
  95. },
  96. [PerformanceWidgetSetting.FCP_HISTOGRAM]: {
  97. title: t('FCP Distribution'),
  98. titleTooltip: getTermHelp(organization, PerformanceTerm.DURATION_DISTRIBUTION),
  99. fields: ['measurements.fcp'],
  100. dataType: GenericPerformanceWidgetDataType.HISTOGRAM,
  101. chartColor: WIDGET_PALETTE[5],
  102. },
  103. [PerformanceWidgetSetting.FID_HISTOGRAM]: {
  104. title: t('FID Distribution'),
  105. titleTooltip: getTermHelp(organization, PerformanceTerm.DURATION_DISTRIBUTION),
  106. fields: ['measurements.fid'],
  107. dataType: GenericPerformanceWidgetDataType.HISTOGRAM,
  108. chartColor: WIDGET_PALETTE[5],
  109. },
  110. [PerformanceWidgetSetting.WORST_LCP_VITALS]: {
  111. title: t('Worst LCP Web Vitals'),
  112. titleTooltip: getTermHelp(organization, PerformanceTerm.LCP),
  113. fields: ['measurements.lcp'],
  114. vitalStops: {
  115. poor: 4000,
  116. meh: 2500,
  117. },
  118. dataType: GenericPerformanceWidgetDataType.VITALS,
  119. },
  120. [PerformanceWidgetSetting.WORST_FCP_VITALS]: {
  121. title: t('Worst FCP Web Vitals'),
  122. titleTooltip: getTermHelp(organization, PerformanceTerm.FCP),
  123. fields: ['measurements.fcp'],
  124. vitalStops: {
  125. poor: 3000,
  126. meh: 1000,
  127. },
  128. dataType: GenericPerformanceWidgetDataType.VITALS,
  129. },
  130. [PerformanceWidgetSetting.WORST_FID_VITALS]: {
  131. title: t('Worst FID Web Vitals'),
  132. titleTooltip: getTermHelp(organization, PerformanceTerm.FID),
  133. fields: ['measurements.fid'],
  134. vitalStops: {
  135. poor: 300,
  136. meh: 100,
  137. },
  138. dataType: GenericPerformanceWidgetDataType.VITALS,
  139. },
  140. [PerformanceWidgetSetting.WORST_CLS_VITALS]: {
  141. title: t('Worst CLS Web Vitals'),
  142. titleTooltip: getTermHelp(organization, PerformanceTerm.CLS),
  143. fields: ['measurements.cls'],
  144. vitalStops: {
  145. poor: 0.25,
  146. meh: 0.1,
  147. },
  148. dataType: GenericPerformanceWidgetDataType.VITALS,
  149. },
  150. [PerformanceWidgetSetting.TPM_AREA]: {
  151. title: t('Transactions Per Minute'),
  152. titleTooltip: getTermHelp(organization, PerformanceTerm.TPM),
  153. fields: ['tpm()'],
  154. dataType: GenericPerformanceWidgetDataType.AREA,
  155. chartColor: WIDGET_PALETTE[1],
  156. allowsOpenInDiscover: true,
  157. },
  158. [PerformanceWidgetSetting.APDEX_AREA]: {
  159. title: t('Apdex'),
  160. titleTooltip: getTermHelp(organization, PerformanceTerm.APDEX),
  161. fields: ['apdex()'],
  162. dataType: GenericPerformanceWidgetDataType.AREA,
  163. chartColor: WIDGET_PALETTE[4],
  164. allowsOpenInDiscover: true,
  165. },
  166. [PerformanceWidgetSetting.P50_DURATION_AREA]: {
  167. title: t('p50 Duration'),
  168. titleTooltip: getTermHelp(organization, PerformanceTerm.P50),
  169. fields: ['p50(transaction.duration)'],
  170. dataType: GenericPerformanceWidgetDataType.AREA,
  171. chartColor: WIDGET_PALETTE[3],
  172. allowsOpenInDiscover: true,
  173. },
  174. [PerformanceWidgetSetting.P75_DURATION_AREA]: {
  175. title: t('p75 Duration'),
  176. titleTooltip: getTermHelp(organization, PerformanceTerm.P75),
  177. fields: ['p75(transaction.duration)'],
  178. dataType: GenericPerformanceWidgetDataType.AREA,
  179. chartColor: WIDGET_PALETTE[3],
  180. allowsOpenInDiscover: true,
  181. },
  182. [PerformanceWidgetSetting.P95_DURATION_AREA]: {
  183. title: t('p95 Duration'),
  184. titleTooltip: getTermHelp(organization, PerformanceTerm.P95),
  185. fields: ['p95(transaction.duration)'],
  186. dataType: GenericPerformanceWidgetDataType.AREA,
  187. chartColor: WIDGET_PALETTE[3],
  188. allowsOpenInDiscover: true,
  189. },
  190. [PerformanceWidgetSetting.P99_DURATION_AREA]: {
  191. title: t('p99 Duration'),
  192. titleTooltip: getTermHelp(organization, PerformanceTerm.P99),
  193. fields: ['p99(transaction.duration)'],
  194. dataType: GenericPerformanceWidgetDataType.AREA,
  195. chartColor: WIDGET_PALETTE[3],
  196. allowsOpenInDiscover: true,
  197. },
  198. [PerformanceWidgetSetting.P75_LCP_AREA]: {
  199. title: t('p75 LCP'),
  200. titleTooltip: getTermHelp(organization, PerformanceTerm.P75),
  201. fields: ['p75(measurements.lcp)'],
  202. dataType: GenericPerformanceWidgetDataType.AREA,
  203. chartColor: WIDGET_PALETTE[1],
  204. allowsOpenInDiscover: true,
  205. },
  206. [PerformanceWidgetSetting.FAILURE_RATE_AREA]: {
  207. title: t('Failure Rate'),
  208. titleTooltip: getTermHelp(organization, PerformanceTerm.FAILURE_RATE),
  209. fields: ['failure_rate()'],
  210. dataType: GenericPerformanceWidgetDataType.AREA,
  211. chartColor: WIDGET_PALETTE[2],
  212. allowsOpenInDiscover: true,
  213. },
  214. [PerformanceWidgetSetting.USER_MISERY_AREA]: {
  215. title: t('User Misery'),
  216. titleTooltip: getTermHelp(organization, PerformanceTerm.USER_MISERY),
  217. fields: [`user_misery()`],
  218. dataType: GenericPerformanceWidgetDataType.AREA,
  219. chartColor: WIDGET_PALETTE[0],
  220. allowsOpenInDiscover: true,
  221. },
  222. [PerformanceWidgetSetting.COLD_STARTUP_AREA]: {
  223. title: t('Cold Startup Time'),
  224. titleTooltip: getTermHelp(organization, PerformanceTerm.APP_START_COLD),
  225. fields: ['p75(measurements.app_start_cold)'],
  226. dataType: GenericPerformanceWidgetDataType.AREA,
  227. chartColor: WIDGET_PALETTE[4],
  228. allowsOpenInDiscover: true,
  229. },
  230. [PerformanceWidgetSetting.WARM_STARTUP_AREA]: {
  231. title: t('Warm Startup Time'),
  232. titleTooltip: getTermHelp(organization, PerformanceTerm.APP_START_WARM),
  233. fields: ['p75(measurements.app_start_warm)'],
  234. dataType: GenericPerformanceWidgetDataType.AREA,
  235. chartColor: WIDGET_PALETTE[3],
  236. allowsOpenInDiscover: true,
  237. },
  238. [PerformanceWidgetSetting.SLOW_FRAMES_AREA]: {
  239. title: t('Slow Frames'),
  240. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_FRAMES),
  241. fields: ['p75(measurements.frames_slow_rate)'],
  242. dataType: GenericPerformanceWidgetDataType.AREA,
  243. chartColor: WIDGET_PALETTE[0],
  244. allowsOpenInDiscover: true,
  245. },
  246. [PerformanceWidgetSetting.FROZEN_FRAMES_AREA]: {
  247. title: t('Frozen Frames'),
  248. titleTooltip: getTermHelp(organization, PerformanceTerm.FROZEN_FRAMES),
  249. fields: ['p75(measurements.frames_frozen_rate)'],
  250. dataType: GenericPerformanceWidgetDataType.AREA,
  251. chartColor: WIDGET_PALETTE[5],
  252. allowsOpenInDiscover: true,
  253. },
  254. [PerformanceWidgetSetting.MOST_RELATED_ERRORS]: {
  255. title: t('Most Related Errors'),
  256. titleTooltip: getTermHelp(organization, PerformanceTerm.MOST_ERRORS),
  257. fields: [`failure_count()`],
  258. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  259. chartColor: WIDGET_PALETTE[0],
  260. },
  261. [PerformanceWidgetSetting.MOST_RELATED_ISSUES]: {
  262. title: t('Most Related Issues'),
  263. titleTooltip: getTermHelp(organization, PerformanceTerm.MOST_ISSUES),
  264. fields: [`count()`],
  265. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  266. chartColor: WIDGET_PALETTE[0],
  267. },
  268. [PerformanceWidgetSetting.MOST_TIME_SPENT_DB_QUERIES]: {
  269. title: t('Most Time-Consuming Queries'),
  270. subTitle: t('Top queries by total duration'),
  271. titleTooltip: getTermHelp(organization, PerformanceTerm.MOST_TIME_SPENT_DB_QUERIES),
  272. fields: [`time_spent_percentage()`],
  273. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  274. chartColor: WIDGET_PALETTE[0],
  275. },
  276. [PerformanceWidgetSetting.MOST_TIME_CONSUMING_RESOURCES]: {
  277. title: `${t('Most Time-Consuming')} ${resourceModuleTitle}`,
  278. subTitle: t('Render blocking for pages'),
  279. titleTooltip: getTermHelp(
  280. organization,
  281. PerformanceTerm.MOST_TIME_CONSUMING_RESOURCES
  282. ),
  283. fields: [`time_spent_percentage()`],
  284. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  285. chartColor: WIDGET_PALETTE[0],
  286. },
  287. [PerformanceWidgetSetting.HIGHEST_CACHE_MISS_RATE_TRANSACTIONS]: {
  288. title: t('Highest Cache Miss Rates'),
  289. subTitle: t('Suggested Transactions'),
  290. titleTooltip: getTermHelp(
  291. organization,
  292. PerformanceTerm.HIGHEST_CACHE_MISS_RATE_TRANSACTIONS
  293. ),
  294. fields: [`cache_miss_rate()`],
  295. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  296. chartColor: WIDGET_PALETTE[0],
  297. },
  298. [PerformanceWidgetSetting.MOST_TIME_CONSUMING_DOMAINS]: {
  299. title: t('Most Time-Consuming Domains'),
  300. subTitle: t('Top outgoing HTTP request domains by time spent'),
  301. titleTooltip: getTermHelp(
  302. organization,
  303. PerformanceTerm.MOST_TIME_CONSUMING_DOMAINS
  304. ),
  305. fields: [`time_spent_percentage()`],
  306. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  307. chartColor: WIDGET_PALETTE[0],
  308. },
  309. [PerformanceWidgetSetting.HIGHEST_OPPORTUNITY_PAGES]: {
  310. title: t('Best Page Opportunities'),
  311. subTitle: t('Pages to improve your performance score'),
  312. titleTooltip: '',
  313. fields: [`count()`],
  314. dataType: GenericPerformanceWidgetDataType.PERFORMANCE_SCORE_LIST,
  315. },
  316. [PerformanceWidgetSetting.OVERALL_PERFORMANCE_SCORE]: {
  317. title: t('Performance Score'),
  318. subTitle: t('The overall performance score across selected frontend projects only'),
  319. titleTooltip: '',
  320. fields: [],
  321. dataType: GenericPerformanceWidgetDataType.PERFORMANCE_SCORE,
  322. },
  323. [PerformanceWidgetSetting.SLOW_HTTP_OPS]: {
  324. title: t('Slow HTTP Ops'),
  325. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_HTTP_SPANS),
  326. fields: [`p75(spans.http)`, 'p75(spans.db)'],
  327. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  328. chartColor: WIDGET_PALETTE[0],
  329. },
  330. [PerformanceWidgetSetting.SLOW_BROWSER_OPS]: {
  331. title: t('Slow Browser Ops'),
  332. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_HTTP_SPANS),
  333. fields: [`p75(spans.browser)`],
  334. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  335. chartColor: WIDGET_PALETTE[0],
  336. },
  337. [PerformanceWidgetSetting.SLOW_RESOURCE_OPS]: {
  338. title: t('Slow Resource Ops'),
  339. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_HTTP_SPANS),
  340. fields: [`p75(spans.resource)`],
  341. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  342. chartColor: WIDGET_PALETTE[0],
  343. },
  344. [PerformanceWidgetSetting.SLOW_DB_OPS]: {
  345. title: t('Slow DB Ops'),
  346. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_HTTP_SPANS),
  347. fields: [`p75(spans.db)`, 'p75(spans.http)'],
  348. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  349. chartColor: WIDGET_PALETTE[0],
  350. },
  351. [PerformanceWidgetSetting.TIME_TO_INITIAL_DISPLAY]: {
  352. title: t('Time to Initial Display'),
  353. titleTooltip: getTermHelp(organization, PerformanceTerm.TIME_TO_INITIAL_DISPLAY),
  354. fields: ['p75(measurements.time_to_initial_display)'],
  355. dataType: GenericPerformanceWidgetDataType.AREA,
  356. chartColor: WIDGET_PALETTE[4],
  357. allowsOpenInDiscover: true,
  358. },
  359. [PerformanceWidgetSetting.TIME_TO_FULL_DISPLAY]: {
  360. title: t('Time to Full Display'),
  361. titleTooltip: getTermHelp(organization, PerformanceTerm.TIME_TO_FULL_DISPLAY),
  362. fields: ['p75(measurements.time_to_full_display)'],
  363. dataType: GenericPerformanceWidgetDataType.AREA,
  364. chartColor: WIDGET_PALETTE[4],
  365. allowsOpenInDiscover: true,
  366. },
  367. [PerformanceWidgetSetting.MOST_SLOW_FRAMES]: {
  368. title: t('Most Slow Frames'),
  369. titleTooltip: getTermHelp(organization, PerformanceTerm.SLOW_FRAMES),
  370. fields: ['avg(measurements.frames_slow)'],
  371. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  372. chartColor: WIDGET_PALETTE[0],
  373. },
  374. [PerformanceWidgetSetting.MOST_FROZEN_FRAMES]: {
  375. title: t('Most Frozen Frames'),
  376. titleTooltip: getTermHelp(organization, PerformanceTerm.FROZEN_FRAMES),
  377. fields: ['avg(measurements.frames_frozen)'],
  378. dataType: GenericPerformanceWidgetDataType.LINE_LIST,
  379. chartColor: WIDGET_PALETTE[0],
  380. },
  381. [PerformanceWidgetSetting.MOST_IMPROVED]: {
  382. title: t('Most Improved (P95)'),
  383. titleTooltip: t(
  384. 'This compares the baseline (%s) of the past with the present.',
  385. 'improved'
  386. ),
  387. fields: [],
  388. dataType: GenericPerformanceWidgetDataType.TRENDS,
  389. },
  390. [PerformanceWidgetSetting.MOST_REGRESSED]: {
  391. title: t('Most Regressed (P95)'),
  392. titleTooltip: t(
  393. 'This compares the baseline (%s) of the past with the present.',
  394. 'regressed'
  395. ),
  396. fields: [],
  397. dataType: GenericPerformanceWidgetDataType.TRENDS,
  398. },
  399. [PerformanceWidgetSetting.MOST_CHANGED]: {
  400. title: t('Most Changed (P95)'),
  401. titleTooltip: t(
  402. 'This compares the baseline (%s) of the past with the present.',
  403. 'changed'
  404. ),
  405. fields: [],
  406. dataType: GenericPerformanceWidgetDataType.TRENDS,
  407. },
  408. [PerformanceWidgetSetting.SPAN_OPERATIONS]: {
  409. title: t('Span Operations Breakdown'),
  410. titleTooltip: '',
  411. fields: SPAN_OP_BREAKDOWN_FIELDS.map(spanOp => `p75(${spanOp})`),
  412. dataType: GenericPerformanceWidgetDataType.STACKED_AREA,
  413. },
  414. [PerformanceWidgetSetting.SLOW_SCREENS_BY_TTID]: {
  415. title: t('Average TTIDs'),
  416. titleTooltip: '',
  417. subTitle: t('Top screens by count'),
  418. fields: ['avg(measurements.time_to_initial_display)'],
  419. dataType: GenericPerformanceWidgetDataType.SLOW_SCREENS_BY_TTID,
  420. },
  421. [PerformanceWidgetSetting.SLOW_SCREENS_BY_COLD_START]: {
  422. title: t('Average Cold Start'),
  423. titleTooltip: '',
  424. subTitle: t('Top screens by start count'),
  425. fields: ['avg(measurements.app_start_cold)'],
  426. dataType: GenericPerformanceWidgetDataType.SLOW_SCREENS_BY_COLD_START,
  427. },
  428. [PerformanceWidgetSetting.SLOW_SCREENS_BY_WARM_START]: {
  429. title: t('Average Warm Start'),
  430. titleTooltip: '',
  431. subTitle: t('Top screens by start count'),
  432. fields: ['avg(measurements.app_start_warm)'],
  433. dataType: GenericPerformanceWidgetDataType.SLOW_SCREENS_BY_WARM_START,
  434. },
  435. };
  436. };