Merge pull request #1198 from MastodonC/master
Adds docker labels to tags for influxdb storage
This commit is contained in:
commit
75195c38c8
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user