Appearance
apps/api/src/lib/telemetry.ts ​
Auto-generated by
scripts/generate-file-docs.ts. Do not edit — overwritten on every run.
Purpose ​
Azure Application Insights instrumentation (AB#3127). Import and call initTelemetry() at the very top of src/index.ts before any other module so the SDK can intercept HTTP and DB dependencies. When APPLICATIONINSIGHTS_CONNECTION_STRING is absent (local dev) this is a silent no-op.
Exports ​
export function initTelemetryexport function trackException
Imports ​
(none detected)