a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove baselime instrumentation

-26
-25
instrumentation.ts
··· 1 - export async function register() { 2 - if ( 3 - process.env.NEXT_RUNTIME === "nodejs" && 4 - process.env.NODE_ENV === "production" 5 - ) { 6 - const { BaselimeSDK, VercelPlugin, BetterHttpInstrumentation } = 7 - //@ts-ignore 8 - await import("@baselime/node-opentelemetry"); 9 - 10 - const sdk = new BaselimeSDK({ 11 - serverless: true, 12 - service: "minilink", 13 - instrumentations: [ 14 - new BetterHttpInstrumentation({ 15 - plugins: [ 16 - // Add the Vercel plugin to enable correlation between your logs and traces for projects deployed on Vercel 17 - new VercelPlugin(), 18 - ], 19 - }), 20 - ], 21 - }); 22 - 23 - sdk.start(); 24 - } 25 - }
-1
package.json
··· 11 11 "author": "", 12 12 "license": "ISC", 13 13 "dependencies": { 14 - "@baselime/node-opentelemetry": "^0.5.8", 15 14 "@mdx-js/loader": "^3.1.0", 16 15 "@mdx-js/react": "^3.1.0", 17 16 "@next/mdx": "^15.0.3",