elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
112 stars 4.93k forks source link

[Metricbeat] Revisit MySQL module #16955

Open sorantis opened 4 years ago

sorantis commented 4 years ago

Today MySQL module collects many relevant metrics, however some are missing. E.g.

elasticmachine commented 4 years ago

Pinging @elastic/integrations-services (Team:Services)

tomsommer commented 4 years ago

You can add SHOW PROCESSLIST and per-user information from performance-schema to this.

sayden commented 4 years ago

Today MySQL module collects many relevant metrics, however some are missing. E.g.

* innodb rows {deleted, updated, read, inserted}

* slow queries

* row locks

* CPU time spent by MySQL process

* cache stats (`SHOW STATUS LIKE "qcache%"`), including cache size.

* buffer pool size (innodb_buffer_pool_size)

* connection errors (`SHOW GLOBAL STATUS LIKE 'Connection_errors%';`)

* database keyword to use for filtering

Opened PR here https://github.com/elastic/beats/pull/19844

You can add SHOW PROCESSLIST and per-user information from performance-schema to this.

Opened PR here https://github.com/elastic/beats/pull/19851