Profile Aggregate Alerts
This feature is in early preview, is in active development, and may change based on user feedback.
Profile Aggregate Alerts allow alerting on increases in total and self time between release versions. Alerts automatically compare each release version with the prior release version.
Example Use Cases:
- Send a Slack message to a team's channel if function overhead increases for code they own.
- Send a Slack message to the
#performance
channel if the total time of any function's total time increases by 10%.
Metric
Profile Aggregate Alerts require a Metric to be configured. Profiles taken during this metric will be aggregated and compared between release versions.
Required Fields
Palette requires filtering by the following fields:
Field | Description |
---|---|
Metric | The metric during which profiles samples were taken |
Path | The path profile samples were taken from |
Optional Fields
The standard metric filters can be applied to alerts. Refer to the metric filter docs to see all available filters.
Alert Conditions
Alerts are sent when all the following conditions are met:
- Profile sample count for aggregates of previous and current versions exceeds 200k
- At least one function's total or self time increase exceeds the given critical threshold
- An alert for the current version has not been sent before
Destinations
Destinations are the external sources that Palette will notify when an alert is triggered. Palette supports the following destinations:
- Slack - connect your Slack workspace to Palette and choose which channel to notify
- Email - choose which team members to notify