import { apm , createLogger , LogLevel } from '@elastic/apm-synthtrace' ; import { InheritedFtrProviderContext } from './ftr_provider_context' ; export async function synthtraceEsClientService ( context ) { const es = context . getService ( 'es' ) ; return new apm . ApmSynthtraceEsClient ( es , createLogger ( LogLevel . info ) ) ; }