Skip to content

Commit 08f62ee

Browse files
authored
Disable info_schema.tables collector by default (#406)
`info_schema.tables` has a danger of excessive cardinality, disable by default. Signed-off-by: Ben Kochie <superq@gmail.com>
1 parent 839daf4 commit 08f62ee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
The minimum supported MySQL version is now 5.5.
66

7+
Collector `info_schema.tables` is now disabled by default due to high cardinality danger.
8+
79
### Changes:
810

911
* [CHANGE]
@@ -13,6 +15,7 @@ The minimum supported MySQL version is now 5.5.
1315

1416
* [CHANGE] Update innodb buffer pool mappings #369
1517
* [CHANGE] Update defaults for MySQL 5.5 #318
18+
* [CHANGE] Disable info_schema.tables collector by default #406
1619
* [BUGFIX] Sanitize metric names in global variables #307
1720
* [BUGFIX] Clear last_scrape_error on every scrape (PR #368) #367
1821
* [FEATURE] Add by_user and by_host metrics to info_schema.processlist collector (PR #333) #334

mysqld_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var scrapers = map[collector.Scraper]bool{
6363
collector.ScrapeSlaveStatus{}: true,
6464
collector.ScrapeProcesslist{}: false,
6565
collector.ScrapeUser{}: false,
66-
collector.ScrapeTableSchema{}: true,
66+
collector.ScrapeTableSchema{}: false,
6767
collector.ScrapeInfoSchemaInnodbTablespaces{}: false,
6868
collector.ScrapeInnodbMetrics{}: false,
6969
collector.ScrapeAutoIncrementColumns{}: false,

0 commit comments

Comments
 (0)