[SERVER-63624] Create Object Builder For ShardingDataTransformInstanceMetrics Created: 14/Feb/22  Updated: 06/Dec/22  Resolved: 17/May/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Luis Osta (Inactive) Assignee: [DO NOT USE] Backlog - Sharding NYC
Resolution: Won't Fix Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Participants:
Story Points: 2

 Description   

Metrics involved:

  • desc
  • ns
  • op
  • originatingCommand
  • state
  • totalOperationTimeElapsedSecs
  • type

We shouldn't have a partially declared object that is in an invalid state. We need to figure out some solution that doesn't involve a constructor a lot of parameters.

The final "build" function should take a service context so that the user of the builder doesn't have to care about the cumulative metrics object.

It should also work for the children of the ShardingDataTransformInstanceMetrics class.


Generated at Thu Feb 08 05:58:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.