elastic / elastic/beats

[Metricbeat] Revisit MySQL module

Open
#16,955 3 comments 1 reaction 0 assignees View on GitHub
enhancement Metricbeat Team:Service-Integrations
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 1h
Merged PRs (30d)
370

Description

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

Contributor guide

Open the contributing guide

Research direction

Start in the Metricbeat MySQL module and compare its existing collection with the requested InnoDB, slow-query, row-lock, CPU, cache, buffer-pool, connection-error, and database-filtering metrics. Done means the listed MySQL values are collected and the database keyword can be used for filtering; validate the relevant SHOW STATUS queries and configuration value.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, mysql
Domain
databases, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.