File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/containers/Tenant/Diagnostics/TopQueries Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import type {EPathType} from '../../../../types/api/schema';
2121import type { ITopQueriesFilters } from '../../../../types/store/executeTopQueries' ;
2222import type { IQueryResult } from '../../../../types/store/query' ;
2323
24+ import { formatDateTime } from '../../../../utils' ;
2425import { DEFAULT_TABLE_SETTINGS , HOUR_IN_SECONDS } from '../../../../utils/constants' ;
2526import { useAutofetcher , useTypedSelector } from '../../../../utils/hooks' ;
2627import { prepareQueryError } from '../../../../utils/query' ;
@@ -51,6 +52,11 @@ const COLUMNS: Column<KeyValueRow>[] = [
5152 sortable : false ,
5253 render : ( { value} ) => < TruncatedQuery value = { value } maxQueryHeight = { MAX_QUERY_HEIGHT } /> ,
5354 } ,
55+ {
56+ name : 'IntervalEnd' ,
57+ width : 140 ,
58+ render : ( { value} ) => formatDateTime ( new Date ( value as string ) . getTime ( ) ) ,
59+ } ,
5460] ;
5561
5662interface TopQueriesProps {
You can’t perform that action at this time.
0 commit comments