UNPKG

901 BTypeScriptView Raw
1import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
2export declare const moduleMetadataIntegration: () => import("@sentry/types").IntegrationFnResult;
3/**
4 * Adds module metadata to stack frames.
5 *
6 * Metadata can be injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
7 *
8 * When this integration is added, the metadata passed to the bundler plugin is added to the stack frames of all events
9 * under the `module_metadata` property. This can be used to help in tagging or routing of events from different teams
10 * our sources
11 *
12 * @deprecated Use `moduleMetadataIntegration()` instead.
13 */
14export declare const ModuleMetadata: IntegrationClass<Integration & {
15 setup: (client: Client) => void;
16 processEvent: (event: Event, hint: EventHint, client: Client) => Event;
17}>;
18//# sourceMappingURL=metadata.d.ts.map
\No newline at end of file