From 762b1e7a90004164e74a1f611b5bb7139fe11232 Mon Sep 17 00:00:00 2001 From: Florent Rivoire Date: Fri, 8 Nov 2024 15:15:02 +0100 Subject: [PATCH] info_schema_tables: do not collect the `sys` schema (#879) 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') ` )