[Telemetry] Datapoints for MySQL

Description

In scope of this ticket we have to implement next datapoints:

  1. Basic MySQL Configuration. what is innodb_buffer_pool size?. Datapoint Name: mysql_global_variables_innodb_buffer_pool_size

  2. Server Load. what is average threads_running during last day?. Datapoint Name: mysql_global_status_threads_running

  3. Number queries per second during last day. Datapoint Name: mysql_global_status_queries_running

  4. Data usage. How big is MySQL database under management? Datapoint Name: mysql_global_data_usage

How to test

Use this feature build for testing https://github.com/percona/pmm/pull/1215

How to document

None

Attachments

1
  • 22 Sep 2022, 08:28 PM

Smart Checklist

Activity

Show:

Ihor Cherkasov September 22, 2022 at 8:28 PM

Verified on FB – https://github.com/Percona-Lab/pmm-submodules/pull/2777#issuecomment-1254763622

 

Now I see following metrics in PMM ManageD logs:

  • mysql_global_variables_innodb_buffer_pool_size

  • mysql_global_status_threads_running

  • mysql_global_status_queries_running

  • mysql_innodb_space_used

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Smart Checklist

Created September 6, 2022 at 1:46 PM
Updated November 10, 2022 at 3:08 PM
Resolved November 9, 2022 at 8:11 AM