manda solo la data ad influxdb
This commit is contained in:
parent
1b1736a2e4
commit
9c7006dcea
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ func writeStats(start time.Time, ys time.Time) {
|
|||
fields := map[string]interface{}{
|
||||
"LoginOK": idb.CountOK,
|
||||
"LoginTOT": idb.CountTOT,
|
||||
"start": ys,
|
||||
"start": ys.Format(_tformat),
|
||||
"stop": idb.Stop.Seconds(),
|
||||
"pipe": idb.Pipe.Nanoseconds(),
|
||||
"find": idb.Find.Nanoseconds(),
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
_VERSION = "v1.3.2"
|
||||
_VERSION = "v1.3.3"
|
||||
_tformat = "2006-01-02"
|
||||
_24h = (time.Hour * 23) + (time.Minute * 59) + (time.Second * 59)
|
||||
_10m = (time.Minute * 10)
|
||||
|
|
Loading…
Add table
Reference in a new issue