[SERVER-70599] serverStatus metrics for ChangeStreamExpiredPreImagesRemover and config.system.preimages Created: 15/Oct/22  Updated: 18/Jul/23  Resolved: 30/Jun/23

Status: Closed
Project: Core Server
Component/s: Change streams, Diagnostics
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kevin Arhelger Assignee: Mindaugas Malinauskas
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-77909 Explore adding $collStats FTDC data f... Closed
Sprint: QE 2022-10-31, QE 2022-11-14, QE 2022-12-26, QE 2023-01-09, QE 2023-01-23
Participants:
Case:

 Description   

SERVER-58691 and associated tickets created the ChangeStreamExpiredPreImagesRemover

However, there are no serverStatus metrics for capturing how much work this task is performing. This request is to add the following serverStatus metrics (to match the TTL background job metrics and oplog metrics).

  • Inserted Documents
  • Deleted Documents
  • Job Passes
  • Pre-image Document Count
  • Max Pre-image Document Count
  • avgObjSize
  • Storage Size
  • Max Storage Size
  • Free Storage Size
  • Timestamp of oldest document
  • Value of preAndPostImages.expireAfterSeconds
  • Job Utilization (defined as timeSpentDeletingPerPeriod/periodLength)


 Comments   
Comment by Jordi Olivares Provencio [ 30/Jun/23 ]

Marking it as a duplicate of SERVER-77909. Adding that option will provide everything requested here in terms of collection statistics and there's already metrics provided by SERVER-75439 for the remover.

Generated at Thu Feb 08 06:16:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.