import { APMQueryParams } from '../url_helpers' ; import { useAPMHref } from './apm_link' ; const persistedFilters = [ 'host' , 'containerId' , 'podName' , 'serviceVersion' , ] ; export function useServiceNodeOverviewHref ( serviceName ) { return useAPMHref ( { path : `/services/${ serviceName }/nodes` , persistedFilters , } ) ; }