Skip to content

Refactor mysqld_exporter to make it re-usable as a Go library - #1043

Open
ArthurSens wants to merge 9 commits into
mainfrom
refactor
Open

Refactor mysqld_exporter to make it re-usable as a Go library#1043
ArthurSens wants to merge 9 commits into
mainfrom
refactor

Conversation

@ArthurSens

Copy link
Copy Markdown
Member

Refactors the mysqld_exporter, following the guidelines documented here.

The goal is to facilitate the use case where mysql_exporter runs as part of other applications, using mysqld_exporter as a Go library.

@macabu macabu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously not familiar with the codebase so take everything with a big grain of salt 😃

Comment thread collector/runtime.go
Comment thread collector/runtime.go Outdated
Comment thread collector/runtime.go Outdated
Comment thread config/config.go Outdated
Comment thread config/config.go Outdated
Comment thread config/config.go Outdated
Comment thread mysqld_exporter.go
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
@ArthurSens

Copy link
Copy Markdown
Member Author

Thanks for the review @macabu , I believe I've addressed most of the comments!

@ArthurSens
ArthurSens requested a review from macabu September 11, 2026 14:13

@macabu macabu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@ArthurSens
ArthurSens requested a review from SuperQ September 11, 2026 18:43
@ArthurSens

Copy link
Copy Markdown
Member Author

@SuperQ, wanna take a look?

Things looks mostly ready to be merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants