provide-telemetry
2026-03-26
TypeScript SDK: shutdownTelemetry, CI/CD integration, npm publish prep, TypeScript 6
18 files · 1,423+ · 394-
Implement shutdownTelemetry with OTel provider drain
2 files changed
index.tsAdded shutdownTelemetry() — shuts down all active OTel providers, flushes pending spans, drains metric readersshutdown.test.ts113-line test suite for shutdown behavior and provider drain
- shutdownTelemetry() gracefully drains all active OTel TracerProvider and MeterProvider instances. Waits for pending export batches to flush before returning. Tests verify drain timing and provider state after shutdown.
instantiate
behavioral
2 files
index.tsshutdown.test.ts
TypeScript CI/CD integration and npm publish prep
2 files changed
tsconfig.scripts.jsonNew tsconfig for scripts (E2E client, etc.)vitest.config.tsUpdated vitest config for CI
Kill window typeof-check mutation survivors
1 file changed
otel.test.ts14-line update killing mutation survivors in node env window check