UNPKG

833 BTypeScriptView Raw
1import type { EventProcessor, Hub, Integration } from '@sentry/types';
2/**
3 * Adds module metadata to stack frames.
4 *
5 * Metadata can be injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
6 *
7 * When this integration is added, the metadata passed to the bundler plugin is added to the stack frames of all events
8 * under the `module_metadata` property. This can be used to help in tagging or routing of events from different teams
9 * our sources
10 */
11export declare class ModuleMetadata implements Integration {
12 static id: string;
13 /**
14 * @inheritDoc
15 */
16 name: string;
17 constructor();
18 /**
19 * @inheritDoc
20 */
21 setupOnce(addGlobalEventProcessor: (processor: EventProcessor) => void, getCurrentHub: () => Hub): void;
22}
23//# sourceMappingURL=metadata.d.ts.map
\No newline at end of file