Documentation ¶
Index ¶
Constants ¶
View Source
const ( BUFFER_SIZE = 128 // An ext_metrics message is usually very large, so use a smaller value than usual TELEGRAF_POD = "pod_name" VTABLE_PREFIX_TELEGRAF = "influxdb." )
Variables ¶
This section is empty.
Functions ¶
func StatsToExtMetrics ¶
func StatsToExtMetrics(vtapID uint16, s *pb.Stats) *dbwriter.ExtMetrics
Types ¶
type Decoder ¶
func NewDecoder ¶
func NewDecoder( index int, msgType datatype.MessageType, platformData *grpc.PlatformInfoTable, inQueue queue.QueueReader, extMetricsWriter *dbwriter.ExtMetricsWriter, config *config.Config, ) *Decoder
func (*Decoder) GetCounter ¶
func (d *Decoder) GetCounter() interface{}
func (*Decoder) PointToExtMetrics ¶
Click to show internal directories.
Click to hide internal directories.