From f60b3e5b01a9317363c13fb0eea011f5dfa406ed 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 9818cc6e..bb97a59f 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') ` )