You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/providers/alerts/performance.ts
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -38,27 +38,27 @@ import {
38
38
* Payload is wrapped inside a {@link FirebaseAlertData} object.
39
39
*/
40
40
exportinterfaceThresholdAlertPayload{
41
-
/* Name of the trace or network request this alert is for (e.g. my_custom_trace, firebase.com/api/123) */
41
+
/** Name of the trace or network request this alert is for (e.g. my_custom_trace, firebase.com/api/123) */
42
42
eventName: string;
43
-
/* The resource type this alert is for (i.e. trace, network request, screen rendering, etc.) */
43
+
/** The resource type this alert is for (i.e. trace, network request, screen rendering, etc.) */
44
44
eventType: string;
45
-
/* The metric type this alert is for (i.e. success rate, response time, duration, etc.) */
45
+
/** The metric type this alert is for (i.e. success rate, response time, duration, etc.) */
46
46
metricType: string;
47
-
/* The number of events checked for this alert condition */
47
+
/** The number of events checked for this alert condition */
48
48
numSamples: number;
49
-
/* The threshold value of the alert condition without units (e.g. "75", "2.1") */
49
+
/** The threshold value of the alert condition without units (e.g. "75", "2.1") */
50
50
thresholdValue: number;
51
-
/* The unit for the alert threshold (e.g. "percent", "seconds") */
51
+
/** The unit for the alert threshold (e.g. "percent", "seconds") */
52
52
thresholdUnit: string;
53
-
/* The percentile of the alert condition, can be 0 if percentile is not applicable to the alert condition and omitted; range: [1, 100] */
53
+
/** The percentile of the alert condition, can be 0 if percentile is not applicable to the alert condition and omitted; range: [1, 100] */
54
54
conditionPercentile?: number;
55
-
/* The app version this alert was triggered for, can be omitted if the alert is for a network request (because the alert was checked against data from all versions of app) or a web app (where the app is versionless) */
55
+
/** The app version this alert was triggered for, can be omitted if the alert is for a network request (because the alert was checked against data from all versions of app) or a web app (where the app is versionless) */
56
56
appVersion?: string;
57
-
/* The value that violated the alert condition (e.g. "76.5", "3") */
57
+
/** The value that violated the alert condition (e.g. "76.5", "3") */
58
58
violationValue: number;
59
-
/* The unit for the violation value (e.g. "percent", "seconds") */
59
+
/** The unit for the violation value (e.g. "percent", "seconds") */
60
60
violationUnit: string;
61
-
/* The link to Fireconsole to investigate more into this alert */
61
+
/** The link to Fireconsole to investigate more into this alert */
0 commit comments