import { LogRecord } from "@opentelemetry/api-logs"; import { InstrumentationConfig } from "@opentelemetry/instrumentation"; //#region src/web-vitals/types.d.ts /** * WebVitalsInstrumentation Configuration */ interface WebVitalsInstrumentationConfig extends InstrumentationConfig { /** * @experimental * When true, sets the log record body to the JSON-stringified * `web-vitals` attribution object for the metric. * * Note: `applyCustomLogRecordData` runs after the body is set. * If the hook assigns a new `body`, it will overwrite the attribution data. */ includeRawAttribution?: boolean; /** * Hook to modify log records before they are emitted. * Use this to add custom attributes or modify the log record. */ applyCustomLogRecordData?: (logRecord: LogRecord) => void; } //#endregion export { WebVitalsInstrumentationConfig }; //# sourceMappingURL=types.d.ts.map