oncall-engine/docs/sources
Joey Orlando 77f6dedce5
add index on started_at column in alert groups (#2516)
# What this PR does

Adds an index on the `started_at` column in the `alerts_alertgroup`
table. For the alert groups query used by the
`check_escalation_finished_task`, this resulted in a huge performance
boost, taking the query time from 89mins to 4secs (on our largest
production dataset).

## Which issue(s) this PR fixes

closes #724
closes https://github.com/grafana/oncall-private/issues/1713

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-13 05:22:59 -04:00
..
escalation-chains-and-routes Refactor docs for the new integrations page (#2290) 2023-06-27 09:57:27 +08:00
get-started Refactor docs for the new integrations page (#2290) 2023-06-27 09:57:27 +08:00
insights-and-metrics Add "user_was_notified_of_alert_groups" metric (#2334) 2023-06-28 08:15:19 +00:00
integrations Refactor docs for the new integrations page (#2290) 2023-06-27 09:57:27 +08:00
jinja2-templating Refactor docs for the new integrations page (#2290) 2023-06-27 09:57:27 +08:00
migration-from-other-tools Docs restructure (#1703) 2023-05-24 14:11:21 +03:00
mobile-app Remove absolute aliases as it can cause unexpected redirects in future versions (#1793) 2023-06-05 09:03:38 +00:00
notify Remove absolute aliases as it can cause unexpected redirects in future versions (#1793) 2023-06-05 09:03:38 +00:00
on-call-schedules Remove absolute aliases as it can cause unexpected redirects in future versions (#1793) 2023-06-05 09:03:38 +00:00
oncall-api-reference Resolution notes endpoint docs (#2404) 2023-06-29 14:08:21 +00:00
open-source add index on started_at column in alert groups (#2516) 2023-07-13 05:22:59 -04:00
outgoing-webhooks Remove absolute aliases as it can cause unexpected redirects in future versions (#1793) 2023-06-05 09:03:38 +00:00
user-and-team-management Remove absolute aliases as it can cause unexpected redirects in future versions (#1793) 2023-06-05 09:03:38 +00:00
_index.md adjust frontmatter weight and add menu title (#2484) 2023-07-10 16:54:28 +00:00