Rocky_Mountain_Vending/.pnpm-store/v10/files/2e/dbaf8efde75f47127012332adc2ac22fe773fcc78dc5a46259ac9a198280b9aa2fe3868e997d78661271ef80397cb24492b67e0e24f1fb7210210039eacf84
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

46 lines
1.3 KiB
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const instrumentationMongoose = require('@opentelemetry/instrumentation-mongoose');
const core = require('@sentry/core');
const nodeCore = require('@sentry/node-core');
const INTEGRATION_NAME = 'Mongoose';
const instrumentMongoose = nodeCore.generateInstrumentOnce(
INTEGRATION_NAME,
() =>
new instrumentationMongoose.MongooseInstrumentation({
responseHook(span) {
nodeCore.addOriginToSpan(span, 'auto.db.otel.mongoose');
},
}),
);
const _mongooseIntegration = (() => {
return {
name: INTEGRATION_NAME,
setupOnce() {
instrumentMongoose();
},
};
}) ;
/**
* Adds Sentry tracing instrumentation for the [mongoose](https://www.npmjs.com/package/mongoose) library.
*
* For more information, see the [`mongooseIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/mongoose/).
*
* @example
* ```javascript
* const Sentry = require('@sentry/node');
*
* Sentry.init({
* integrations: [Sentry.mongooseIntegration()],
* });
* ```
*/
const mongooseIntegration = core.defineIntegration(_mongooseIntegration);
exports.instrumentMongoose = instrumentMongoose;
exports.mongooseIntegration = mongooseIntegration;
//# sourceMappingURL=mongoose.js.map