export interface IMeasurementEvent { eventId : string ; requestId : string ; serviceId : string ; type : string ; start : number ; end : number ; details : { [ key ] : any ; } ; } export interface IService { serviceId : string ; serviceName : string ; } export const EVENT_NAMES = { NODE_HTTP_SERVER_REQUEST : 'builtin:node:server-request' , BROWSER_HTTP_XHR_REQUEST : 'builtin:browser:xhr-request' , BROWSER_HTTP_FETCH_REQUEST : 'builtin:browser:fetch-request' } ; export const HEADER_NAME = 'x-request-inspector-request-ID' ;