import { uniq } from 'lodash' ; import { ApmIndicesConfig } from '../settings/apm_indices/get_apm_indices' ; export function getApmDataViewTitle ( apmIndicesConfig ) { return uniq ( [ apmIndicesConfig . transaction , apmIndicesConfig . span , apmIndicesConfig . error , apmIndicesConfig . metric , ] ) . join ( ',' ) ; }