metrics

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMetricsquery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetricsquery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMetricsquery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpenmetrics        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpenmetrics          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpenmetrics = fmt.Errorf("proto: unexpected end of group")
)
View Source
var MetricType_name = map[int32]string{
	0: "UNKNOWN",
	1: "GAUGE",
	2: "COUNTER",
	3: "STATE_SET",
	4: "INFO",
	5: "HISTOGRAM",
	6: "GAUGE_HISTOGRAM",
	7: "SUMMARY",
}
View Source
var MetricType_value = map[string]int32{
	"UNKNOWN":         0,
	"GAUGE":           1,
	"COUNTER":         2,
	"STATE_SET":       3,
	"INFO":            4,
	"HISTOGRAM":       5,
	"GAUGE_HISTOGRAM": 6,
	"SUMMARY":         7,
}
View Source
var SpanKind_name = map[int32]string{
	0: "SPAN_KIND_UNSPECIFIED",
	1: "SPAN_KIND_INTERNAL",
	2: "SPAN_KIND_SERVER",
	3: "SPAN_KIND_CLIENT",
	4: "SPAN_KIND_PRODUCER",
	5: "SPAN_KIND_CONSUMER",
}
View Source
var SpanKind_value = map[string]int32{
	"SPAN_KIND_UNSPECIFIED": 0,
	"SPAN_KIND_INTERNAL":    1,
	"SPAN_KIND_SERVER":      2,
	"SPAN_KIND_CLIENT":      3,
	"SPAN_KIND_PRODUCER":    4,
	"SPAN_KIND_CONSUMER":    5,
}

Functions

func RegisterMetricsQueryServiceServer

func RegisterMetricsQueryServiceServer(s *grpc.Server, srv MetricsQueryServiceServer)

Types

type CounterValue

type CounterValue struct {
	// Required.
	//
	// Types that are valid to be assigned to Total:
	//	*CounterValue_DoubleValue
	//	*CounterValue_IntValue
	Total isCounterValue_Total `protobuf_oneof:"total"`
	// The time values began being collected for this counter.
	// Optional.
	Created *types.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	// Optional.
	Exemplar             *Exemplar `protobuf:"bytes,4,opt,name=exemplar,proto3" json:"exemplar,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Value for COUNTER MetricPoint.

func (*CounterValue) Descriptor

func (*CounterValue) Descriptor() ([]byte, []int)

func (*CounterValue) GetCreated

func (m *CounterValue) GetCreated() *types.Timestamp

func (*CounterValue) GetDoubleValue

func (m *CounterValue) GetDoubleValue() float64

func (*CounterValue) GetExemplar

func (m *CounterValue) GetExemplar() *Exemplar

func (*CounterValue) GetIntValue

func (m *CounterValue) GetIntValue() uint64

func (*CounterValue) GetTotal

func (m *CounterValue) GetTotal() isCounterValue_Total

func (*CounterValue) Marshal

func (m *CounterValue) Marshal() (dAtA []byte, err error)

func (*CounterValue) MarshalTo

func (m *CounterValue) MarshalTo(dAtA []byte) (int, error)

func (*CounterValue) MarshalToSizedBuffer added in v1.24.0

func (m *CounterValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CounterValue) ProtoMessage

func (*CounterValue) ProtoMessage()

func (*CounterValue) Reset

func (m *CounterValue) Reset()

func (*CounterValue) Size

func (m *CounterValue) Size() (n int)

func (*CounterValue) String

func (m *CounterValue) String() string

func (*CounterValue) Unmarshal

func (m *CounterValue) Unmarshal(dAtA []byte) error

func (*CounterValue) XXX_DiscardUnknown

func (m *CounterValue) XXX_DiscardUnknown()

func (*CounterValue) XXX_Marshal

func (m *CounterValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CounterValue) XXX_Merge

func (m *CounterValue) XXX_Merge(src proto.Message)

func (*CounterValue) XXX_OneofWrappers added in v1.24.0

func (*CounterValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CounterValue) XXX_Size

func (m *CounterValue) XXX_Size() int

func (*CounterValue) XXX_Unmarshal

func (m *CounterValue) XXX_Unmarshal(b []byte) error

type CounterValue_DoubleValue

type CounterValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*CounterValue_DoubleValue) MarshalTo

func (m *CounterValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*CounterValue_DoubleValue) MarshalToSizedBuffer added in v1.24.0

func (m *CounterValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CounterValue_DoubleValue) Size

func (m *CounterValue_DoubleValue) Size() (n int)

type CounterValue_IntValue

type CounterValue_IntValue struct {
	IntValue uint64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*CounterValue_IntValue) MarshalTo

func (m *CounterValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*CounterValue_IntValue) MarshalToSizedBuffer added in v1.24.0

func (m *CounterValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CounterValue_IntValue) Size

func (m *CounterValue_IntValue) Size() (n int)

type Exemplar

type Exemplar struct {
	// Required.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Optional.
	Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Labels are additional information about the exemplar value (e.g. trace id).
	// Optional.
	Label                []*Label `protobuf:"bytes,3,rep,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Exemplar) Descriptor

func (*Exemplar) Descriptor() ([]byte, []int)

func (*Exemplar) GetLabel

func (m *Exemplar) GetLabel() []*Label

func (*Exemplar) GetTimestamp

func (m *Exemplar) GetTimestamp() *types.Timestamp

func (*Exemplar) GetValue

func (m *Exemplar) GetValue() float64

func (*Exemplar) Marshal

func (m *Exemplar) Marshal() (dAtA []byte, err error)

func (*Exemplar) MarshalTo

func (m *Exemplar) MarshalTo(dAtA []byte) (int, error)

func (*Exemplar) MarshalToSizedBuffer added in v1.24.0

func (m *Exemplar) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Exemplar) ProtoMessage

func (*Exemplar) ProtoMessage()

func (*Exemplar) Reset

func (m *Exemplar) Reset()

func (*Exemplar) Size

func (m *Exemplar) Size() (n int)

func (*Exemplar) String

func (m *Exemplar) String() string

func (*Exemplar) Unmarshal

func (m *Exemplar) Unmarshal(dAtA []byte) error

func (*Exemplar) XXX_DiscardUnknown

func (m *Exemplar) XXX_DiscardUnknown()

func (*Exemplar) XXX_Marshal

func (m *Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Exemplar) XXX_Merge

func (m *Exemplar) XXX_Merge(src proto.Message)

func (*Exemplar) XXX_Size

func (m *Exemplar) XXX_Size() int

func (*Exemplar) XXX_Unmarshal

func (m *Exemplar) XXX_Unmarshal(b []byte) error

type GaugeValue

type GaugeValue struct {
	// Required.
	//
	// Types that are valid to be assigned to Value:
	//	*GaugeValue_DoubleValue
	//	*GaugeValue_IntValue
	Value                isGaugeValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Value for GAUGE MetricPoint.

func (*GaugeValue) Descriptor

func (*GaugeValue) Descriptor() ([]byte, []int)

func (*GaugeValue) GetDoubleValue

func (m *GaugeValue) GetDoubleValue() float64

func (*GaugeValue) GetIntValue

func (m *GaugeValue) GetIntValue() int64

func (*GaugeValue) GetValue

func (m *GaugeValue) GetValue() isGaugeValue_Value

func (*GaugeValue) Marshal

func (m *GaugeValue) Marshal() (dAtA []byte, err error)

func (*GaugeValue) MarshalTo

func (m *GaugeValue) MarshalTo(dAtA []byte) (int, error)

func (*GaugeValue) MarshalToSizedBuffer added in v1.24.0

func (m *GaugeValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GaugeValue) ProtoMessage

func (*GaugeValue) ProtoMessage()

func (*GaugeValue) Reset

func (m *GaugeValue) Reset()

func (*GaugeValue) Size

func (m *GaugeValue) Size() (n int)

func (*GaugeValue) String

func (m *GaugeValue) String() string

func (*GaugeValue) Unmarshal

func (m *GaugeValue) Unmarshal(dAtA []byte) error

func (*GaugeValue) XXX_DiscardUnknown

func (m *GaugeValue) XXX_DiscardUnknown()

func (*GaugeValue) XXX_Marshal

func (m *GaugeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GaugeValue) XXX_Merge

func (m *GaugeValue) XXX_Merge(src proto.Message)

func (*GaugeValue) XXX_OneofWrappers added in v1.24.0

func (*GaugeValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GaugeValue) XXX_Size

func (m *GaugeValue) XXX_Size() int

func (*GaugeValue) XXX_Unmarshal

func (m *GaugeValue) XXX_Unmarshal(b []byte) error

type GaugeValue_DoubleValue

type GaugeValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*GaugeValue_DoubleValue) MarshalTo

func (m *GaugeValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*GaugeValue_DoubleValue) MarshalToSizedBuffer added in v1.24.0

func (m *GaugeValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GaugeValue_DoubleValue) Size

func (m *GaugeValue_DoubleValue) Size() (n int)

type GaugeValue_IntValue

type GaugeValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*GaugeValue_IntValue) MarshalTo

func (m *GaugeValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*GaugeValue_IntValue) MarshalToSizedBuffer added in v1.24.0

func (m *GaugeValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GaugeValue_IntValue) Size

func (m *GaugeValue_IntValue) Size() (n int)

type GetCallRatesRequest

type GetCallRatesRequest struct {
	BaseRequest          *MetricsQueryBaseRequest `protobuf:"bytes,1,opt,name=baseRequest,proto3" json:"baseRequest,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

GetCallRatesRequest contains parameters for the GetCallRates RPC call.

func (*GetCallRatesRequest) Descriptor

func (*GetCallRatesRequest) Descriptor() ([]byte, []int)

func (*GetCallRatesRequest) GetBaseRequest

func (m *GetCallRatesRequest) GetBaseRequest() *MetricsQueryBaseRequest

func (*GetCallRatesRequest) Marshal

func (m *GetCallRatesRequest) Marshal() (dAtA []byte, err error)

func (*GetCallRatesRequest) MarshalTo

func (m *GetCallRatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetCallRatesRequest) MarshalToSizedBuffer added in v1.24.0

func (m *GetCallRatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetCallRatesRequest) ProtoMessage

func (*GetCallRatesRequest) ProtoMessage()

func (*GetCallRatesRequest) Reset

func (m *GetCallRatesRequest) Reset()

func (*GetCallRatesRequest) Size

func (m *GetCallRatesRequest) Size() (n int)

func (*GetCallRatesRequest) String

func (m *GetCallRatesRequest) String() string

func (*GetCallRatesRequest) Unmarshal

func (m *GetCallRatesRequest) Unmarshal(dAtA []byte) error

func (*GetCallRatesRequest) XXX_DiscardUnknown

func (m *GetCallRatesRequest) XXX_DiscardUnknown()

func (*GetCallRatesRequest) XXX_Marshal

func (m *GetCallRatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCallRatesRequest) XXX_Merge

func (m *GetCallRatesRequest) XXX_Merge(src proto.Message)

func (*GetCallRatesRequest) XXX_Size

func (m *GetCallRatesRequest) XXX_Size() int

func (*GetCallRatesRequest) XXX_Unmarshal

func (m *GetCallRatesRequest) XXX_Unmarshal(b []byte) error

type GetErrorRatesRequest

type GetErrorRatesRequest struct {
	BaseRequest          *MetricsQueryBaseRequest `protobuf:"bytes,1,opt,name=baseRequest,proto3" json:"baseRequest,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

GetErrorRatesRequest contains parameters for the GetErrorRates RPC call.

func (*GetErrorRatesRequest) Descriptor

func (*GetErrorRatesRequest) Descriptor() ([]byte, []int)

func (*GetErrorRatesRequest) GetBaseRequest

func (m *GetErrorRatesRequest) GetBaseRequest() *MetricsQueryBaseRequest

func (*GetErrorRatesRequest) Marshal

func (m *GetErrorRatesRequest) Marshal() (dAtA []byte, err error)

func (*GetErrorRatesRequest) MarshalTo

func (m *GetErrorRatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetErrorRatesRequest) MarshalToSizedBuffer added in v1.24.0

func (m *GetErrorRatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetErrorRatesRequest) ProtoMessage

func (*GetErrorRatesRequest) ProtoMessage()

func (*GetErrorRatesRequest) Reset

func (m *GetErrorRatesRequest) Reset()

func (*GetErrorRatesRequest) Size

func (m *GetErrorRatesRequest) Size() (n int)

func (*GetErrorRatesRequest) String

func (m *GetErrorRatesRequest) String() string

func (*GetErrorRatesRequest) Unmarshal

func (m *GetErrorRatesRequest) Unmarshal(dAtA []byte) error

func (*GetErrorRatesRequest) XXX_DiscardUnknown

func (m *GetErrorRatesRequest) XXX_DiscardUnknown()

func (*GetErrorRatesRequest) XXX_Marshal

func (m *GetErrorRatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetErrorRatesRequest) XXX_Merge

func (m *GetErrorRatesRequest) XXX_Merge(src proto.Message)

func (*GetErrorRatesRequest) XXX_Size

func (m *GetErrorRatesRequest) XXX_Size() int

func (*GetErrorRatesRequest) XXX_Unmarshal

func (m *GetErrorRatesRequest) XXX_Unmarshal(b []byte) error

type GetLatenciesRequest

type GetLatenciesRequest struct {
	BaseRequest *MetricsQueryBaseRequest `protobuf:"bytes,1,opt,name=baseRequest,proto3" json:"baseRequest,omitempty"`
	// quantile is the quantile to compute from latency histogram metrics.
	// Valid range: (0, 1]
	//
	// e.g. 0.99 will return the 99th percentile or P99 which is the worst latency
	// observed from 99% of all spans for the given service (and operation).
	//
	// Required.
	Quantile             float64  `protobuf:"fixed64,2,opt,name=quantile,proto3" json:"quantile,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetLatenciesRequest contains parameters for the GetLatencies RPC call.

func (*GetLatenciesRequest) Descriptor

func (*GetLatenciesRequest) Descriptor() ([]byte, []int)

func (*GetLatenciesRequest) GetBaseRequest

func (m *GetLatenciesRequest) GetBaseRequest() *MetricsQueryBaseRequest

func (*GetLatenciesRequest) GetQuantile

func (m *GetLatenciesRequest) GetQuantile() float64

func (*GetLatenciesRequest) Marshal

func (m *GetLatenciesRequest) Marshal() (dAtA []byte, err error)

func (*GetLatenciesRequest) MarshalTo

func (m *GetLatenciesRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetLatenciesRequest) MarshalToSizedBuffer added in v1.24.0

func (m *GetLatenciesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetLatenciesRequest) ProtoMessage

func (*GetLatenciesRequest) ProtoMessage()

func (*GetLatenciesRequest) Reset

func (m *GetLatenciesRequest) Reset()

func (*GetLatenciesRequest) Size

func (m *GetLatenciesRequest) Size() (n int)

func (*GetLatenciesRequest) String

func (m *GetLatenciesRequest) String() string

func (*GetLatenciesRequest) Unmarshal

func (m *GetLatenciesRequest) Unmarshal(dAtA []byte) error

func (*GetLatenciesRequest) XXX_DiscardUnknown

func (m *GetLatenciesRequest) XXX_DiscardUnknown()

func (*GetLatenciesRequest) XXX_Marshal

func (m *GetLatenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLatenciesRequest) XXX_Merge

func (m *GetLatenciesRequest) XXX_Merge(src proto.Message)

func (*GetLatenciesRequest) XXX_Size

func (m *GetLatenciesRequest) XXX_Size() int

func (*GetLatenciesRequest) XXX_Unmarshal

func (m *GetLatenciesRequest) XXX_Unmarshal(b []byte) error

type GetMetricsResponse

type GetMetricsResponse struct {
	Metrics              MetricFamily `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetMetricsResponse) Descriptor

func (*GetMetricsResponse) Descriptor() ([]byte, []int)

func (*GetMetricsResponse) GetMetrics

func (m *GetMetricsResponse) GetMetrics() MetricFamily

func (*GetMetricsResponse) Marshal

func (m *GetMetricsResponse) Marshal() (dAtA []byte, err error)

func (*GetMetricsResponse) MarshalTo

func (m *GetMetricsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMetricsResponse) MarshalToSizedBuffer added in v1.24.0

func (m *GetMetricsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMetricsResponse) ProtoMessage

func (*GetMetricsResponse) ProtoMessage()

func (*GetMetricsResponse) Reset

func (m *GetMetricsResponse) Reset()

func (*GetMetricsResponse) Size

func (m *GetMetricsResponse) Size() (n int)

func (*GetMetricsResponse) String

func (m *GetMetricsResponse) String() string

func (*GetMetricsResponse) Unmarshal

func (m *GetMetricsResponse) Unmarshal(dAtA []byte) error

func (*GetMetricsResponse) XXX_DiscardUnknown

func (m *GetMetricsResponse) XXX_DiscardUnknown()

func (*GetMetricsResponse) XXX_Marshal

func (m *GetMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMetricsResponse) XXX_Merge

func (m *GetMetricsResponse) XXX_Merge(src proto.Message)

func (*GetMetricsResponse) XXX_Size

func (m *GetMetricsResponse) XXX_Size() int

func (*GetMetricsResponse) XXX_Unmarshal

func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error

type GetMinStepDurationRequest

type GetMinStepDurationRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetMinStepDurationRequest) Descriptor

func (*GetMinStepDurationRequest) Descriptor() ([]byte, []int)

func (*GetMinStepDurationRequest) Marshal

func (m *GetMinStepDurationRequest) Marshal() (dAtA []byte, err error)

func (*GetMinStepDurationRequest) MarshalTo

func (m *GetMinStepDurationRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetMinStepDurationRequest) MarshalToSizedBuffer added in v1.24.0

func (m *GetMinStepDurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMinStepDurationRequest) ProtoMessage

func (*GetMinStepDurationRequest) ProtoMessage()

func (*GetMinStepDurationRequest) Reset

func (m *GetMinStepDurationRequest) Reset()

func (*GetMinStepDurationRequest) Size

func (m *GetMinStepDurationRequest) Size() (n int)

func (*GetMinStepDurationRequest) String

func (m *GetMinStepDurationRequest) String() string

func (*GetMinStepDurationRequest) Unmarshal

func (m *GetMinStepDurationRequest) Unmarshal(dAtA []byte) error

func (*GetMinStepDurationRequest) XXX_DiscardUnknown

func (m *GetMinStepDurationRequest) XXX_DiscardUnknown()

func (*GetMinStepDurationRequest) XXX_Marshal

func (m *GetMinStepDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMinStepDurationRequest) XXX_Merge

func (m *GetMinStepDurationRequest) XXX_Merge(src proto.Message)

func (*GetMinStepDurationRequest) XXX_Size

func (m *GetMinStepDurationRequest) XXX_Size() int

func (*GetMinStepDurationRequest) XXX_Unmarshal

func (m *GetMinStepDurationRequest) XXX_Unmarshal(b []byte) error

type GetMinStepDurationResponse

type GetMinStepDurationResponse struct {
	MinStep              time.Duration `protobuf:"bytes,1,opt,name=minStep,proto3,stdduration" json:"minStep"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetMinStepDurationResponse) Descriptor

func (*GetMinStepDurationResponse) Descriptor() ([]byte, []int)

func (*GetMinStepDurationResponse) GetMinStep

func (m *GetMinStepDurationResponse) GetMinStep() time.Duration

func (*GetMinStepDurationResponse) Marshal

func (m *GetMinStepDurationResponse) Marshal() (dAtA []byte, err error)

func (*GetMinStepDurationResponse) MarshalTo

func (m *GetMinStepDurationResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMinStepDurationResponse) MarshalToSizedBuffer added in v1.24.0

func (m *GetMinStepDurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMinStepDurationResponse) ProtoMessage

func (*GetMinStepDurationResponse) ProtoMessage()

func (*GetMinStepDurationResponse) Reset

func (m *GetMinStepDurationResponse) Reset()

func (*GetMinStepDurationResponse) Size

func (m *GetMinStepDurationResponse) Size() (n int)

func (*GetMinStepDurationResponse) String

func (m *GetMinStepDurationResponse) String() string

func (*GetMinStepDurationResponse) Unmarshal

func (m *GetMinStepDurationResponse) Unmarshal(dAtA []byte) error

func (*GetMinStepDurationResponse) XXX_DiscardUnknown

func (m *GetMinStepDurationResponse) XXX_DiscardUnknown()

func (*GetMinStepDurationResponse) XXX_Marshal

func (m *GetMinStepDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMinStepDurationResponse) XXX_Merge

func (m *GetMinStepDurationResponse) XXX_Merge(src proto.Message)

func (*GetMinStepDurationResponse) XXX_Size

func (m *GetMinStepDurationResponse) XXX_Size() int

func (*GetMinStepDurationResponse) XXX_Unmarshal

func (m *GetMinStepDurationResponse) XXX_Unmarshal(b []byte) error

type HistogramValue

type HistogramValue struct {
	// Optional.
	//
	// Types that are valid to be assigned to Sum:
	//	*HistogramValue_DoubleValue
	//	*HistogramValue_IntValue
	Sum isHistogramValue_Sum `protobuf_oneof:"sum"`
	// Optional.
	Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// The time values began being collected for this histogram.
	// Optional.
	Created *types.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	// Optional.
	Buckets              []*HistogramValue_Bucket `protobuf:"bytes,5,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Value for HISTOGRAM or GAUGE_HISTOGRAM MetricPoint.

func (*HistogramValue) Descriptor

func (*HistogramValue) Descriptor() ([]byte, []int)

func (*HistogramValue) GetBuckets

func (m *HistogramValue) GetBuckets() []*HistogramValue_Bucket

func (*HistogramValue) GetCount

func (m *HistogramValue) GetCount() uint64

func (*HistogramValue) GetCreated

func (m *HistogramValue) GetCreated() *types.Timestamp

func (*HistogramValue) GetDoubleValue

func (m *HistogramValue) GetDoubleValue() float64

func (*HistogramValue) GetIntValue

func (m *HistogramValue) GetIntValue() int64

func (*HistogramValue) GetSum

func (m *HistogramValue) GetSum() isHistogramValue_Sum

func (*HistogramValue) Marshal

func (m *HistogramValue) Marshal() (dAtA []byte, err error)

func (*HistogramValue) MarshalTo

func (m *HistogramValue) MarshalTo(dAtA []byte) (int, error)

func (*HistogramValue) MarshalToSizedBuffer added in v1.24.0

func (m *HistogramValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistogramValue) ProtoMessage

func (*HistogramValue) ProtoMessage()

func (*HistogramValue) Reset

func (m *HistogramValue) Reset()

func (*HistogramValue) Size

func (m *HistogramValue) Size() (n int)

func (*HistogramValue) String

func (m *HistogramValue) String() string

func (*HistogramValue) Unmarshal

func (m *HistogramValue) Unmarshal(dAtA []byte) error

func (*HistogramValue) XXX_DiscardUnknown

func (m *HistogramValue) XXX_DiscardUnknown()

func (*HistogramValue) XXX_Marshal

func (m *HistogramValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistogramValue) XXX_Merge

func (m *HistogramValue) XXX_Merge(src proto.Message)

func (*HistogramValue) XXX_OneofWrappers added in v1.24.0

func (*HistogramValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*HistogramValue) XXX_Size

func (m *HistogramValue) XXX_Size() int

func (*HistogramValue) XXX_Unmarshal

func (m *HistogramValue) XXX_Unmarshal(b []byte) error

type HistogramValue_Bucket

type HistogramValue_Bucket struct {
	// Required.
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// Optional.
	UpperBound float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// Optional.
	Exemplar             *Exemplar `protobuf:"bytes,3,opt,name=exemplar,proto3" json:"exemplar,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Bucket is the number of values for a bucket in the histogram with an optional exemplar.

func (*HistogramValue_Bucket) Descriptor

func (*HistogramValue_Bucket) Descriptor() ([]byte, []int)

func (*HistogramValue_Bucket) GetCount

func (m *HistogramValue_Bucket) GetCount() uint64

func (*HistogramValue_Bucket) GetExemplar

func (m *HistogramValue_Bucket) GetExemplar() *Exemplar

func (*HistogramValue_Bucket) GetUpperBound

func (m *HistogramValue_Bucket) GetUpperBound() float64

func (*HistogramValue_Bucket) Marshal

func (m *HistogramValue_Bucket) Marshal() (dAtA []byte, err error)

func (*HistogramValue_Bucket) MarshalTo

func (m *HistogramValue_Bucket) MarshalTo(dAtA []byte) (int, error)

func (*HistogramValue_Bucket) MarshalToSizedBuffer added in v1.24.0

func (m *HistogramValue_Bucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistogramValue_Bucket) ProtoMessage

func (*HistogramValue_Bucket) ProtoMessage()

func (*HistogramValue_Bucket) Reset

func (m *HistogramValue_Bucket) Reset()

func (*HistogramValue_Bucket) Size

func (m *HistogramValue_Bucket) Size() (n int)

func (*HistogramValue_Bucket) String

func (m *HistogramValue_Bucket) String() string

func (*HistogramValue_Bucket) Unmarshal

func (m *HistogramValue_Bucket) Unmarshal(dAtA []byte) error

func (*HistogramValue_Bucket) XXX_DiscardUnknown

func (m *HistogramValue_Bucket) XXX_DiscardUnknown()

func (*HistogramValue_Bucket) XXX_Marshal

func (m *HistogramValue_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistogramValue_Bucket) XXX_Merge

func (m *HistogramValue_Bucket) XXX_Merge(src proto.Message)

func (*HistogramValue_Bucket) XXX_Size

func (m *HistogramValue_Bucket) XXX_Size() int

func (*HistogramValue_Bucket) XXX_Unmarshal

func (m *HistogramValue_Bucket) XXX_Unmarshal(b []byte) error

type HistogramValue_DoubleValue

type HistogramValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*HistogramValue_DoubleValue) MarshalTo

func (m *HistogramValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*HistogramValue_DoubleValue) MarshalToSizedBuffer added in v1.24.0

func (m *HistogramValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistogramValue_DoubleValue) Size

func (m *HistogramValue_DoubleValue) Size() (n int)

type HistogramValue_IntValue

type HistogramValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*HistogramValue_IntValue) MarshalTo

func (m *HistogramValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*HistogramValue_IntValue) MarshalToSizedBuffer added in v1.24.0

func (m *HistogramValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistogramValue_IntValue) Size

func (m *HistogramValue_IntValue) Size() (n int)

type InfoValue

type InfoValue struct {
	// Optional.
	Info                 []*Label `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Value for INFO MetricPoint.

func (*InfoValue) Descriptor

func (*InfoValue) Descriptor() ([]byte, []int)

func (*InfoValue) GetInfo

func (m *InfoValue) GetInfo() []*Label

func (*InfoValue) Marshal

func (m *InfoValue) Marshal() (dAtA []byte, err error)

func (*InfoValue) MarshalTo

func (m *InfoValue) MarshalTo(dAtA []byte) (int, error)

func (*InfoValue) MarshalToSizedBuffer added in v1.24.0

func (m *InfoValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InfoValue) ProtoMessage

func (*InfoValue) ProtoMessage()

func (*InfoValue) Reset

func (m *InfoValue) Reset()

func (*InfoValue) Size

func (m *InfoValue) Size() (n int)

func (*InfoValue) String

func (m *InfoValue) String() string

func (*InfoValue) Unmarshal

func (m *InfoValue) Unmarshal(dAtA []byte) error

func (*InfoValue) XXX_DiscardUnknown

func (m *InfoValue) XXX_DiscardUnknown()

func (*InfoValue) XXX_Marshal

func (m *InfoValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoValue) XXX_Merge

func (m *InfoValue) XXX_Merge(src proto.Message)

func (*InfoValue) XXX_Size

func (m *InfoValue) XXX_Size() int

func (*InfoValue) XXX_Unmarshal

func (m *InfoValue) XXX_Unmarshal(b []byte) error

type Label

type Label struct {
	// Required.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required.
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A name-value pair. These are used in multiple places: identifying timeseries, value of INFO metrics, and exemplars in Histograms.

func (*Label) Descriptor

func (*Label) Descriptor() ([]byte, []int)

func (*Label) GetName

func (m *Label) GetName() string

func (*Label) GetValue

func (m *Label) GetValue() string

func (*Label) Marshal

func (m *Label) Marshal() (dAtA []byte, err error)

func (*Label) MarshalTo

func (m *Label) MarshalTo(dAtA []byte) (int, error)

func (*Label) MarshalToSizedBuffer added in v1.24.0

func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) Reset

func (m *Label) Reset()

func (*Label) Size

func (m *Label) Size() (n int)

func (*Label) String

func (m *Label) String() string

func (*Label) Unmarshal

func (m *Label) Unmarshal(dAtA []byte) error

func (*Label) XXX_DiscardUnknown

func (m *Label) XXX_DiscardUnknown()

func (*Label) XXX_Marshal

func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Label) XXX_Merge

func (m *Label) XXX_Merge(src proto.Message)

func (*Label) XXX_Size

func (m *Label) XXX_Size() int

func (*Label) XXX_Unmarshal

func (m *Label) XXX_Unmarshal(b []byte) error

type Metric

type Metric struct {
	// Optional.
	Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// Optional.
	MetricPoints         []*MetricPoint `protobuf:"bytes,2,rep,name=metric_points,json=metricPoints,proto3" json:"metric_points,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A single metric with a unique set of labels within a metric family.

func (*Metric) Descriptor

func (*Metric) Descriptor() ([]byte, []int)

func (*Metric) GetLabels

func (m *Metric) GetLabels() []*Label

func (*Metric) GetMetricPoints

func (m *Metric) GetMetricPoints() []*MetricPoint

func (*Metric) Marshal

func (m *Metric) Marshal() (dAtA []byte, err error)

func (*Metric) MarshalTo

func (m *Metric) MarshalTo(dAtA []byte) (int, error)

func (*Metric) MarshalToSizedBuffer added in v1.24.0

func (m *Metric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) Size

func (m *Metric) Size() (n int)

func (*Metric) String

func (m *Metric) String() string

func (*Metric) Unmarshal

func (m *Metric) Unmarshal(dAtA []byte) error

func (*Metric) XXX_DiscardUnknown

func (m *Metric) XXX_DiscardUnknown()

func (*Metric) XXX_Marshal

func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metric) XXX_Merge

func (m *Metric) XXX_Merge(src proto.Message)

func (*Metric) XXX_Size

func (m *Metric) XXX_Size() int

func (*Metric) XXX_Unmarshal

func (m *Metric) XXX_Unmarshal(b []byte) error

type MetricFamily

type MetricFamily struct {
	// Required.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional.
	Type MetricType `protobuf:"varint,2,opt,name=type,proto3,enum=jaeger.api_v2.metrics.MetricType" json:"type,omitempty"`
	// Optional.
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// Optional.
	Help string `protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty"`
	// Optional.
	Metrics              []*Metric `protobuf:"bytes,5,rep,name=metrics,proto3" json:"metrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

One or more Metrics for a single MetricFamily, where each Metric has one or more MetricPoints.

func (*MetricFamily) Descriptor

func (*MetricFamily) Descriptor() ([]byte, []int)

func (*MetricFamily) GetHelp

func (m *MetricFamily) GetHelp() string

func (*MetricFamily) GetMetrics

func (m *MetricFamily) GetMetrics() []*Metric

func (*MetricFamily) GetName

func (m *MetricFamily) GetName() string

func (*MetricFamily) GetType

func (m *MetricFamily) GetType() MetricType

func (*MetricFamily) GetUnit

func (m *MetricFamily) GetUnit() string

func (*MetricFamily) Marshal

func (m *MetricFamily) Marshal() (dAtA []byte, err error)

func (*MetricFamily) MarshalTo

func (m *MetricFamily) MarshalTo(dAtA []byte) (int, error)

func (*MetricFamily) MarshalToSizedBuffer added in v1.24.0

func (m *MetricFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricFamily) ProtoMessage

func (*MetricFamily) ProtoMessage()

func (*MetricFamily) Reset

func (m *MetricFamily) Reset()

func (*MetricFamily) Size

func (m *MetricFamily) Size() (n int)

func (*MetricFamily) String

func (m *MetricFamily) String() string

func (*MetricFamily) Unmarshal

func (m *MetricFamily) Unmarshal(dAtA []byte) error

func (*MetricFamily) XXX_DiscardUnknown

func (m *MetricFamily) XXX_DiscardUnknown()

func (*MetricFamily) XXX_Marshal

func (m *MetricFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricFamily) XXX_Merge

func (m *MetricFamily) XXX_Merge(src proto.Message)

func (*MetricFamily) XXX_Size

func (m *MetricFamily) XXX_Size() int

func (*MetricFamily) XXX_Unmarshal

func (m *MetricFamily) XXX_Unmarshal(b []byte) error

type MetricPoint

type MetricPoint struct {
	// Required.
	//
	// Types that are valid to be assigned to Value:
	//	*MetricPoint_UnknownValue
	//	*MetricPoint_GaugeValue
	//	*MetricPoint_CounterValue
	//	*MetricPoint_HistogramValue
	//	*MetricPoint_StateSetValue
	//	*MetricPoint_InfoValue
	//	*MetricPoint_SummaryValue
	Value isMetricPoint_Value `protobuf_oneof:"value"`
	// Optional.
	Timestamp            *types.Timestamp `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A MetricPoint in a Metric.

func (*MetricPoint) Descriptor

func (*MetricPoint) Descriptor() ([]byte, []int)

func (*MetricPoint) GetCounterValue

func (m *MetricPoint) GetCounterValue() *CounterValue

func (*MetricPoint) GetGaugeValue

func (m *MetricPoint) GetGaugeValue() *GaugeValue

func (*MetricPoint) GetHistogramValue

func (m *MetricPoint) GetHistogramValue() *HistogramValue

func (*MetricPoint) GetInfoValue

func (m *MetricPoint) GetInfoValue() *InfoValue

func (*MetricPoint) GetStateSetValue

func (m *MetricPoint) GetStateSetValue() *StateSetValue

func (*MetricPoint) GetSummaryValue

func (m *MetricPoint) GetSummaryValue() *SummaryValue

func (*MetricPoint) GetTimestamp

func (m *MetricPoint) GetTimestamp() *types.Timestamp

func (*MetricPoint) GetUnknownValue

func (m *MetricPoint) GetUnknownValue() *UnknownValue

func (*MetricPoint) GetValue

func (m *MetricPoint) GetValue() isMetricPoint_Value

func (*MetricPoint) Marshal

func (m *MetricPoint) Marshal() (dAtA []byte, err error)

func (*MetricPoint) MarshalTo

func (m *MetricPoint) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint) ProtoMessage

func (*MetricPoint) ProtoMessage()

func (*MetricPoint) Reset

func (m *MetricPoint) Reset()

func (*MetricPoint) Size

func (m *MetricPoint) Size() (n int)

func (*MetricPoint) String

func (m *MetricPoint) String() string

func (*MetricPoint) Unmarshal

func (m *MetricPoint) Unmarshal(dAtA []byte) error

func (*MetricPoint) XXX_DiscardUnknown

func (m *MetricPoint) XXX_DiscardUnknown()

func (*MetricPoint) XXX_Marshal

func (m *MetricPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricPoint) XXX_Merge

func (m *MetricPoint) XXX_Merge(src proto.Message)

func (*MetricPoint) XXX_OneofWrappers added in v1.24.0

func (*MetricPoint) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MetricPoint) XXX_Size

func (m *MetricPoint) XXX_Size() int

func (*MetricPoint) XXX_Unmarshal

func (m *MetricPoint) XXX_Unmarshal(b []byte) error

type MetricPoint_CounterValue

type MetricPoint_CounterValue struct {
	CounterValue *CounterValue `protobuf:"bytes,3,opt,name=counter_value,json=counterValue,proto3,oneof" json:"counter_value,omitempty"`
}

func (*MetricPoint_CounterValue) MarshalTo

func (m *MetricPoint_CounterValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_CounterValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_CounterValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_CounterValue) Size

func (m *MetricPoint_CounterValue) Size() (n int)

type MetricPoint_GaugeValue

type MetricPoint_GaugeValue struct {
	GaugeValue *GaugeValue `protobuf:"bytes,2,opt,name=gauge_value,json=gaugeValue,proto3,oneof" json:"gauge_value,omitempty"`
}

func (*MetricPoint_GaugeValue) MarshalTo

func (m *MetricPoint_GaugeValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_GaugeValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_GaugeValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_GaugeValue) Size

func (m *MetricPoint_GaugeValue) Size() (n int)

type MetricPoint_HistogramValue

type MetricPoint_HistogramValue struct {
	HistogramValue *HistogramValue `protobuf:"bytes,4,opt,name=histogram_value,json=histogramValue,proto3,oneof" json:"histogram_value,omitempty"`
}

func (*MetricPoint_HistogramValue) MarshalTo

func (m *MetricPoint_HistogramValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_HistogramValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_HistogramValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_HistogramValue) Size

func (m *MetricPoint_HistogramValue) Size() (n int)

type MetricPoint_InfoValue

type MetricPoint_InfoValue struct {
	InfoValue *InfoValue `protobuf:"bytes,6,opt,name=info_value,json=infoValue,proto3,oneof" json:"info_value,omitempty"`
}

func (*MetricPoint_InfoValue) MarshalTo

func (m *MetricPoint_InfoValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_InfoValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_InfoValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_InfoValue) Size

func (m *MetricPoint_InfoValue) Size() (n int)

type MetricPoint_StateSetValue

type MetricPoint_StateSetValue struct {
	StateSetValue *StateSetValue `protobuf:"bytes,5,opt,name=state_set_value,json=stateSetValue,proto3,oneof" json:"state_set_value,omitempty"`
}

func (*MetricPoint_StateSetValue) MarshalTo

func (m *MetricPoint_StateSetValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_StateSetValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_StateSetValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_StateSetValue) Size

func (m *MetricPoint_StateSetValue) Size() (n int)

type MetricPoint_SummaryValue

type MetricPoint_SummaryValue struct {
	SummaryValue *SummaryValue `protobuf:"bytes,7,opt,name=summary_value,json=summaryValue,proto3,oneof" json:"summary_value,omitempty"`
}

func (*MetricPoint_SummaryValue) MarshalTo

func (m *MetricPoint_SummaryValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_SummaryValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_SummaryValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_SummaryValue) Size

func (m *MetricPoint_SummaryValue) Size() (n int)

type MetricPoint_UnknownValue

type MetricPoint_UnknownValue struct {
	UnknownValue *UnknownValue `protobuf:"bytes,1,opt,name=unknown_value,json=unknownValue,proto3,oneof" json:"unknown_value,omitempty"`
}

func (*MetricPoint_UnknownValue) MarshalTo

func (m *MetricPoint_UnknownValue) MarshalTo(dAtA []byte) (int, error)

func (*MetricPoint_UnknownValue) MarshalToSizedBuffer added in v1.24.0

func (m *MetricPoint_UnknownValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricPoint_UnknownValue) Size

func (m *MetricPoint_UnknownValue) Size() (n int)

type MetricSet

type MetricSet struct {
	// Each MetricFamily has one or more MetricPoints for a single Metric.
	MetricFamilies       []*MetricFamily `protobuf:"bytes,1,rep,name=metric_families,json=metricFamilies,proto3" json:"metric_families,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

The top-level container type that is encoded and sent over the wire.

func (*MetricSet) Descriptor

func (*MetricSet) Descriptor() ([]byte, []int)

func (*MetricSet) GetMetricFamilies

func (m *MetricSet) GetMetricFamilies() []*MetricFamily

func (*MetricSet) Marshal

func (m *MetricSet) Marshal() (dAtA []byte, err error)

func (*MetricSet) MarshalTo

func (m *MetricSet) MarshalTo(dAtA []byte) (int, error)

func (*MetricSet) MarshalToSizedBuffer added in v1.24.0

func (m *MetricSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricSet) ProtoMessage

func (*MetricSet) ProtoMessage()

func (*MetricSet) Reset

func (m *MetricSet) Reset()

func (*MetricSet) Size

func (m *MetricSet) Size() (n int)

func (*MetricSet) String

func (m *MetricSet) String() string

func (*MetricSet) Unmarshal

func (m *MetricSet) Unmarshal(dAtA []byte) error

func (*MetricSet) XXX_DiscardUnknown

func (m *MetricSet) XXX_DiscardUnknown()

func (*MetricSet) XXX_Marshal

func (m *MetricSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricSet) XXX_Merge

func (m *MetricSet) XXX_Merge(src proto.Message)

func (*MetricSet) XXX_Size

func (m *MetricSet) XXX_Size() int

func (*MetricSet) XXX_Unmarshal

func (m *MetricSet) XXX_Unmarshal(b []byte) error

type MetricType

type MetricType int32

The type of a Metric.

const (
	// Unknown must use unknown MetricPoint values.
	MetricType_UNKNOWN MetricType = 0
	// Gauge must use gauge MetricPoint values.
	MetricType_GAUGE MetricType = 1
	// Counter must use counter MetricPoint values.
	MetricType_COUNTER MetricType = 2
	// State set must use state set MetricPoint values.
	MetricType_STATE_SET MetricType = 3
	// Info must use info MetricPoint values.
	MetricType_INFO MetricType = 4
	// Histogram must use histogram value MetricPoint values.
	MetricType_HISTOGRAM MetricType = 5
	// Gauge histogram must use histogram value MetricPoint values.
	MetricType_GAUGE_HISTOGRAM MetricType = 6
	// Summary quantiles must use summary value MetricPoint values.
	MetricType_SUMMARY MetricType = 7
)

func (MetricType) EnumDescriptor

func (MetricType) EnumDescriptor() ([]byte, []int)

func (MetricType) String

func (x MetricType) String() string

type MetricsQueryBaseRequest

type MetricsQueryBaseRequest struct {
	// service_names are the service names to fetch metrics from.
	// The results will be grouped by service_name.
	// Required. At least one service name must be provided.
	ServiceNames []string `protobuf:"bytes,1,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"`
	// groupByOperation determines if the metrics returned should be grouped by operation.
	// Optional. Default = false.
	GroupByOperation bool `protobuf:"varint,2,opt,name=groupByOperation,proto3" json:"groupByOperation,omitempty"`
	// end_time is the ending time of the time series query range.
	// Optional. Default = now.
	EndTime *time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"`
	// lookback is the duration from the end_time to look back on for metrics data points.
	// For example, if set to 1h, the query would span from end_time-1h to end_time.
	// Optional. Default = 1h.
	Lookback *time.Duration `protobuf:"bytes,4,opt,name=lookback,proto3,stdduration" json:"lookback,omitempty"`
	// step size is the duration between data points of the query results.
	// For example, if set to 5s, the results would produce a data point every 5 seconds
	// from the start_time to end_time.
	// Optional. Default = 5s.
	Step *time.Duration `protobuf:"bytes,5,opt,name=step,proto3,stdduration" json:"step,omitempty"`
	// ratePer is the duration in which the per-second rate of change is calculated for a cumulative counter metric.
	// Optional. Default = 10m.
	RatePer *time.Duration `protobuf:"bytes,6,opt,name=ratePer,proto3,stdduration" json:"ratePer,omitempty"`
	// spanKinds is the list of span kinds to include (logical OR) in the resulting metrics aggregation.
	// Optional. Default = [SPAN_KIND_SERVER].
	SpanKinds            []SpanKind `protobuf:"varint,7,rep,packed,name=spanKinds,proto3,enum=jaeger.api_v2.metrics.SpanKind" json:"spanKinds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

MetricsQueryBaseRequest is the base request parameter accompanying a MetricsQueryService RPC call.

func (*MetricsQueryBaseRequest) Descriptor

func (*MetricsQueryBaseRequest) Descriptor() ([]byte, []int)

func (*MetricsQueryBaseRequest) GetEndTime

func (m *MetricsQueryBaseRequest) GetEndTime() *time.Time

func (*MetricsQueryBaseRequest) GetGroupByOperation

func (m *MetricsQueryBaseRequest) GetGroupByOperation() bool

func (*MetricsQueryBaseRequest) GetLookback

func (m *MetricsQueryBaseRequest) GetLookback() *time.Duration

func (*MetricsQueryBaseRequest) GetRatePer

func (m *MetricsQueryBaseRequest) GetRatePer() *time.Duration

func (*MetricsQueryBaseRequest) GetServiceNames

func (m *MetricsQueryBaseRequest) GetServiceNames() []string

func (*MetricsQueryBaseRequest) GetSpanKinds

func (m *MetricsQueryBaseRequest) GetSpanKinds() []SpanKind

func (*MetricsQueryBaseRequest) GetStep

func (m *MetricsQueryBaseRequest) GetStep() *time.Duration

func (*MetricsQueryBaseRequest) Marshal

func (m *MetricsQueryBaseRequest) Marshal() (dAtA []byte, err error)

func (*MetricsQueryBaseRequest) MarshalTo

func (m *MetricsQueryBaseRequest) MarshalTo(dAtA []byte) (int, error)

func (*MetricsQueryBaseRequest) MarshalToSizedBuffer added in v1.24.0

func (m *MetricsQueryBaseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricsQueryBaseRequest) ProtoMessage

func (*MetricsQueryBaseRequest) ProtoMessage()

func (*MetricsQueryBaseRequest) Reset

func (m *MetricsQueryBaseRequest) Reset()

func (*MetricsQueryBaseRequest) Size

func (m *MetricsQueryBaseRequest) Size() (n int)

func (*MetricsQueryBaseRequest) String

func (m *MetricsQueryBaseRequest) String() string

func (*MetricsQueryBaseRequest) Unmarshal

func (m *MetricsQueryBaseRequest) Unmarshal(dAtA []byte) error

func (*MetricsQueryBaseRequest) XXX_DiscardUnknown

func (m *MetricsQueryBaseRequest) XXX_DiscardUnknown()

func (*MetricsQueryBaseRequest) XXX_Marshal

func (m *MetricsQueryBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsQueryBaseRequest) XXX_Merge

func (m *MetricsQueryBaseRequest) XXX_Merge(src proto.Message)

func (*MetricsQueryBaseRequest) XXX_Size

func (m *MetricsQueryBaseRequest) XXX_Size() int

func (*MetricsQueryBaseRequest) XXX_Unmarshal

func (m *MetricsQueryBaseRequest) XXX_Unmarshal(b []byte) error

type MetricsQueryServiceClient

type MetricsQueryServiceClient interface {
	// GetMinStepDuration gets the min time resolution supported by the backing metrics store,
	// e.g. 10s means the backend can only return data points that are at least 10s apart, not closer.
	GetMinStepDuration(ctx context.Context, in *GetMinStepDurationRequest, opts ...grpc.CallOption) (*GetMinStepDurationResponse, error)
	// GetLatencies gets the latency metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetLatencies(ctx context.Context, in *GetLatenciesRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
	// GetCallRates gets the call rate metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetCallRates(ctx context.Context, in *GetCallRatesRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
	// GetErrorRates gets the error rate metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetErrorRates(ctx context.Context, in *GetErrorRatesRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
}

MetricsQueryServiceClient is the client API for MetricsQueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMetricsQueryServiceClient

func NewMetricsQueryServiceClient(cc *grpc.ClientConn) MetricsQueryServiceClient

type MetricsQueryServiceServer

type MetricsQueryServiceServer interface {
	// GetMinStepDuration gets the min time resolution supported by the backing metrics store,
	// e.g. 10s means the backend can only return data points that are at least 10s apart, not closer.
	GetMinStepDuration(context.Context, *GetMinStepDurationRequest) (*GetMinStepDurationResponse, error)
	// GetLatencies gets the latency metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetLatencies(context.Context, *GetLatenciesRequest) (*GetMetricsResponse, error)
	// GetCallRates gets the call rate metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetCallRates(context.Context, *GetCallRatesRequest) (*GetMetricsResponse, error)
	// GetErrorRates gets the error rate metrics for a given list of services grouped by service
	// and optionally grouped by operation.
	GetErrorRates(context.Context, *GetErrorRatesRequest) (*GetMetricsResponse, error)
}

MetricsQueryServiceServer is the server API for MetricsQueryService service.

type SpanKind

type SpanKind int32

SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

const (
	// Unspecified. Do NOT use as default.
	// Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
	SpanKind_SPAN_KIND_UNSPECIFIED SpanKind = 0
	// Indicates that the span represents an internal operation within an application,
	// as opposed to an operation happening at the boundaries. Default value.
	SpanKind_SPAN_KIND_INTERNAL SpanKind = 1
	// Indicates that the span covers server-side handling of an RPC or other
	// remote network request.
	SpanKind_SPAN_KIND_SERVER SpanKind = 2
	// Indicates that the span describes a request to some remote service.
	SpanKind_SPAN_KIND_CLIENT SpanKind = 3
	// Indicates that the span describes a producer sending a message to a broker.
	// Unlike CLIENT and SERVER, there is often no direct critical path latency relationship
	// between producer and consumer spans. A PRODUCER span ends when the message was accepted
	// by the broker while the logical processing of the message might span a much longer time.
	SpanKind_SPAN_KIND_PRODUCER SpanKind = 4
	// Indicates that the span describes consumer receiving a message from a broker.
	// Like the PRODUCER kind, there is often no direct critical path latency relationship
	// between producer and consumer spans.
	SpanKind_SPAN_KIND_CONSUMER SpanKind = 5
)

func (SpanKind) EnumDescriptor

func (SpanKind) EnumDescriptor() ([]byte, []int)

func (SpanKind) String

func (x SpanKind) String() string

type StateSetValue

type StateSetValue struct {
	// Optional.
	States               []*StateSetValue_State `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Value for STATE_SET MetricPoint.

func (*StateSetValue) Descriptor

func (*StateSetValue) Descriptor() ([]byte, []int)

func (*StateSetValue) GetStates

func (m *StateSetValue) GetStates() []*StateSetValue_State

func (*StateSetValue) Marshal

func (m *StateSetValue) Marshal() (dAtA []byte, err error)

func (*StateSetValue) MarshalTo

func (m *StateSetValue) MarshalTo(dAtA []byte) (int, error)

func (*StateSetValue) MarshalToSizedBuffer added in v1.24.0

func (m *StateSetValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateSetValue) ProtoMessage

func (*StateSetValue) ProtoMessage()

func (*StateSetValue) Reset

func (m *StateSetValue) Reset()

func (*StateSetValue) Size

func (m *StateSetValue) Size() (n int)

func (*StateSetValue) String

func (m *StateSetValue) String() string

func (*StateSetValue) Unmarshal

func (m *StateSetValue) Unmarshal(dAtA []byte) error

func (*StateSetValue) XXX_DiscardUnknown

func (m *StateSetValue) XXX_DiscardUnknown()

func (*StateSetValue) XXX_Marshal

func (m *StateSetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateSetValue) XXX_Merge

func (m *StateSetValue) XXX_Merge(src proto.Message)

func (*StateSetValue) XXX_Size

func (m *StateSetValue) XXX_Size() int

func (*StateSetValue) XXX_Unmarshal

func (m *StateSetValue) XXX_Unmarshal(b []byte) error

type StateSetValue_State

type StateSetValue_State struct {
	// Required.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Required.
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateSetValue_State) Descriptor

func (*StateSetValue_State) Descriptor() ([]byte, []int)

func (*StateSetValue_State) GetEnabled

func (m *StateSetValue_State) GetEnabled() bool

func (*StateSetValue_State) GetName

func (m *StateSetValue_State) GetName() string

func (*StateSetValue_State) Marshal

func (m *StateSetValue_State) Marshal() (dAtA []byte, err error)

func (*StateSetValue_State) MarshalTo

func (m *StateSetValue_State) MarshalTo(dAtA []byte) (int, error)

func (*StateSetValue_State) MarshalToSizedBuffer added in v1.24.0

func (m *StateSetValue_State) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateSetValue_State) ProtoMessage

func (*StateSetValue_State) ProtoMessage()

func (*StateSetValue_State) Reset

func (m *StateSetValue_State) Reset()

func (*StateSetValue_State) Size

func (m *StateSetValue_State) Size() (n int)

func (*StateSetValue_State) String

func (m *StateSetValue_State) String() string

func (*StateSetValue_State) Unmarshal

func (m *StateSetValue_State) Unmarshal(dAtA []byte) error

func (*StateSetValue_State) XXX_DiscardUnknown

func (m *StateSetValue_State) XXX_DiscardUnknown()

func (*StateSetValue_State) XXX_Marshal

func (m *StateSetValue_State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateSetValue_State) XXX_Merge

func (m *StateSetValue_State) XXX_Merge(src proto.Message)

func (*StateSetValue_State) XXX_Size

func (m *StateSetValue_State) XXX_Size() int

func (*StateSetValue_State) XXX_Unmarshal

func (m *StateSetValue_State) XXX_Unmarshal(b []byte) error

type SummaryValue

type SummaryValue struct {
	// Optional.
	//
	// Types that are valid to be assigned to Sum:
	//	*SummaryValue_DoubleValue
	//	*SummaryValue_IntValue
	Sum isSummaryValue_Sum `protobuf_oneof:"sum"`
	// Optional.
	Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// The time sum and count values began being collected for this summary.
	// Optional.
	Created *types.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	// Optional.
	Quantile             []*SummaryValue_Quantile `protobuf:"bytes,5,rep,name=quantile,proto3" json:"quantile,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Value for SUMMARY MetricPoint.

func (*SummaryValue) Descriptor

func (*SummaryValue) Descriptor() ([]byte, []int)

func (*SummaryValue) GetCount

func (m *SummaryValue) GetCount() uint64

func (*SummaryValue) GetCreated

func (m *SummaryValue) GetCreated() *types.Timestamp

func (*SummaryValue) GetDoubleValue

func (m *SummaryValue) GetDoubleValue() float64

func (*SummaryValue) GetIntValue

func (m *SummaryValue) GetIntValue() int64

func (*SummaryValue) GetQuantile

func (m *SummaryValue) GetQuantile() []*SummaryValue_Quantile

func (*SummaryValue) GetSum

func (m *SummaryValue) GetSum() isSummaryValue_Sum

func (*SummaryValue) Marshal

func (m *SummaryValue) Marshal() (dAtA []byte, err error)

func (*SummaryValue) MarshalTo

func (m *SummaryValue) MarshalTo(dAtA []byte) (int, error)

func (*SummaryValue) MarshalToSizedBuffer added in v1.24.0

func (m *SummaryValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SummaryValue) ProtoMessage

func (*SummaryValue) ProtoMessage()

func (*SummaryValue) Reset

func (m *SummaryValue) Reset()

func (*SummaryValue) Size

func (m *SummaryValue) Size() (n int)

func (*SummaryValue) String

func (m *SummaryValue) String() string

func (*SummaryValue) Unmarshal

func (m *SummaryValue) Unmarshal(dAtA []byte) error

func (*SummaryValue) XXX_DiscardUnknown

func (m *SummaryValue) XXX_DiscardUnknown()

func (*SummaryValue) XXX_Marshal

func (m *SummaryValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryValue) XXX_Merge

func (m *SummaryValue) XXX_Merge(src proto.Message)

func (*SummaryValue) XXX_OneofWrappers added in v1.24.0

func (*SummaryValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SummaryValue) XXX_Size

func (m *SummaryValue) XXX_Size() int

func (*SummaryValue) XXX_Unmarshal

func (m *SummaryValue) XXX_Unmarshal(b []byte) error

type SummaryValue_DoubleValue

type SummaryValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*SummaryValue_DoubleValue) MarshalTo

func (m *SummaryValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*SummaryValue_DoubleValue) MarshalToSizedBuffer added in v1.24.0

func (m *SummaryValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SummaryValue_DoubleValue) Size

func (m *SummaryValue_DoubleValue) Size() (n int)

type SummaryValue_IntValue

type SummaryValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*SummaryValue_IntValue) MarshalTo

func (m *SummaryValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*SummaryValue_IntValue) MarshalToSizedBuffer added in v1.24.0

func (m *SummaryValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SummaryValue_IntValue) Size

func (m *SummaryValue_IntValue) Size() (n int)

type SummaryValue_Quantile

type SummaryValue_Quantile struct {
	// Required.
	Quantile float64 `protobuf:"fixed64,1,opt,name=quantile,proto3" json:"quantile,omitempty"`
	// Required.
	Value                float64  `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SummaryValue_Quantile) Descriptor

func (*SummaryValue_Quantile) Descriptor() ([]byte, []int)

func (*SummaryValue_Quantile) GetQuantile

func (m *SummaryValue_Quantile) GetQuantile() float64

func (*SummaryValue_Quantile) GetValue

func (m *SummaryValue_Quantile) GetValue() float64

func (*SummaryValue_Quantile) Marshal

func (m *SummaryValue_Quantile) Marshal() (dAtA []byte, err error)

func (*SummaryValue_Quantile) MarshalTo

func (m *SummaryValue_Quantile) MarshalTo(dAtA []byte) (int, error)

func (*SummaryValue_Quantile) MarshalToSizedBuffer added in v1.24.0

func (m *SummaryValue_Quantile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SummaryValue_Quantile) ProtoMessage

func (*SummaryValue_Quantile) ProtoMessage()

func (*SummaryValue_Quantile) Reset

func (m *SummaryValue_Quantile) Reset()

func (*SummaryValue_Quantile) Size

func (m *SummaryValue_Quantile) Size() (n int)

func (*SummaryValue_Quantile) String

func (m *SummaryValue_Quantile) String() string

func (*SummaryValue_Quantile) Unmarshal

func (m *SummaryValue_Quantile) Unmarshal(dAtA []byte) error

func (*SummaryValue_Quantile) XXX_DiscardUnknown

func (m *SummaryValue_Quantile) XXX_DiscardUnknown()

func (*SummaryValue_Quantile) XXX_Marshal

func (m *SummaryValue_Quantile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryValue_Quantile) XXX_Merge

func (m *SummaryValue_Quantile) XXX_Merge(src proto.Message)

func (*SummaryValue_Quantile) XXX_Size

func (m *SummaryValue_Quantile) XXX_Size() int

func (*SummaryValue_Quantile) XXX_Unmarshal

func (m *SummaryValue_Quantile) XXX_Unmarshal(b []byte) error

type UnimplementedMetricsQueryServiceServer added in v1.24.0

type UnimplementedMetricsQueryServiceServer struct {
}

UnimplementedMetricsQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsQueryServiceServer) GetCallRates added in v1.24.0

func (*UnimplementedMetricsQueryServiceServer) GetErrorRates added in v1.24.0

func (*UnimplementedMetricsQueryServiceServer) GetLatencies added in v1.24.0

func (*UnimplementedMetricsQueryServiceServer) GetMinStepDuration added in v1.24.0

type UnknownValue

type UnknownValue struct {
	// Required.
	//
	// Types that are valid to be assigned to Value:
	//	*UnknownValue_DoubleValue
	//	*UnknownValue_IntValue
	Value                isUnknownValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Value for UNKNOWN MetricPoint.

func (*UnknownValue) Descriptor

func (*UnknownValue) Descriptor() ([]byte, []int)

func (*UnknownValue) GetDoubleValue

func (m *UnknownValue) GetDoubleValue() float64

func (*UnknownValue) GetIntValue

func (m *UnknownValue) GetIntValue() int64

func (*UnknownValue) GetValue

func (m *UnknownValue) GetValue() isUnknownValue_Value

func (*UnknownValue) Marshal

func (m *UnknownValue) Marshal() (dAtA []byte, err error)

func (*UnknownValue) MarshalTo

func (m *UnknownValue) MarshalTo(dAtA []byte) (int, error)

func (*UnknownValue) MarshalToSizedBuffer added in v1.24.0

func (m *UnknownValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnknownValue) ProtoMessage

func (*UnknownValue) ProtoMessage()

func (*UnknownValue) Reset

func (m *UnknownValue) Reset()

func (*UnknownValue) Size

func (m *UnknownValue) Size() (n int)

func (*UnknownValue) String

func (m *UnknownValue) String() string

func (*UnknownValue) Unmarshal

func (m *UnknownValue) Unmarshal(dAtA []byte) error

func (*UnknownValue) XXX_DiscardUnknown

func (m *UnknownValue) XXX_DiscardUnknown()

func (*UnknownValue) XXX_Marshal

func (m *UnknownValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnknownValue) XXX_Merge

func (m *UnknownValue) XXX_Merge(src proto.Message)

func (*UnknownValue) XXX_OneofWrappers added in v1.24.0

func (*UnknownValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UnknownValue) XXX_Size

func (m *UnknownValue) XXX_Size() int

func (*UnknownValue) XXX_Unmarshal

func (m *UnknownValue) XXX_Unmarshal(b []byte) error

type UnknownValue_DoubleValue

type UnknownValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*UnknownValue_DoubleValue) MarshalTo

func (m *UnknownValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*UnknownValue_DoubleValue) MarshalToSizedBuffer added in v1.24.0

func (m *UnknownValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnknownValue_DoubleValue) Size

func (m *UnknownValue_DoubleValue) Size() (n int)

type UnknownValue_IntValue

type UnknownValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*UnknownValue_IntValue) MarshalTo

func (m *UnknownValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*UnknownValue_IntValue) MarshalToSizedBuffer added in v1.24.0

func (m *UnknownValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnknownValue_IntValue) Size

func (m *UnknownValue_IntValue) Size() (n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL