api: fix tracing (#1263)

This commit is contained in:
acelinkio 2026-01-10 16:09:04 -08:00 committed by GitHub
parent fefcc5b124
commit fa18df3bcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,7 +123,7 @@ export function setupOtel() {
logapi.setGlobalLoggerProvider(lp);
metricapi.setGlobalMeterProvider(mp);
traceapi.setGlobalTracerProvider(tp);
tp.register();
}
export function record<T extends (...args: any) => any>(