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>
34 lines
No EOL
1.5 KiB
Text
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 |