Dashboard "MongoDB Oplog Details" - filter is not correctly applied in chart "Oplog GB/Hour"

Description

Dashboard "MongoDB Oplog Details"

  • Select a specific cluster, then a specific replicaSet, then a specific node, and then a specific service

  • Now check the dashboard.

  • The first charts correctly show only this service, however, if you scroll down and go to the "Oplog GB/Hour", it will show more services. This is a bit confusing as one specific service was selected. Unsure if it was designed by this deliberately? looks like a bug to me. The doc does not say much: . It seems a bit confusing

There are other ways to reproduce.

The PMM demo is affected - attaching images from the PMM demo.

Other issues in the same dashboard:

  • There is a mixed approach. Let’s suppose you have only 1 service selected. Some charts have the “label” with the service name, while some other have it in the chart’s title. This is a bit confusing for new users (even if, at the end, the correct info are visualized - just in two different ways).

  • The replica set filter is not working. If you select a specific replica set, in the “node name” it will still show all the nodes. this is again, a bit confusing.

  • Now select all service names (e.g. from the pmm demo)

  • In the “Oplog GB/Hour“ again you see only 3 lines, for the “-0” nodes (is this expected?)

  • Also the “oplog window” chart is somehow cut (image attached) - but you can scroll

Thanks

How to test

Check experimental → MongoDB Oplog details dashboard

Changes to check -
Service name filter at the top is renamed to “MongoDB Node” and changed to single select
Node Name filter is removed.
Oplog gb/hour should show the data as per the filter applied on MongoDB Node.

This story can be tested with the
Check how to test section for the FB in above mentioned story

How to document

None

Attachments

3

Smart Checklist

hide

Activity

Show:

saikumar.vs August 21, 2024 at 9:55 AM

verified pls refer testcase section for more details.

Aaditya Dubey March 31, 2024 at 6:22 AM

Hi

Thank you for the report and feedback.

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Affects versions

Smart Checklist Progress

Smart Checklist

Created March 28, 2024 at 6:16 PM
Updated January 15, 2025 at 4:07 PM
Resolved August 27, 2024 at 9:40 AM