ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / packages/observability/instrumentation.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / packages/observability/instrumentation.ts
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberpackages/observability/instrumentation.ts
Original SHA-2565502b10674c0c61c4c0825e1c84a57d34e6e83b0a16cb30df2b56435638078b9
Git blob SHA3752f2eec3f1aa8de35769419d59a529450e424e
Reading-copy SHA-2565502b10674c0c61c4c0825e1c84a57d34e6e83b0a16cb30df2b56435638078b9

Original source ↗

Recovered source transcript

import { init } from '@sentry/nextjs' import { IS_DEVELOPMENT } from '@thedaviddias/utils/environment' import { keys } from './keys' const opts = { dsn: keys().NEXT_PUBLIC_SENTRY_DSN, // Set the environment environment: process.env.VERCEL_ENV || (IS_DEVELOPMENT ? 'development' : 'production'), // Adjust sampling rates based on environment tracesSampleRate: IS_DEVELOPMENT ? 1.0 : 0.1, // Only enable debug in development and when explicitly required // This fixes the "Cannot initialize SDK with `debug` option using a non-debug bundle" error debug: false } export const initializeSentry = () => { if (process.env.NEXT_RUNTIME === 'nodejs') { init(opts) } if (process.env.NEXT_RUNTIME === 'edge') { init(opts) } }

Search equations, builds, manuscript text, and recovered sources.