oncall-engine/engine/apps/metrics_exporter
Michael Derynck 2545bf8336
Split up organizations across metrics exporters (#5127)
# What this PR does
Limits organizations that a metrics exporter is responsible for. As more
organizations are added it becomes more difficult for the exporter to
deliver metrics within the scrape timeout. This would let us use the
settings to divide up the organizations between multiple exporters.

## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## 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.
2024-10-08 17:29:36 +00:00
..
tests Add settings var to choose application metrics to collect (#4781) 2024-08-12 10:37:48 +00:00
__init__.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
apps.py Move new alert group metric creation into async task (#3451) 2023-11-29 12:45:36 +00:00
constants.py Prepare insight metrics structure for adding service_name label (#4227) 2024-04-29 09:45:23 +00:00
helpers.py Split up organizations across metrics exporters (#5127) 2024-10-08 17:29:36 +00:00
metrics_cache_manager.py Prepare insight metrics structure for adding service_name label (#4227) 2024-04-29 09:45:23 +00:00
metrics_collectors.py Fix collecting metrics (#4822) 2024-08-14 13:53:43 +00:00
signals.py Move new alert group metric creation into async task (#3451) 2023-11-29 12:45:36 +00:00
tasks.py User notifications bundle (#4457) 2024-07-16 11:24:08 +00:00
urls.py Add instructions for prometheus exporter setup (#2103) 2023-06-12 13:04:07 +00:00
views.py Add instructions for prometheus exporter setup (#2103) 2023-06-12 13:04:07 +00:00