Documentation ¶
Index ¶
Constants ¶
View Source
const ( BUFFER_SIZE = 1024 L7_PROTO_MAX = datatype.L7_PROTOCOL_DNS + 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { RawCount int64 `statsd:"raw-count"` L7HTTPCount int64 `statsd:"l7-http-count"` L7HTTPDropCount int64 `statsd:"l7-http-drop-count"` L7DNSCount int64 `statsd:"l7-dns-count"` L7DNSDropCount int64 `statsd:"l7-dns-drop-count"` L7SQLCount int64 `statsd:"l7-sql-count"` L7SQLDropCount int64 `statsd:"l7-sql-drop-count"` L7NoSQLCount int64 `statsd:"l7-nosql-count"` L7NoSQLDropCount int64 `statsd:"l7-nosql-drop-count"` L7RPCCount int64 `statsd:"l7-rpc-count"` L7RPCDropCount int64 `statsd:"l7-rpc-drop-count"` L7MQCount int64 `statsd:"l7-mq-count"` L7MQDropCount int64 `statsd:"l7-mq-drop-count"` ErrorCount int64 `statsd:"err-count"` Count int64 `statsd:"count"` DropCount int64 `statsd:"drop-count"` TotalTime int64 `statsd:"total-time"` AvgTime int64 `statsd:"avg-time"` }
type Decoder ¶
func NewDecoder ¶
func NewDecoder( index int, msgType datatype.MessageType, platformData *grpc.PlatformInfoTable, inQueue queue.QueueReader, throttler *throttler.ThrottlingQueue, flowTagWriter *flow_tag.FlowTagWriter, appServiceTagWriter *flow_tag.AppServiceTagWriter, spanWriter *dbwriter.SpanWriter, exporters *exporters.Exporters, cfg *config.Config, ) *Decoder
func (*Decoder) GetCounter ¶
func (d *Decoder) GetCounter() interface{}
func (*Decoder) GetLastCounter ¶
Click to show internal directories.
Click to hide internal directories.