Rocky_Mountain_Vending/.pnpm-store/v10/files/96/3532d2912e143be4e67c35169a06ba2bde5050cff3730079f02eaabbdfd4ff290a7ea6ed4d28871b3012f6383754f5b57c57b33247bfe198083054556d2e05
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

48 lines
1.9 KiB
Text

import { GraphQLInstrumentation } from '@opentelemetry/instrumentation-graphql';
interface GraphqlOptions {
/**
* Do not create spans for resolvers.
*
* Defaults to true.
*/
ignoreResolveSpans?: boolean;
/**
* Don't create spans for the execution of the default resolver on object properties.
*
* When a resolver function is not defined on the schema for a field, graphql will
* use the default resolver which just looks for a property with that name on the object.
* If the property is not a function, it's not very interesting to trace.
* This option can reduce noise and number of spans created.
*
* Defaults to true.
*/
ignoreTrivialResolveSpans?: boolean;
/**
* If this is enabled, a http.server root span containing this span will automatically be renamed to include the operation name.
* Set this to `false` if you do not want this behavior, and want to keep the default http.server span name.
*
* Defaults to true.
*/
useOperationNameForRootSpan?: boolean;
}
export declare const instrumentGraphql: ((options: GraphqlOptions) => GraphQLInstrumentation) & {
id: string;
};
/**
* Adds Sentry tracing instrumentation for the [graphql](https://www.npmjs.com/package/graphql) library.
*
* For more information, see the [`graphqlIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/graphql/).
*
* @param {GraphqlOptions} options Configuration options for the GraphQL integration.
*
* @example
* ```javascript
* const Sentry = require('@sentry/node');
*
* Sentry.init({
* integrations: [Sentry.graphqlIntegration()],
* });
*/
export declare const graphqlIntegration: (options?: GraphqlOptions | undefined) => import("@sentry/core").Integration;
export {};
//# sourceMappingURL=graphql.d.ts.map