Monitored DB Services count is wrong in PMM3

Description

The “Services per DB” panel in home dashboard relies on these type of expressions to get the count of number of services per DB:

However in PMM 3, the job names don’t have the exporter_agent_id string anymore, so the count is not properly calculated.

Please fix the expression so that number of services per DB is properly calculated.

How to test

FB -


Check the “Services per DB” count on the home dashboard.

Check the “Services” on the Experimental-> Environment overview dashboard

How to document

None

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Sprint

Affects versions

Start date

Due date

Smart Checklist

Created February 13, 2025 at 12:54 PM
Updated March 31, 2025 at 3:34 PM
Resolved March 11, 2025 at 10:51 AM