Skip to content

Commit

Permalink
added timestamp to metrics on device birth
Browse files Browse the repository at this point in the history
  • Loading branch information
joyja committed Sep 22, 2020
1 parent a7dbb06 commit 312e5d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/service/mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class Mqtt extends Model {
name: source.tag.name,
value: `${source.tag.value}`,
type: source.tag.datatype,
timestamp: getTime(new Date()),
}
}),
})
Expand Down

0 comments on commit 312e5d1

Please sign in to comment.