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)
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)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-21 UTC."],[],[],null,["# alerts.performance.ThresholdAlertPayload interface\n\nThe internal payload object for a performance threshold alert. Payload is wrapped inside a object.\n\n**Signature:** \n\n export interface ThresholdAlertPayload \n\nProperties\n----------\n\n| Property | Type | Description |\n|---------------------------------------------------------------------------------------------------------------------------------------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [appVersion](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadappversion) | string | 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) |\n| [conditionPercentile](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadconditionpercentile) | number | The percentile of the alert condition, can be 0 if percentile is not applicable to the alert condition and omitted; range: \\[1, 100\\] |\n| [eventName](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadeventname) | string | Name of the trace or network request this alert is for (e.g. my_custom_trace, firebase.com/api/123) |\n| [eventType](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadeventtype) | string | The resource type this alert is for (i.e. trace, network request, screen rendering, etc.) |\n| [investigateUri](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadinvestigateuri) | string | The link to Fireconsole to investigate more into this alert |\n| [metricType](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadmetrictype) | string | The metric type this alert is for (i.e. success rate, response time, duration, etc.) |\n| [numSamples](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadnumsamples) | number | The number of events checked for this alert condition |\n| [thresholdUnit](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadthresholdunit) | string | The unit for the alert threshold (e.g. \"percent\", \"seconds\") |\n| [thresholdValue](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadthresholdvalue) | number | The threshold value of the alert condition without units (e.g. \"75\", \"2.1\") |\n| [violationUnit](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadviolationunit) | string | The unit for the violation value (e.g. \"percent\", \"seconds\") |\n| [violationValue](./firebase-functions.alerts.performance.thresholdalertpayload.md#alertsperformancethresholdalertpayloadviolationvalue) | number | The value that violated the alert condition (e.g. \"76.5\", \"3\") |\n\nalerts.performance.ThresholdAlertPayload.appVersion\n---------------------------------------------------\n\nThe 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)\n\n**Signature:** \n\n appVersion?: string;\n\nalerts.performance.ThresholdAlertPayload.conditionPercentile\n------------------------------------------------------------\n\nThe percentile of the alert condition, can be 0 if percentile is not applicable to the alert condition and omitted; range: \\[1, 100\\]\n\n**Signature:** \n\n conditionPercentile?: number;\n\nalerts.performance.ThresholdAlertPayload.eventName\n--------------------------------------------------\n\nName of the trace or network request this alert is for (e.g. my_custom_trace, firebase.com/api/123)\n\n**Signature:** \n\n eventName: string;\n\nalerts.performance.ThresholdAlertPayload.eventType\n--------------------------------------------------\n\nThe resource type this alert is for (i.e. trace, network request, screen rendering, etc.)\n\n**Signature:** \n\n eventType: string;\n\nalerts.performance.ThresholdAlertPayload.investigateUri\n-------------------------------------------------------\n\nThe link to Fireconsole to investigate more into this alert\n\n**Signature:** \n\n investigateUri: string;\n\nalerts.performance.ThresholdAlertPayload.metricType\n---------------------------------------------------\n\nThe metric type this alert is for (i.e. success rate, response time, duration, etc.)\n\n**Signature:** \n\n metricType: string;\n\nalerts.performance.ThresholdAlertPayload.numSamples\n---------------------------------------------------\n\nThe number of events checked for this alert condition\n\n**Signature:** \n\n numSamples: number;\n\nalerts.performance.ThresholdAlertPayload.thresholdUnit\n------------------------------------------------------\n\nThe unit for the alert threshold (e.g. \"percent\", \"seconds\")\n\n**Signature:** \n\n thresholdUnit: string;\n\nalerts.performance.ThresholdAlertPayload.thresholdValue\n-------------------------------------------------------\n\nThe threshold value of the alert condition without units (e.g. \"75\", \"2.1\")\n\n**Signature:** \n\n thresholdValue: number;\n\nalerts.performance.ThresholdAlertPayload.violationUnit\n------------------------------------------------------\n\nThe unit for the violation value (e.g. \"percent\", \"seconds\")\n\n**Signature:** \n\n violationUnit: string;\n\nalerts.performance.ThresholdAlertPayload.violationValue\n-------------------------------------------------------\n\nThe value that violated the alert condition (e.g. \"76.5\", \"3\")\n\n**Signature:** \n\n violationValue: number;"]]