Skip to content

Commit a2128c6

Browse files
Antony Woodselisehuard
Antony Woods
authored andcommitted
Add labels to tags in influxdb
1 parent de1bd28 commit a2128c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/influxdb/influxdb.go

Lines changed: 1 addition & 0 deletions
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)