From 91452008422b0c6fd252f71631b64f6e76ecc239 Mon Sep 17 00:00:00 2001 From: Ling Jin Date: Tue, 13 Oct 2020 22:33:16 +0800 Subject: [PATCH] tsdb: fix unkown ref in log (#8048) Signed-off-by: JinLingChristopher --- tsdb/head.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/head.go b/tsdb/head.go index 019991e0f..3a577763d 100644 --- a/tsdb/head.go +++ b/tsdb/head.go @@ -626,7 +626,7 @@ Outer: } if unknownRefs.Load() > 0 { - level.Warn(h.logger).Log("msg", "Unknown series references", "count", unknownRefs) + level.Warn(h.logger).Log("msg", "Unknown series references", "count", unknownRefs.Load()) } return nil }