mongos metrics are not present unless compatible-mode is set

Description

When starting the mongodb_exporter, we are not collecting the metrics that are related to mongos like mongodb_mongos_sharding_balancer_enabled unless the exporter is run with --compatible-mode.
It is expected we collect these metrics regardless of the compatible-mode setting.

How to test

None

How to document

None

Activity

Show:

Ivan Groenewold February 22, 2024 at 2:47 PM

Even if pmm-client is passing the --compatible mode flag to get the old v1 metric names, we should come up with new metric names and implement the collection for when v1 is finally removed

Duplicate

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Affects versions

Smart Checklist

Created May 13, 2022 at 5:45 PM
Updated November 5, 2024 at 3:05 PM
Resolved November 5, 2024 at 3:04 PM