MongoDB Instance Summary dashboard displays wrong replset state

Description

The expression used to calculate the state of each member is wrong:

this doesn't take into account that the mongodb_mongod_replset_my_state metric is recorded via the low resolution (_lr) as well as high resolution jobs (_hr). Hence results in displaying the wrong value.

Either we make this metric be collected only by the high resolution job, or change the expression to something like

How to test

None

How to document

None

Activity

Aaditya Dubey January 31, 2025 at 3:13 PM

Hi

Thank you for the report.
It looks like this issue no longer exists, closing this report.

Cannot Reproduce

Details

Assignee

Reporter

Priority

Needs QA

Needs Doc

Due date

Created December 27, 2024 at 11:53 AM
Updated January 31, 2025 at 3:13 PM
Resolved January 31, 2025 at 3:13 PM