import { Setup } from '../../../lib/helpers/setup_request' ; import { getCPUChartData } from './shared/cpu' ; import { getMemoryChartData } from './shared/memory' ; export function getDefaultMetricsCharts ( { environment , kuery , serviceName , setup , start , end , } ) { return Promise . all ( [ getCPUChartData ( { environment , kuery , setup , serviceName , start , end } ) , getMemoryChartData ( { environment , kuery , setup , serviceName , start , end } ) , ] ) ; }