Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds replication metrics to versions of MySQL older than 8.0.22 #35776

Merged

Conversation

StefanKurek
Copy link
Contributor

Description

Version of MySQL older than 8.0.22 use the show slave status vs show replica status view to retrieve replication metrics. This allows for both the newer & older views to work and retrieve data for the two actual replica metrics available (mysql.replica.time_behind_source & mysql.replica.sql_delay).

Link to tracking issue

Fixes #35217

Testing

Manual testing against MySQL versions 8.0, 8.0.37, & MariaDB Ver 15.1 Distrib 10.5.26-MariaDB

Documentation

None needed

@StefanKurek StefanKurek requested review from djaglowski and a team as code owners October 14, 2024 18:44
@StefanKurek StefanKurek force-pushed the feat/add-mysql-replica-metrics branch 2 times, most recently from 6b6f745 to fc23db1 Compare October 14, 2024 19:24
@StefanKurek StefanKurek force-pushed the feat/add-mysql-replica-metrics branch from fc23db1 to 8a5b0dc Compare October 14, 2024 19:53
@djaglowski djaglowski merged commit 7d02d77 into open-telemetry:main Oct 17, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 17, 2024
@StefanKurek StefanKurek deleted the feat/add-mysql-replica-metrics branch October 17, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver] mysql - Replication Metrics don't report before version 8.0.22
3 participants