Expose featureCompatibilityVersion as a metric

Description

FCV enables/disables the use MongoDB features that persist data incompatible with earlier versions of MongoDB. FCV should normally be set to the current version of MongoDB (except in the case were you just upgraded and are not sure if you will need to downgrade).

For example if using MongoDB 4.2 with FCV set to 4.0 it means the current files on disk can be used to roll back to MongoDB 4.0 - while bumping FCV to 4.2 means you need to take a logical dump/restore to rollback.

It should be collected via mongodb_Exporter:

Also this is needed for one of the advisors that are planned

How to test

Add Mongodb exporter with --enable-all flag and check that we receive metrics from fcv collector

How to document

new fcv collector added to mongodb_exporter

Attachments

1

Smart Checklist

hide

Activity

Show:

Nailya Kutlubaeva September 13, 2024 at 1:48 PM

Checked FB with --enable-all-collectors

Nurlan Moldomurov August 14, 2024 at 8:58 AM

Hi you can play with to create dashboards

Nurlan Moldomurov August 7, 2024 at 11:46 AM

development part can be done, not sure about QA and dashboards.

Ivan Groenewold August 6, 2024 at 1:32 PM

addresses this

Aaditya Dubey June 4, 2024 at 10:49 AM

Hi

Thank you for the report and feedback.

Done

Details

Assignee

Reporter

Priority

Needs QA

Yes

Needs Doc

Yes

Planned Version/s

Fix versions

Story Points

Smart Checklist Progress

Smart Checklist

Created May 29, 2024 at 11:54 AM
Updated September 24, 2024 at 9:51 AM
Resolved September 23, 2024 at 11:24 AM