mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-11 23:14:58 -05:00
19 lines
504 B
TypeScript
19 lines
504 B
TypeScript
/**
|
|
* Sim Telemetry - Edge Runtime Instrumentation
|
|
*
|
|
* This file contains Edge Runtime-compatible instrumentation logic.
|
|
* No Node.js APIs (like process.on, crypto, fs, etc.) are allowed here.
|
|
*/
|
|
|
|
import { createLogger } from '@sim/logger'
|
|
|
|
const logger = createLogger('EdgeInstrumentation')
|
|
|
|
export async function register() {
|
|
try {
|
|
logger.info('Edge Runtime instrumentation initialized')
|
|
} catch (error) {
|
|
logger.error('Failed to initialize Edge Runtime instrumentation', error)
|
|
}
|
|
}
|