import * as t from 'io-ts' ; export enum ProcessorEvent { transaction = 'transaction' , error = 'error' , metric = 'metric' , span = 'span' , profile = 'profile' } export const processorEventRt = t . union ( [ t . literal ( ProcessorEvent . transaction ) , t . literal ( ProcessorEvent . error ) , t . literal ( ProcessorEvent . metric ) , t . literal ( ProcessorEvent . span ) , t . literal ( ProcessorEvent . profile ) , ] ) ; /**
 * Processor events that are searchable in the UI via the query bar.
 *
 * Some client-sideroutes will define 1 or more processor events that
 * will be used to fetch the dynamic data view for the query bar.
 */ export type UIProcessorEvent = ProcessorEvent . transaction | ProcessorEvent . error | ProcessorEvent . metric ;