oncall-engine/engine/apps/public_api/serializers
Yulya Artyukhina 3d4ce622cb
Add default service_name label for Alerting integrations (#5373)
# What this PR does
- The `service_name` label will be added to Grafana Alerting integration
when it is created, if it wasn't added by user.
- Adds celery task that should be started manually and will add the
`service_name` dynamic label to all existing Grafana Alerting
integrations.

## Which issue(s) this PR closes

Related to https://github.com/grafana/oncall-private/issues/2975

## 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] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.

---------

Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
2025-01-14 10:02:23 +00:00
..
__init__.py Update alert groups public API filters support (#4832) 2024-08-15 19:58:25 +00:00
action.py Fix action/webhook API not accepting empty/null user (#3094) 2023-10-03 14:33:05 +00:00
alert_groups.py Add latest alert to public api alert groups endpoint (#5059) 2024-10-02 17:09:50 +00:00
alerts.py remove all references to deprecated AlertGroup.is_restricted field (#3228) 2023-10-31 20:10:45 +00:00
escalation.py add POST /escalation public API endpoint + add public API docs for teams/organization endpoints (#4815) 2024-08-15 18:31:35 +00:00
escalation_chains.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
escalation_policies.py Allow more escalation step wait times over public api (#5201) 2024-10-23 18:19:01 +00:00
integrations.py Add default service_name label for Alerting integrations (#5373) 2025-01-14 10:02:23 +00:00
integtration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
on_call_shifts.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
organizations.py remove organization maintenance mode + fix integration maintenance mode (#2511) 2023-07-12 16:41:44 -04:00
personal_notification_rules.py Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
resolution_notes.py feat: update service account auth not to require rbac enabled org (#5360) 2024-12-12 22:11:59 +00:00
routes.py chore: convert two slack channel ID char fields to foreign keys (#5224) 2024-11-04 13:34:06 -05:00
schedules_base.py feat: convert schedule.channel (char field) to schedule.slack_channel (foreign key) (#5199) 2024-11-04 14:27:21 -05:00
schedules_calendar.py feat: convert schedule.channel (char field) to schedule.slack_channel (foreign key) (#5199) 2024-11-04 14:27:21 -05:00
schedules_ical.py feat: convert schedule.channel (char field) to schedule.slack_channel (foreign key) (#5199) 2024-11-04 14:27:21 -05:00
schedules_polymorphic.py Initial web schedule model and serializers. Add override shift type. 2022-07-05 12:41:55 -03:00
schedules_web.py feat: convert schedule.channel (char field) to schedule.slack_channel (foreign key) (#5199) 2024-11-04 14:27:21 -05:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
teams.py feat: add Grafana IDs to users and teams public API endpoints (#5075) 2024-09-24 19:16:22 +00:00
user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
users.py feat: add Grafana IDs to users and teams public API endpoints (#5075) 2024-09-24 19:16:22 +00:00
webhooks.py feat: update service account auth not to require rbac enabled org (#5360) 2024-12-12 22:11:59 +00:00