Add labels to tags in influxdb

This commit is contained in:
Antony Woods 2016-04-06 15:41:35 +01:00 committed by Elise Huard
parent de1bd289cb
commit a2128c6efa

View File

@ -162,6 +162,7 @@ func (self *influxdbStorage) tagPoints(ref info.ContainerReference, stats *info.
for i := 0; i < len(points); i++ { for i := 0; i < len(points); i++ {
// merge with existing tags if any // merge with existing tags if any
addTagsToPoint(points[i], commonTags) addTagsToPoint(points[i], commonTags)
addTagsToPoint(points[i], ref.Labels)
points[i].Time = stats.Timestamp points[i].Time = stats.Timestamp
} }
} }