[Tech preview] Support of PSMDB 8.0

Description

Hi,

ENV: PSMDB 8.0.1 + PMM agent 2.43.1

NOTE: the issue is present for sharded cluster only

When using PMM with PSMDB 8.0 most of dashboards are empty, mongodb_exporter runs OK however no DB related metrics are exported.

Logs are full of the following errors:

AFAICS there is a change in metrics format on PSMDB side.

STR:

  1. Start exporter manually

  1. Get metrics

  1. Exporter returns an error

 

With small exporter modification, error is no longer present and engine is returned:

Please note that engine metrics isn’t the only one affected, more changes are required, engine option is just a sample.

P.S. In addition, some of metrics were completely renamed:

Please check and fix the issue, so that metrics from PSMDB 8.0 are monitored properly.

How to test

Just run relevant QAA jobs, no manual

How to document

Support matrix page update needed + RN

Attachments

1

is cloned by

relates to

Smart Checklist

hide

Activity

Show:

Nurlan Moldomurov November 13, 2024 at 10:42 AM

output of getDiagnosticData of mongo:8.0 and psmdb:8.0 are different that’s why we are facing this issue.

saikumar.vs November 13, 2024 at 5:47 AM
Edited

psmdb 8.0 is not added for monitoring and we are noticing below in the client logs,

time="2024-11-12T14:55:35.299+00:00" level=error msg="time=\"2024-11-12T14:55:35Z\" level=error msg=\"cannot retrieve engine type: Engine is unavailable\" collector=diagnostic_data" agentID=3e8f88a0-ace3-4c16-95f1-ccd545615547 component=agent-process type=agent_type_mongodb_exporter

on 3-dev-latest

Roma Novikov October 31, 2024 at 2:18 PM

I’m also added as related to Mongo8 changes

Done

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

No

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Smart Checklist Progress

Smart Checklist

Created October 28, 2024 at 11:20 AM
Updated December 2, 2024 at 3:05 PM
Resolved November 19, 2024 at 4:50 PM