• 1 Overview
  • 2 Customized Data Report Interface
  • 3 Data Format Introduction

Customized Data Analysis and Display


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
Config the sequence keywords to do max common sequences calculation:

The Max common sequences of Top20 issues are calculated and recommended by default. For other issues, recommendation calculation is triggered mannually through "Calculating Current Issues" button. Here are results of Max common sequences calculation:

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.

Last Updated: