Make it simple to understand MongoDB Cluster member role

Description

Problem: During the dashboarding, it’s tough to understand the role of the specific instance in topology.

Proposed solution:

Add a new label cluster_role with the type of MongoDB node to the mongodb_up metric OR to all metrics (TBD)

This new label has to be populated with the proper mongodb type:

  • "mongos"

  • "mongod"

How to test

Check that there’s a new cluster_role label added to the mongodb_up metric.

How to document

Just RN

Smart Checklist

hide

Activity

Show:

Roma Novikov August 8, 2024 at 8:37 AM

, i think, if the other roles are also available in the same place - it’s very good to have ALL possible roles tracked and exposed.

Michael Okoko August 8, 2024 at 7:37 AM

Hi just to clarify, what cluster roles do we want to identify here? Is it just mongos vs mongod? Or do we need to have separate labels for all the node types (arbiter, shardsvr, etc).

Nurlan Moldomurov July 16, 2024 at 12:32 PM

Yes, please rewrite the task the way it’s needed, we are already extracting this data, so we can easily add it as new label.

Ivan Groenewold July 16, 2024 at 12:19 PM

Understood. What about adding an extra label then?

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Smart Checklist Progress

Smart Checklist

Created July 16, 2024 at 11:42 AM
Updated September 24, 2024 at 9:50 AM
Resolved September 10, 2024 at 9:41 AM