Documentation ¶
Index ¶
- func GenerateID(rcvMsg TSDBpoint) string
- type BulkType
- type Collector
- func (collect *Collector) CheckTSID(esType, id string) (bool, gobol.Error)
- func (collect *Collector) CheckUDPbind() bool
- func (collect *Collector) HandlePacket(rcvMsg TSDBpoint, number bool) gobol.Error
- func (collector *Collector) HandleUDPpacket(buf []byte, addr string)
- func (collect *Collector) ReceivedErrorRatio() (ratio float64)
- func (collect *Collector) Scollector(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (collect *Collector) SetConsistencies(consistencies []gocql.Consistency)
- 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 Point
- type RestError
- type RestErrorUser
- type RestErrors
- type StructV2Error
- type TSDBpoint
- type TSDBpoints
- 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) HandlePacket ¶
func (*Collector) HandleUDPpacket ¶
func (*Collector) ReceivedErrorRatio ¶
func (*Collector) Scollector ¶
func (collect *Collector) Scollector(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Collector) SetConsistencies ¶
func (collect *Collector) SetConsistencies(consistencies []gocql.Consistency)
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 RestErrorUser struct { Datapoint TSDBpoint `json:"datapoint"` Error interface{} `json:"error"` }
type RestErrors ¶
type RestErrors struct { Errors []RestErrorUser `json:"errors"` Failed int `json:"failed"` Success int `json:"success"` }
type StructV2Error ¶
type TSDBpoints ¶
type TSDBpoints []TSDBpoint
func (TSDBpoints) Validate ¶
func (p TSDBpoints) Validate() gobol.Error
Click to show internal directories.
Click to hide internal directories.