Skip to content

Commit

Permalink
add identifier to events
Browse files Browse the repository at this point in the history
  • Loading branch information
gewo committed Dec 14, 2015
1 parent 29f8bda commit e255163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (mw *NewRelicMiddleware) MiddlewareFunc(handler rest.HandlerFunc) rest.Hand
type Event struct {
Id int64 `json:"id"`
DeviceId string `sql:"size:40" json:"deviceId"`
Identifier string `sql:"size:6" json:"identifier"`
MeasuredAt time.Time `json:"measuredAt"`
Measurement string `sql:"size:1024" json:"measurement"`
Value float64 `json:"value"`
Expand Down

0 comments on commit e255163

Please sign in to comment.