Skip to content

Commit

Permalink
info_schema_tables: do not collect the sys schema (#879)
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Rivoire <frivoire@users.noreply.github.com>
  • Loading branch information
frivoire authored Nov 8, 2024
1 parent 8f88a60 commit 762b1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/info_schema_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const (
SELECT
SCHEMA_NAME
FROM information_schema.schemata
WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema')
WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema', 'sys')
`
)

Expand Down

0 comments on commit 762b1e7

Please sign in to comment.