Skip to content

Commit

Permalink
Merge pull request #1855 from DataDog/jward/schema-update-2
Browse files Browse the repository at this point in the history
Add new error source types to RUM schema
  • Loading branch information
fuzzybinary committed Feb 15, 2024
2 parents 86983e8 + 011b9fa commit b5652fe
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
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
12 changes: 11 additions & 1 deletion features/dd-sdk-android-rum/src/main/json/rum/error-schema.json
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

0 comments on commit b5652fe

Please sign in to comment.