[SERVER-82931] Mark each FTDC collector with a prefix to indicate its type (service, process or host) Created: 08/Nov/23  Updated: 07/Feb/24

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

Type: Task Priority: Major - P3
Reporter: Pol Pinol Assignee: Pol Pinol
Resolution: Unresolved Votes: 0
Labels: pm-635-milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-82034 Initialize the router FTDC controller... Open
is depended on by SERVER-82932 Adapt t2 to recognize metric categori... Backlog
Assigned Teams:
Catalog and Routing
Sprint: CAR Team 2024-03-04
Participants:

 Description   

In the context of PM-635, the Full-Time Diagnostics Capture (FTDC) machinery needs to be adapted to produce performance statistics for both the embedded router and shard/config server for internal usage in the same FTDC data file.

As a first step, we will need to extend the information reported in the local FTDC data file depending of the type of information given, using a prefix.

The different types that the collector can represent are the same provided by the investigation at SERVER-79243: host, process and services. That is:

  • host
  • process
  • service - shard
  • service - router
  • service - config

The goal of this ticket is to mark each FTDC collector with a prefix that indicated the corresponding type.

An example of current implementation:

{
   "start" : Date_t,
   "collector1" : {         
      "start" : Date_t, 
      "data" : { ... }  
      "end" : Date_t,
   },
   "collector2" : { ... },
   ...,
   "end" : Date_t,
}

Goal of this ticket:

{
   "start" : Date_t,
   "shard" : { "collector1" : { ... } },
   "shard" : { "collector2" : { ... } },
   "process" : { "collector3" : { ... } },
   "process" : { "collector4" : { ... } },
   ...,
   "end" : Date_t,
}


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