Fix import of global stats
Use uin32 instead of float64
This commit is contained in:
parent
2068d2b1a1
commit
55991260b0
4
main.go
4
main.go
@ -86,8 +86,8 @@ func importRRD(path string) {
|
|||||||
database.MeasurementGlobal,
|
database.MeasurementGlobal,
|
||||||
nil,
|
nil,
|
||||||
map[string]interface{}{
|
map[string]interface{}{
|
||||||
"nodes": ds.Nodes,
|
"nodes": uint32(ds.Nodes),
|
||||||
"clients.total": ds.Clients,
|
"clients.total": uint32(ds.Clients),
|
||||||
},
|
},
|
||||||
ds.Time,
|
ds.Time,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user