import { Setup } from '../../../lib/helpers/setup_request' ; import { getTraceSamples } from './get_trace_samples' ; import { withApmSpan } from '../../../utils/with_apm_span' ; export async function getTransactionTraceSamples ( { kuery , environment , serviceName , transactionName , transactionType , transactionId , traceId , sampleRangeFrom , sampleRangeTo , setup , start , end , } ) { return withApmSpan ( 'get_transaction_trace_samples' , async ( ) => { return await getTraceSamples ( { environment , kuery , serviceName , transactionName , transactionType , transactionId , traceId , sampleRangeFrom , sampleRangeTo , setup , start , end , } ) ; } ) ; }