You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(telemetry): address review feedback on aggregator and close()
- Snapshot driverConfig on each statement at first event so a later
CONNECTION_OPEN can't retroactively rewrite the config reported by
in-flight statements (and their buffered errors).
- Attach a defensive .catch() to the fire-and-forget exporter.export()
call so any future regression that leaks a rejection logs at debug
rather than surfacing as an unhandled promise rejection.
- Document the unref()'d flush timer on DBSQLClient.close(): callers
must await close() on shutdown to drain buffered telemetry; otherwise
metrics between flush ticks are lost.
Co-authored-by: Isaac
0 commit comments