oncall-engine/engine/apps/metrics_exporter/apps.py
Ildar Iskhakov 2fdd885abe
Move new alert group metric creation into async task (#3451)
# What this PR does

Moving metrics creation into separate task to make alert ingestion more
robust

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)

---------

Co-authored-by: Julia <ferril.darkdiver@gmail.com>
2023-11-29 12:45:36 +00:00

8 lines
177 B
Python

from django.apps import AppConfig
class MetricsExporterConfig(AppConfig):
name = "apps.metrics_exporter"
def ready(self):
from . import signals # noqa: F401