Skip to content

Commit 75195c3

Browse files
committed
Merge pull request #1198 from MastodonC/master
Adds docker labels to tags for influxdb storage
2 parents 750f18e + a2128c6 commit 75195c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/influxdb/influxdb.go

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ func (self *influxdbStorage) tagPoints(ref info.ContainerReference, stats *info.
162162
for i := 0; i < len(points); i++ {
163163
// merge with existing tags if any
164164
addTagsToPoint(points[i], commonTags)
165+
addTagsToPoint(points[i], ref.Labels)
165166
points[i].Time = stats.Timestamp
166167
}
167168
}

0 commit comments

Comments
 (0)