From 57f3ed1db057fbf22a41fefb49d20f53cb1820c7 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 16 Jan 2023 11:10:52 +0000 Subject: [PATCH] insights: docs: add retention worker to the list of workers (#46423) --- doc/admin/workers.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/admin/workers.md b/doc/admin/workers.md index 670fa4cc33c..6224d197f15 100644 --- a/doc/admin/workers.md +++ b/doc/admin/workers.md @@ -61,12 +61,17 @@ This job contains most of the background processes for Code Insights. These proc 3. Insight license checker 4. Insight backfill checker 5. Data clean up jobs +6. Retention job enqueuer #### `insights-query-runner-job` This job is responsible for processing and running record and snapshot points for Code Insights. Such points are filled by running global searches. This job was split from the other Code Insights background processes so that it could benefit from horizontal scaling. +#### `insights-data-retention-job` + +This job is responsible for periodically archiving code insights data points that are beyond the maximum sample size as specified by the site config setting `insights.maximumSampleSize`. It dequeues jobs which are enqueued from the `insights-job` worker in the retention job enqueuer routine. Data will only be archived if the experimental setting `insightsDataRetention` is enabled. + #### `webhook-log-janitor` This job periodically removes stale log entries for incoming webhooks.