oncall-engine/engine/apps/api
Joey Orlando 16502205be
add channel__team to internal api serializer select_related (#1805)
Locally I reproduced a slow `GET /api/internal/v1/alertgroups` query
(took 9s - 10s). After adding this line to the alert group serializer
for the internal api it:
- cut the response time in half
- cut the number of executed SQL queries from 52 to 30
2023-04-20 18:30:49 +02:00
..
permissions optimize GET /schedules internal API endpoint (#1169) 2023-01-25 11:08:09 +01:00
serializers add channel__team to internal api serializer select_related (#1805) 2023-04-20 18:30:49 +02:00
tests Return is_based_on_alertmanager for alert_receive_channel in private api (#1782) 2023-04-20 05:49:25 +00:00
throttlers Add ratelimit for phone number verification (#1354) 2023-02-21 16:47:52 +08:00
views Optimise alert groups private api endpoint (#1802) 2023-04-20 21:01:41 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
response_renderers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
urls.py Add initial webhooks internal plugin API (#1524) 2023-03-10 17:00:06 +00:00