Documentation ¶
Index ¶
- Constants
- func GenerateID(rcvMsg TSDBpoint) string
- type BulkType
- type Collector
- func (collect *Collector) HandleNumber(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (collect *Collector) HandleNumberTelnetFormat(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (collect *Collector) HandlePacket(rcvMsg TSDBpoint, vp *Point, number bool, source string, ...)
- func (collect *Collector) HandleText(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (collector *Collector) HandleUDPpacket(buf []byte, addr string)
- func (collect *Collector) ReceivedErrorRatio() (ratio float64)
- func (collect *Collector) Stop()
- 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
Constants ¶
View Source
const (
SECOND int64 = 1000000000
)
Variables ¶
This section is empty.
Functions ¶
func GenerateID ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) HandleNumber ¶
func (collect *Collector) HandleNumber(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Collector) HandleNumberTelnetFormat ¶
func (collect *Collector) HandleNumberTelnetFormat(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Collector) HandlePacket ¶
func (*Collector) HandleText ¶
func (collect *Collector) HandleText(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Collector) HandleUDPpacket ¶
func (*Collector) ReceivedErrorRatio ¶
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.