applySourceMapsToEvents.d.ts 769 B

12345678910111213141516
  1. import { DurationEvent } from '../types/EventInterfaces';
  2. import { SourceMap } from '../types/SourceMap';
  3. /**
  4. * Enhances the function line, column and params information and event categories
  5. * based on JavaScript source maps to make it easier to associate trace events with
  6. * the application code
  7. *
  8. * Throws error if args not set up in ChromeEvents
  9. * @param {SourceMap} sourceMap
  10. * @param {DurationEvent[]} chromeEvents
  11. * @param {string} indexBundleFileName
  12. * @throws If `args` for events are not populated
  13. * @returns {DurationEvent[]}
  14. */
  15. declare const applySourceMapsToEvents: (sourceMap: SourceMap, chromeEvents: DurationEvent[], indexBundleFileName: string | undefined) => Promise<DurationEvent[]>;
  16. export default applySourceMapsToEvents;