MCPcopy
hub / github.com/codeaashu/claude-code / shutdownDatadog

Function shutdownDatadog

src/services/analytics/datadog.ts:151–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 * forceExit() prevents the beforeExit handler from firing.
150 */
151export async function shutdownDatadog(): Promise<void> {
152 if (flushTimer) {
153 clearTimeout(flushTimer)
154 flushTimer = null
155 }
156 await flushLogs()
157}
158
159// NOTE: use via src/services/analytics/index.ts > logEvent
160export async function trackDatadogEvent(

Callers 4

gracefulShutdownFunction · 0.85
shutdownAndExitFunction · 0.85
shutdownAndExitFunction · 0.85
bridgeMainFunction · 0.85

Calls 1

flushLogsFunction · 0.85

Tested by

no test coverage detected