Skip to content

Commit a5a6dc0

Browse files
committed
Sanitize command
Signed-off-by: Roman Vynar <[email protected]>
1 parent 689fc87 commit a5a6dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/info_schema_processlist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (ScrapeProcesslist) Scrape(ctx context.Context, db *sql.DB, ch chan<- prome
127127
if err != nil {
128128
return err
129129
}
130-
command = strings.ToLower(command)
130+
command = sanitizeState(command)
131131
state = sanitizeState(state)
132132
if host == "" {
133133
host = "blank"

0 commit comments

Comments
 (0)