Trend analysis over an AGC report
agc_report_trendExport an AppGallery Connect report and analyze one metric's trend with week-over-week change, moving-average direction, anomaly days, peak/trough, and a 28-day sparkline. Omit metric for all columns.
Instructions
Export a report and analyse the trend of one metric: week-over-week change, 7-day moving-average direction, z-score anomaly days, peak/trough and a 28-day sparkline. Use metric="" to get a compact overview of all numeric columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | AGC site: cn / de / sg / ru (default from AGC_SITE, otherwise cn) | |
| appId | Yes | ||
| metric | No | Column name to analyse (substring match ok); empty for overview of all columns | |
| report | Yes | ||
| endDate | No | YYYY-MM-DD or YYYYMMDD (UTC). Default: yesterday | |
| filters | No | ||
| groupBy | No | usually keep the default (date) | |
| language | No | ||
| startDate | No | YYYY-MM-DD or YYYYMMDD (UTC). Default: 30 days ago |