func NewEvent() *Event {
	event := new(Event)
	event.TimeMetrics = make(map[string]float64)
	event.NumberMetrics = make(map[string]uint64)
	event.BoolMetrics = make(map[string]bool)
	return event
}
NewEvent returns a new Event with initialized metric maps.
package log
import (
	"time"
)
type Event struct {
	Offset        uint64     
	OffsetEnd     uint64     
	Ts            time.Time  
	Admin         bool       
	Query         string     
	User          string
	Host          string
	Db            string
	Server        string
	LabelsKey     []string
	LabelsValue   []string
	TimeMetrics   map[string]float64  
	NumberMetrics map[string]uint64   
	BoolMetrics   map[string]bool     
	RateType      string              
	RateLimit     uint                
}