Pricing
Customized Data Analysis and Display
Help Documents menu

Customized Data Analysis and Display

Updated on: 2023-02-15 19:14

1 Overview

Besides custom field reporting, CrashSight also supports real-time statistics computing and visualized display of specified fields. When reporting, specify the field type using the standard format (number, text and sequence types are supported at present) so that the field can be selected from the Custom Management tab on the page. Real-time statistic computing such as pie charts and histograms are supported. A webpage usage case is shown below:

Recommended max common sequences of sequence data (only the top 20 issues are calculated at present)

2 Customized Data Report Interface

GCloud interface:

MSDKCrash.SetUserValue(String key, String value)

CrashSight interface:

Android:

CrashReport.putUserData(Context c, String key, String value)

iOS:

+(void)SetUserValue: (nonnull NSString*) value forKey: (nonnull NSString*)key

Value of a custom field cannot include English colons or semicolons, or parsing may fail.

3 Data Format Introduction

3.1 How to Specify the Custom Fields to do Statistics?

Specify the types of fields to be computed. Specified types of fields will be processed by the backend, and computing and display methods depend on the type. The method used to specify field types reuses the original Key fields. When a new field type is added, the corresponding letter (I: number, K: string, S: sequence) is added before the Key and separated with #. Examples: When reporting number-type custom data

Key:I#key

Value:100

When reporting string-type custom data:

Key:K#key2

Value:lobby

When reporting sequence-type custom data:

Key:S#key3

Value:action1#action2#action3#action4#action5#action6

Sequence-type data is connected with #. The backend will split it automatically and export the max common sequence for reproducing the issue.
Data of specified types will receive extra processing in the process chain. Page selection and real-time statistics are supported. By default, data without a specific type won’t be further processed.