From fdf1c292245ea48fb3c013657c5699663036277f Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Wed, 21 Oct 2020 14:35:40 +0100 Subject: [PATCH] Fix metric description of prometheus_tsdb_symbol_table_size_bytes. (#8080) This is how much memory we use to load in the on-disk symbol tables, not the size of the tables themselves. Signed-off-by: Brian Brazil --- tsdb/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db.go b/tsdb/db.go index 94cd401bb..213a44122 100644 --- a/tsdb/db.go +++ b/tsdb/db.go @@ -199,7 +199,7 @@ func newDBMetrics(db *DB, r prometheus.Registerer) *dbMetrics { }) m.symbolTableSize = prometheus.NewGaugeFunc(prometheus.GaugeOpts{ Name: "prometheus_tsdb_symbol_table_size_bytes", - Help: "Size of symbol table on disk (in bytes)", + Help: "Size of symbol table in memory for loaded blocks", }, func() float64 { db.mtx.RLock() blocks := db.blocks[:]