Add labels to tags in influxdb
This commit is contained in:
parent
de1bd289cb
commit
a2128c6efa
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user