Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteReadScanner ¶
type ByteReadScanner interface {
io.Reader
io.ByteScanner
}
ByteReadScanner is capable of reading and scanning bytes.
type UnaggregatedMessageType ¶
type UnaggregatedMessageType int
UnaggregatedMessageType is the unaggregated message type.
const ( UnknownMessageType UnaggregatedMessageType = iota CounterWithMetadatasType BatchTimerWithMetadatasType GaugeWithMetadatasType ForwardedMetricWithMetadataType TimedMetricWithMetadataType TimedMetricWithMetadatasType PassthroughMetricWithMetadataType )
A list of supported unaggregated message type.
type UnaggregatedMessageUnion ¶
type UnaggregatedMessageUnion struct {
Type UnaggregatedMessageType
CounterWithMetadatas unaggregated.CounterWithMetadatas
BatchTimerWithMetadatas unaggregated.BatchTimerWithMetadatas
GaugeWithMetadatas unaggregated.GaugeWithMetadatas
ForwardedMetricWithMetadata aggregated.ForwardedMetricWithMetadata
TimedMetricWithMetadata aggregated.TimedMetricWithMetadata
TimedMetricWithMetadatas aggregated.TimedMetricWithMetadatas
PassthroughMetricWithMetadata aggregated.PassthroughMetricWithMetadata
}
UnaggregatedMessageUnion is a union of different types of unaggregated messages. A message union may contain at most one type of message that is determined by the `Type` field of the union, which in turn determines which one of the field in the union contains the corresponding message data.