Documentation ¶
Index ¶
- func GenerateID(rcvMsg *gorilla.TSDBpoint) string
- type BulkType
- type Collector
- func (collect *Collector) CheckUDPbind() bool
- func (collect *Collector) HandleGerr(ks string, returnPoints *RestErrors, rcvMsg gorilla.TSDBpoint, ...)
- func (collect *Collector) HandlePoint(points gorilla.TSDBpoints) (RestErrors, gobol.Error)
- func (collect *Collector) HandlePointUDP(point gorilla.TSDBpoint) gobol.Error
- func (collect *Collector) HandleTxtPacket(rcvMsg gorilla.TSDBpoint) gobol.Error
- func (collector *Collector) HandleUDPpacket(buf []byte, addr string)
- func (collect *Collector) ReceivedErrorRatio() float64
- func (collect *Collector) Scollector(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (collect *Collector) Stop()
- func (collect *Collector) Text(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type EsIndex
- type EsMetric
- type EsTagKey
- type EsTagValue
- type LogMeta
- type MetaInfo
- type RestError
- type RestErrorUser
- type RestErrors
- type StructV2Error
- type Tag
- type UDPv1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateID ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) CheckUDPbind ¶
func (*Collector) HandleGerr ¶
func (*Collector) HandlePoint ¶
func (collect *Collector) HandlePoint(points gorilla.TSDBpoints) (RestErrors, gobol.Error)
func (*Collector) HandlePointUDP ¶
func (*Collector) HandleTxtPacket ¶
func (*Collector) HandleUDPpacket ¶
func (*Collector) ReceivedErrorRatio ¶
func (*Collector) Scollector ¶
func (collect *Collector) Scollector(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Collector) Text ¶
func (collect *Collector) Text(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
type EsTagValue ¶
type EsTagValue struct {
Value string `json:"value"`
}
type RestErrorUser ¶
type RestErrors ¶
type RestErrors struct { Errors []RestErrorUser `json:"errors"` Failed int `json:"failed"` Success int `json:"success"` }
type StructV2Error ¶
Click to show internal directories.
Click to hide internal directories.