Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Remove empty tag set from info page #334

Merged
merged 1 commit into from
Nov 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion agent/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ func updateReceiverStats(rs *receiverStats) {

s := make([]tagStats, 0, len(rs.Stats))
for _, tagStats := range rs.Stats {
s = append(s, *tagStats)
if !tagStats.isEmpty() {
s = append(s, *tagStats)
}
}

infoReceiverStats = s
Expand Down