feat(db): add node tag for influx
Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
@@ -141,6 +141,7 @@ func main() {
|
|||||||
influxTags := []point.Topic{
|
influxTags := []point.Topic{
|
||||||
{Subject: "campus", Content: campus},
|
{Subject: "campus", Content: campus},
|
||||||
{Subject: "room", Content: room},
|
{Subject: "room", Content: room},
|
||||||
|
{Subject: "node", Content: nodeID},
|
||||||
}
|
}
|
||||||
translatedDp := provenceMeasurement.CreateDataPoint(influxTags, dp.GetValues(), dp.Timestamp())
|
translatedDp := provenceMeasurement.CreateDataPoint(influxTags, dp.GetValues(), dp.Timestamp())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user