Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new error source types to RUM schema #1855

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions features/dd-sdk-android-rum/api/apiSurface
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,9 @@ data class com.datadog.android.rum.model.ErrorEvent
- REACT_NATIVE
- FLUTTER
- ROKU
- NDK
- IOS_IL2CPP
- NDK_IL2CPP
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): SourceType
Expand Down
3 changes: 3 additions & 0 deletions features/dd-sdk-android-rum/api/dd-sdk-android-rum.api
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,9 @@ public final class com/datadog/android/rum/model/ErrorEvent$SourceType : java/la
public static final field Companion Lcom/datadog/android/rum/model/ErrorEvent$SourceType$Companion;
public static final field FLUTTER Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field IOS Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field IOS_IL2CPP Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field NDK Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field NDK_IL2CPP Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field REACT_NATIVE Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final field ROKU Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
public static final fun fromJson (Ljava/lang/String;)Lcom/datadog/android/rum/model/ErrorEvent$SourceType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,17 @@
"source_type": {
"type": "string",
"description": "Source type of the error (the language or platform impacting the error stacktrace format)",
"enum": ["android", "browser", "ios", "react-native", "flutter", "roku"],
"enum": [
"android",
"browser",
"ios",
"react-native",
"flutter",
"roku",
"ndk",
"ios+il2cpp",
"ndk+il2cpp"
],
"readOnly": true
},
"resource": {
Expand Down