{ "service": "sdk-diagnostics",
"event_name": "sdk.error.uncaught",
"library": "amplitude-ts-sdk-script/2.42.4",
"event_properties": {
"error_name": "TypeError",
"message": "undefined is not an object
(evaluating 'Object.keys(e.amplitude._iq)')",
"stack": "...min.js.gz:1:223108",
"stack_unminified[0]": "GlobalScope
(packages/analytics-browser/src/snippet-index.ts:52:38)"
}
}Watch the data change
The same Amplitude error remains visible from the original payload to the new-issue notification.
The error arrives inside an info log.
Datadog sees service=sdk-diagnostics and status=info. The actual error is nested under event_properties, so Error Tracking cannot use it yet.
Select strictly. Remap into standard fields.
The canonical scope requires all three signals: service:sdk-diagnostics, the exact "SDK Diagnostic Event" marker, and @event_name:sdk.error.uncaught. A JSON parser exposes the payload; remappers populate Datadog’s standard error fields. Request wrappers and backend Java exceptions do not satisfy the complete scope.
service: sdk-diagnostics status: error error.kind: TypeError error.message: undefined is not an object… error.stack: TypeError … min.js.gz:1:223108
Datadog turns occurrences into native issues.
Datadog Error Tracking uses the mapped error.kind, normalized error.message, and error.stack to create its native issue fingerprint. Equivalent occurrences increase one issue’s count; the dashboard shows each group’s occurrence and percentage. Generic TypeError: Failed to fetch is excluded from the canonical SDK ranking because it normally represents customer-side network failure.
Object.keys(amplitude._iq) on undefined
Repeated matching events roll up into occurrence count and percentage.A genuinely new issue notifies Slack.
The Error Tracking monitor watches for new Browser issues in the same canonical scope and groups alerts by issue.id. Its Slack message includes the error type, message, file, category, handling state, fixed service scope, and a direct Datadog issue link. Automatic Linear ticket creation remains out of scope.
issue_link: available slack_channel: sdk-error-tracking-demo linear_ticket: not created