Add collector for performance_schema.processlist#1032
Open
rouize wants to merge 6 commits into
Open
Conversation
Add performance_schema.processlist for Mysql >= 8.0 Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
Signed-off-by: rouize <73630347+rouize@users.noreply.github.com>
SuperQ
requested changes
Jul 12, 2026
| @@ -0,0 +1,98 @@ | |||
| // Copyright 2021 The Prometheus Authors | |||
Member
There was a problem hiding this comment.
Suggested change
| // Copyright 2021 The Prometheus Authors | |
| // Copyright The Prometheus Authors |
| @@ -0,0 +1,201 @@ | |||
| // Copyright 2018 The Prometheus Authors | |||
Member
There was a problem hiding this comment.
Suggested change
| // Copyright 2018 The Prometheus Authors | |
| // Copyright The Prometheus Authors |
| ) | ||
|
|
||
| // ScrapeUser collects from `information_schema.processlist`. | ||
| // ScrapeUser collects from `information_schema.processlist` or `performance_schema.processlist`. |
Member
There was a problem hiding this comment.
This is actually a typo.
Suggested change
| // ScrapeUser collects from `information_schema.processlist` or `performance_schema.processlist`. | |
| // ScrapeUser collects from `mysql.user`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since MySQL 8.0, the information_schema.processlist has been deprecated.
Request to add a scraper for the performance_schema.processlist
Refer to the following document:
https://dev.mysql.com/doc/refman/8.0/en/processlist-access.html
https://dev.mysql.com/doc/refman/8.0/en/information-schema-processlist-table.html
https://dev.mysql.com/doc/refman/8.0/en/performance-schema-processlist-table.html