Rocky_Mountain_Vending/.pnpm-store/v10/files/5a/e785e144aa9381727f310b610c505aa19d1946df526e1df6b4b18fadc963190eaea3fa562987575d0c674d41fc5ea64148922de234247869196c1429ee1460
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

34 lines
No EOL
1.5 KiB
Text

import { Span } from '@opentelemetry/api';
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
export interface SerializerPayload {
condition?: any;
options?: any;
updates?: any;
document?: any;
aggregatePipeline?: any;
fields?: any;
}
export declare type DbStatementSerializer = (operation: string, payload: SerializerPayload) => string;
export interface ResponseInfo {
moduleVersion: string | undefined;
response: any;
}
export declare type MongooseResponseCustomAttributesFunction = (span: Span, responseInfo: ResponseInfo) => void;
export interface MongooseInstrumentationConfig extends InstrumentationConfig {
/**
* Mongoose operation use mongodb under the hood.
* If mongodb instrumentation is enabled, a mongoose operation will also create
* a mongodb operation describing the communication with mongoDB servers.
* Setting the `suppressInternalInstrumentation` config value to `true` will
* cause the instrumentation to suppress instrumentation of underlying operations,
* effectively causing mongodb spans to be non-recordable.
*/
suppressInternalInstrumentation?: boolean;
/** Custom serializer function for the db.statement tag */
dbStatementSerializer?: DbStatementSerializer;
/** hook for adding custom attributes using the response payload */
responseHook?: MongooseResponseCustomAttributesFunction;
/** Set to true if you do not want to collect traces that start with mongoose */
requireParentSpan?: boolean;
}
//# sourceMappingURL=types.d.ts.map