Merge pull request #1198 from MastodonC/master

Adds docker labels to tags for influxdb storage
This commit is contained in:
Vish Kannan 2016-04-21 15:02:39 -07:00
commit 75195c38c8

View File

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