Update for newer API
This commit is contained in:
parent
bcb33d880e
commit
de9c1f50ea
2
agent.go
2
agent.go
|
@ -107,7 +107,7 @@ func (a *Agent) crank() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
acc.Tags = a.Config.Tags
|
acc.Tags = a.Config.Tags
|
||||||
acc.Timestamp = time.Now()
|
acc.Time = time.Now()
|
||||||
acc.Database = a.Config.Database
|
acc.Database = a.Config.Database
|
||||||
|
|
||||||
_, err := a.conn.Write(acc.BatchPoints)
|
_, err := a.conn.Write(acc.BatchPoints)
|
||||||
|
|
Loading…
Reference in New Issue