Skip to content

Commit 29bd42c

Browse files
authored
Fix collecting metrics (#4822)
# What this PR does Reverts the accidental removal of the ApplicationMetricsCollector from the metric register ## 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 - [ ] 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.
1 parent f5c8719 commit 29bd42c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

engine/apps/metrics_exporter/metrics_collectors.py

+3
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,6 @@ def recalculate_cache_for_missing_org_ids(self, org_ids: set[int], missing_org_i
232232
recalculate_orgs.append({"organization_id": org_id, "force": force_task})
233233
if recalculate_orgs:
234234
start_calculate_and_cache_metrics.apply_async((recalculate_orgs,))
235+
236+
237+
application_metrics_registry.register(ApplicationMetricsCollector())

0 commit comments

Comments
 (0)