Skip to content

Review regex declarations in innodb and global variables collectors - #941

Merged
cristiangreco merged 3 commits into
mainfrom
cristian/fix-regex-vars
Jun 26, 2025
Merged

cristiangreco merged 3 commits into
mainfrom
cristian/fix-regex-vars

Conversation

@cristiangreco

Copy link
Copy Markdown
Contributor

Move regex vars to package level to avoid re-compilation on each scrape.

@cristiangreco
cristiangreco force-pushed the cristian/fix-regex-vars branch from c2d2222 to 435a092 Compare March 28, 2025 14:30
@cristiangreco
cristiangreco requested a review from SuperQ March 28, 2025 14:32
Comment thread collector/engine_innodb.go Outdated

@SuperQ SuperQ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit about naming, otherwise LGTM

cristiangreco and others added 3 commits June 26, 2025 18:36
Move regex vars to package level to avoid re-compilation on each scrape.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Signed-off-by: Cristian Greco <cristian@regolo.cc>
@cristiangreco
cristiangreco force-pushed the cristian/fix-regex-vars branch from 9438693 to 3a7fcf4 Compare June 26, 2025 16:36
@cristiangreco
cristiangreco merged commit 00e6947 into main Jun 26, 2025
@cristiangreco
cristiangreco deleted the cristian/fix-regex-vars branch June 26, 2025 16:49
@SuperQ SuperQ mentioned this pull request Sep 26, 2025
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