Gather statistics on mysqld_exporter collection performance

Description

In order to troubleshoot scraping issues reported by users, it would be helpful to also provide metrics on how long each collector took.

Now we are in the dark if we want to figure this out

That way we can pinpoint which query was taking so long to collect.

I created the ticket in github as well: https://github.com/prometheus/mysqld_exporter/issues/188

How to test

None

How to document

None

Attachments

2

Smart Checklist

Activity

Roma Novikov February 14, 2018 at 10:49 PM

thanks. Closing it 

Roma Novikov February 14, 2018 at 10:49 PM

Kenny Gryp February 14, 2018 at 9:55 PM

Works great, Thanks!

 

See attachment for example

 

Roma Novikov February 12, 2018 at 3:36 PM

, can you check this and confirm that metrics exist and we can close this issue.  thanks  

Kamil Dziedzic February 12, 2018 at 3:33 PM

Done

Details

Assignee

Reporter

Priority

Components

Fix versions

Smart Checklist

Created March 16, 2017 at 11:40 AM
Updated November 13, 2024 at 9:45 AM
Resolved February 14, 2018 at 10:49 PM