2019-08-06 18:53:14 +02:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2022-10-20 13:00:50 +02:00
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
// protoc v3.21.7
|
2020-12-12 22:50:36 +02:00
|
|
|
// source: proto/debug.proto
|
2019-08-06 18:53:14 +02:00
|
|
|
|
|
|
|
package debug
|
|
|
|
|
|
|
|
import (
|
2022-10-20 13:00:50 +02:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2019-08-06 18:53:14 +02:00
|
|
|
)
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2019-08-06 18:53:14 +02:00
|
|
|
|
2020-02-12 12:57:17 +02:00
|
|
|
type SpanType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
SpanType_INBOUND SpanType = 0
|
|
|
|
SpanType_OUTBOUND SpanType = 1
|
|
|
|
)
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Enum value maps for SpanType.
|
|
|
|
var (
|
|
|
|
SpanType_name = map[int32]string{
|
|
|
|
0: "INBOUND",
|
|
|
|
1: "OUTBOUND",
|
|
|
|
}
|
|
|
|
SpanType_value = map[string]int32{
|
|
|
|
"INBOUND": 0,
|
|
|
|
"OUTBOUND": 1,
|
|
|
|
}
|
|
|
|
)
|
2020-02-12 12:57:17 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x SpanType) Enum() *SpanType {
|
|
|
|
p := new(SpanType)
|
|
|
|
*p = x
|
|
|
|
return p
|
2020-02-12 12:57:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x SpanType) String() string {
|
2022-10-20 13:00:50 +02:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
2020-02-12 12:57:17 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (SpanType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_proto_debug_proto_enumTypes[0].Descriptor()
|
2020-02-12 12:57:17 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (SpanType) Type() protoreflect.EnumType {
|
|
|
|
return &file_proto_debug_proto_enumTypes[0]
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x SpanType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use SpanType.Descriptor instead.
|
|
|
|
func (SpanType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{0}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
type BusMsg struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (x *BusMsg) Reset() {
|
|
|
|
*x = BusMsg{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (x *BusMsg) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*BusMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BusMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use BusMsg.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BusMsg) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *BusMsg) GetMsg() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Msg
|
2019-12-04 14:02:44 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
type HealthRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// optional service name
|
|
|
|
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *HealthRequest) Reset() {
|
|
|
|
*x = HealthRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *HealthRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*HealthRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HealthRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
// Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{1}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (x *HealthRequest) GetService() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Service
|
|
|
|
}
|
|
|
|
return ""
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
type HealthResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// default: ok
|
|
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *HealthResponse) Reset() {
|
|
|
|
*x = HealthResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *HealthResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*HealthResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HealthResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *HealthResponse) GetStatus() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Status
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StatsRequest struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2019-12-04 14:02:44 +02:00
|
|
|
// optional service name
|
2022-10-20 13:00:50 +02:00
|
|
|
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsRequest) Reset() {
|
|
|
|
*x = StatsRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*StatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StatsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsRequest) GetService() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Service
|
2019-12-04 14:02:44 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-08-06 18:53:14 +02:00
|
|
|
type StatsResponse struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2019-12-05 01:51:07 +02:00
|
|
|
// timestamp of recording
|
|
|
|
Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
// unix timestamp
|
2019-12-05 01:51:07 +02:00
|
|
|
Started uint64 `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
// in seconds
|
2019-12-05 01:51:07 +02:00
|
|
|
Uptime uint64 `protobuf:"varint,3,opt,name=uptime,proto3" json:"uptime,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
// in bytes
|
2019-12-05 01:51:07 +02:00
|
|
|
Memory uint64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
// num threads
|
2019-12-05 01:51:07 +02:00
|
|
|
Threads uint64 `protobuf:"varint,5,opt,name=threads,proto3" json:"threads,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
// total gc in nanoseconds
|
2019-12-18 20:36:42 +02:00
|
|
|
Gc uint64 `protobuf:"varint,6,opt,name=gc,proto3" json:"gc,omitempty"`
|
|
|
|
// total number of requests
|
|
|
|
Requests uint64 `protobuf:"varint,7,opt,name=requests,proto3" json:"requests,omitempty"`
|
|
|
|
// total number of errors
|
2022-10-20 13:00:50 +02:00
|
|
|
Errors uint64 `protobuf:"varint,8,opt,name=errors,proto3" json:"errors,omitempty"`
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) Reset() {
|
|
|
|
*x = StatsResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*StatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StatsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StatsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2019-08-06 18:53:14 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetTimestamp() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Timestamp
|
2019-12-05 01:51:07 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetStarted() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Started
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetUptime() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Uptime
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetMemory() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Memory
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetThreads() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Threads
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetGc() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Gc
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetRequests() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Requests
|
2019-12-18 20:36:42 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *StatsResponse) GetErrors() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Errors
|
2019-12-18 20:36:42 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-12-01 15:15:10 +02:00
|
|
|
// LogRequest requests service logs
|
2019-11-26 17:39:55 +02:00
|
|
|
type LogRequest struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2019-12-04 14:02:44 +02:00
|
|
|
// service to request logs for
|
|
|
|
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
|
|
// stream records continuously
|
|
|
|
Stream bool `protobuf:"varint,2,opt,name=stream,proto3" json:"stream,omitempty"`
|
2019-12-01 15:15:10 +02:00
|
|
|
// count of records to request
|
2019-12-04 14:02:44 +02:00
|
|
|
Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
2019-11-26 17:39:55 +02:00
|
|
|
// relative time in seconds
|
|
|
|
// before the current time
|
|
|
|
// from which to show logs
|
2022-10-20 13:00:50 +02:00
|
|
|
Since int64 `protobuf:"varint,4,opt,name=since,proto3" json:"since,omitempty"`
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) Reset() {
|
|
|
|
*x = LogRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*LogRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LogRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LogRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
2019-11-26 17:39:55 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) GetService() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Service
|
2019-12-04 14:02:44 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) GetStream() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Stream
|
2019-12-04 14:02:44 +02:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) GetCount() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Count
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *LogRequest) GetSince() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Since
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-12-01 15:15:10 +02:00
|
|
|
// Record is service log record
|
2022-10-20 13:00:50 +02:00
|
|
|
// Also used as default basic message type to test requests.
|
2019-12-01 15:15:10 +02:00
|
|
|
type Record struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2019-12-01 15:15:10 +02:00
|
|
|
// timestamp of log record
|
2019-11-27 19:31:35 +02:00
|
|
|
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
2019-12-01 15:15:10 +02:00
|
|
|
// record metadata
|
2019-12-18 18:02:11 +02:00
|
|
|
Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
// message
|
2022-10-20 13:00:50 +02:00
|
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
2019-11-27 19:31:35 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Record) Reset() {
|
|
|
|
*x = Record{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Record) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*Record) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Record) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use Record.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Record) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
2019-11-27 19:31:35 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Record) GetTimestamp() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Timestamp
|
2019-11-27 19:31:35 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
2019-11-26 17:39:55 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Record) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
2019-12-18 18:02:11 +02:00
|
|
|
return nil
|
2019-11-26 17:39:55 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Record) GetMessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Message
|
2019-11-27 19:31:35 +02:00
|
|
|
}
|
2019-12-18 18:02:11 +02:00
|
|
|
return ""
|
2019-11-27 19:31:35 +02:00
|
|
|
}
|
|
|
|
|
2020-01-24 23:29:29 +02:00
|
|
|
type TraceRequest struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-01-24 23:29:29 +02:00
|
|
|
// trace id to retrieve
|
2022-10-20 13:00:50 +02:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *TraceRequest) Reset() {
|
|
|
|
*x = TraceRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *TraceRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*TraceRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TraceRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use TraceRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TraceRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *TraceRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type TraceResponse struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-01-24 23:29:29 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
Spans []*Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"`
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *TraceResponse) Reset() {
|
|
|
|
*x = TraceResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (x *TraceResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*TraceResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TraceResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[8]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use TraceResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TraceResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *TraceResponse) GetSpans() []*Span {
|
|
|
|
if x != nil {
|
|
|
|
return x.Spans
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Span struct {
|
2022-10-20 13:00:50 +02:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-01-24 23:29:29 +02:00
|
|
|
// the trace id
|
|
|
|
Trace string `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
|
|
|
|
// id of the span
|
|
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
// parent span
|
|
|
|
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
|
|
// name of the resource
|
|
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
// time of start in nanoseconds
|
|
|
|
Started uint64 `protobuf:"varint,5,opt,name=started,proto3" json:"started,omitempty"`
|
|
|
|
// duration of the execution in nanoseconds
|
|
|
|
Duration uint64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"`
|
|
|
|
// associated metadata
|
2022-10-20 13:00:50 +02:00
|
|
|
Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
Type SpanType `protobuf:"varint,8,opt,name=type,proto3,enum=debug.SpanType" json:"type,omitempty"`
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) Reset() {
|
|
|
|
*x = Span{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
2022-10-20 13:00:50 +02:00
|
|
|
|
|
|
|
func (*Span) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Span) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_proto_debug_proto_msgTypes[9]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
// Deprecated: Use Span.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Span) Descriptor() ([]byte, []int) {
|
|
|
|
return file_proto_debug_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
2020-01-24 23:29:29 +02:00
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetTrace() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Trace
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetParent() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Parent
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetStarted() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Started
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetDuration() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Duration
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2020-01-24 23:29:29 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
func (x *Span) GetType() SpanType {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2020-02-12 12:57:17 +02:00
|
|
|
}
|
|
|
|
return SpanType_INBOUND
|
|
|
|
}
|
|
|
|
|
2022-10-20 13:00:50 +02:00
|
|
|
var File_proto_debug_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_proto_debug_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x12, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x22, 0x1a, 0x0a, 0x06, 0x42, 0x75,
|
|
|
|
0x73, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x29, 0x0a, 0x0d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
|
|
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
|
|
0x65, 0x22, 0x28, 0x0a, 0x0e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x28, 0x0a, 0x0c, 0x53,
|
|
|
|
0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73,
|
|
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65,
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xd5, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
|
|
|
0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
|
|
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12,
|
|
|
|
0x16, 0x0a, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
|
|
0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
|
|
|
|
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12,
|
|
|
|
0x18, 0x0a, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
|
|
|
|
0x52, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x63, 0x18,
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x67, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18,
|
|
|
|
0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x6a, 0x0a,
|
|
|
|
0x0a, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73,
|
|
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65,
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x14, 0x0a,
|
|
|
|
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
0x28, 0x03, 0x52, 0x05, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x06, 0x52, 0x65,
|
|
|
|
0x63, 0x6f, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
|
|
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
|
|
0x6d, 0x70, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x52, 0x65, 0x63,
|
|
|
|
0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
|
|
|
|
0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
|
|
0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
0x38, 0x01, 0x22, 0x1e, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
|
0x69, 0x64, 0x22, 0x32, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52,
|
|
|
|
0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x04, 0x53, 0x70, 0x61, 0x6e, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x74, 0x72, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a,
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
0x28, 0x04, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64,
|
|
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64,
|
|
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
|
|
|
|
0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x65, 0x62, 0x75,
|
|
|
|
0x67, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23,
|
|
|
|
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x64,
|
|
|
|
0x65, 0x62, 0x75, 0x67, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
|
|
0x79, 0x70, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
|
|
0x2a, 0x25, 0x0a, 0x08, 0x53, 0x70, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07,
|
|
|
|
0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x55, 0x54,
|
|
|
|
0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x32, 0x8b, 0x02, 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75,
|
|
|
|
0x67, 0x12, 0x2b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x11, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67,
|
|
|
|
0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x64, 0x65,
|
|
|
|
0x62, 0x75, 0x67, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x00, 0x30, 0x01, 0x12, 0x37,
|
|
|
|
0x0a, 0x06, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x14, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67,
|
|
|
|
0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
|
|
|
|
0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73,
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73,
|
|
|
|
0x12, 0x13, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x53, 0x74,
|
|
|
|
0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x34, 0x0a,
|
|
|
|
0x05, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x13, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x54,
|
|
|
|
0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x64, 0x65,
|
|
|
|
0x62, 0x75, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x75,
|
|
|
|
0x73, 0x12, 0x0d, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x42, 0x75, 0x73, 0x4d, 0x73, 0x67,
|
|
|
|
0x1a, 0x0d, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x42, 0x75, 0x73, 0x4d, 0x73, 0x67, 0x22,
|
|
|
|
0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x3b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_proto_debug_proto_rawDescOnce sync.Once
|
|
|
|
file_proto_debug_proto_rawDescData = file_proto_debug_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_proto_debug_proto_rawDescGZIP() []byte {
|
|
|
|
file_proto_debug_proto_rawDescOnce.Do(func() {
|
|
|
|
file_proto_debug_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_debug_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_proto_debug_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_proto_debug_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_proto_debug_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
|
var file_proto_debug_proto_goTypes = []interface{}{
|
|
|
|
(SpanType)(0), // 0: debug.SpanType
|
|
|
|
(*BusMsg)(nil), // 1: debug.BusMsg
|
|
|
|
(*HealthRequest)(nil), // 2: debug.HealthRequest
|
|
|
|
(*HealthResponse)(nil), // 3: debug.HealthResponse
|
|
|
|
(*StatsRequest)(nil), // 4: debug.StatsRequest
|
|
|
|
(*StatsResponse)(nil), // 5: debug.StatsResponse
|
|
|
|
(*LogRequest)(nil), // 6: debug.LogRequest
|
|
|
|
(*Record)(nil), // 7: debug.Record
|
|
|
|
(*TraceRequest)(nil), // 8: debug.TraceRequest
|
|
|
|
(*TraceResponse)(nil), // 9: debug.TraceResponse
|
|
|
|
(*Span)(nil), // 10: debug.Span
|
|
|
|
nil, // 11: debug.Record.MetadataEntry
|
|
|
|
nil, // 12: debug.Span.MetadataEntry
|
|
|
|
}
|
|
|
|
var file_proto_debug_proto_depIdxs = []int32{
|
|
|
|
11, // 0: debug.Record.metadata:type_name -> debug.Record.MetadataEntry
|
|
|
|
10, // 1: debug.TraceResponse.spans:type_name -> debug.Span
|
|
|
|
12, // 2: debug.Span.metadata:type_name -> debug.Span.MetadataEntry
|
|
|
|
0, // 3: debug.Span.type:type_name -> debug.SpanType
|
|
|
|
6, // 4: debug.Debug.Log:input_type -> debug.LogRequest
|
|
|
|
2, // 5: debug.Debug.Health:input_type -> debug.HealthRequest
|
|
|
|
4, // 6: debug.Debug.Stats:input_type -> debug.StatsRequest
|
|
|
|
8, // 7: debug.Debug.Trace:input_type -> debug.TraceRequest
|
|
|
|
1, // 8: debug.Debug.MessageBus:input_type -> debug.BusMsg
|
|
|
|
7, // 9: debug.Debug.Log:output_type -> debug.Record
|
|
|
|
3, // 10: debug.Debug.Health:output_type -> debug.HealthResponse
|
|
|
|
5, // 11: debug.Debug.Stats:output_type -> debug.StatsResponse
|
|
|
|
9, // 12: debug.Debug.Trace:output_type -> debug.TraceResponse
|
|
|
|
1, // 13: debug.Debug.MessageBus:output_type -> debug.BusMsg
|
|
|
|
9, // [9:14] is the sub-list for method output_type
|
|
|
|
4, // [4:9] is the sub-list for method input_type
|
|
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
|
|
0, // [0:4] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_proto_debug_proto_init() }
|
|
|
|
func file_proto_debug_proto_init() {
|
|
|
|
if File_proto_debug_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_proto_debug_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*BusMsg); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HealthRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HealthResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StatsRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StatsResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LogRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Record); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TraceRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TraceResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_proto_debug_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Span); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_proto_debug_proto_rawDesc,
|
|
|
|
NumEnums: 1,
|
|
|
|
NumMessages: 12,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_proto_debug_proto_goTypes,
|
|
|
|
DependencyIndexes: file_proto_debug_proto_depIdxs,
|
|
|
|
EnumInfos: file_proto_debug_proto_enumTypes,
|
|
|
|
MessageInfos: file_proto_debug_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_proto_debug_proto = out.File
|
|
|
|
file_proto_debug_proto_rawDesc = nil
|
|
|
|
file_proto_debug_proto_goTypes = nil
|
|
|
|
file_proto_debug_proto_depIdxs = nil
|
2019-08-06 18:53:14 +02:00
|
|
|
}
|