From 1a62010186376b7009a71f25db2dd19075076721 Mon Sep 17 00:00:00 2001 From: Florent Rivoire Date: Wed, 2 Oct 2024 17:37:14 +0200 Subject: [PATCH] info_schema_tables: do not collect the `sys` schema Signed-off-by: Florent Rivoire --- collector/info_schema_tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/info_schema_tables.go b/collector/info_schema_tables.go index d5537561..773a5118 100644 --- a/collector/info_schema_tables.go +++ b/collector/info_schema_tables.go @@ -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') ` )