Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricTypeCounter = 0 MetricTypeGauge = 1 MetricTypeHistogram = 2 )
Variables ¶
View Source
var ( ErrorStatusNotFound = errors.New("error status returned by host: not found") ErrorStatusBadArgument = errors.New("error status returned by host: bad argument") ErrorStatusEmpty = errors.New("error status returned by host: empty") ErrorStatusCasMismatch = errors.New("error status returned by host: cas mismatch") ErrorInternalFailure = errors.New("error status returned by host: internal failure") )
Functions ¶
func StatusToError ¶
Types ¶
type BufferType ¶
type BufferType uint32
const ( BufferTypeHttpRequestBody BufferType = 0 BufferTypeHttpResponseBody BufferType = 1 BufferTypeDownstreamData BufferType = 2 BufferTypeUpstreamData BufferType = 3 BufferTypeHttpCallResponseBody BufferType = 4 BufferTypeGrpcReceiveBuffer BufferType = 5 BufferTypeVMConfiguration BufferType = 6 BufferTypePluginConfiguration BufferType = 7 BufferTypeCallData BufferType = 8 )
type MetricType ¶
type MetricType uint32
type StreamType ¶
type StreamType uint32
const ( StreamTypeRequest StreamType = 0 StreamTypeResponse StreamType = 1 )
Click to show internal directories.
Click to hide internal directories.