mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* OT init * add bundle analyzer and change external scripts load strategy * exporters for prod * update discord icon and lazy load metamask package * Fixing opentelemetry url * add logs and url schema * Testing NODE_ENV and opentelemetry * Using jaeger as opentelemetry trace collector * move envs to build time * Fixing opentelemetry URL * fix trace exporter for span processor * ENV configuration * filter out incoming requests * describe feature in docs * clean up * Changing otlp endpoint * fix tests --------- Co-authored-by: Nick Zenchik <[email protected]>
6 lines
132 B
TypeScript
6 lines
132 B
TypeScript
export async function register() {
|
|
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
|
await import('./instrumentation.node');
|
|
}
|
|
}
|