From ecf228bad68d75ab8d19d41c261944860e513297 Mon Sep 17 00:00:00 2001 From: frrist Date: Fri, 28 Aug 2020 17:19:56 -0700 Subject: [PATCH] fix(input/louts_plugin): requires > 0 metrics --- plugins/inputs/lotus/lotus.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/inputs/lotus/lotus.go b/plugins/inputs/lotus/lotus.go index 85a77eb6..665a5170 100644 --- a/plugins/inputs/lotus/lotus.go +++ b/plugins/inputs/lotus/lotus.go @@ -295,7 +295,9 @@ func (l *lotus) recordLotusInfoPoints(ctx context.Context, acc telegraf.Accumula } acc.AddFields("lotus_info", - map[string]interface{}{}, + map[string]interface{}{ + "nothing": 0, + }, map[string]string{ "api_version": v.APIVersion.String(), "commit": commit,