Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
fix(input/louts_plugin): requires > 0 metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist committed Aug 29, 2020
1 parent c5b1d8a commit ecf228b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/inputs/lotus/lotus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ecf228b

Please sign in to comment.