未验证 提交 b6b70ec5 编写于 作者: 何延龙 提交者: GitHub

[WIP] Fix sw7 (#221)

fix bugs
上级 c9aff2cb
......@@ -23,35 +23,35 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// In most cases, detect point should be `server` or `client`.
// Even in service mesh, this means `server`/`client` side sidecar
// `proxy` is reserved only.
type DetectPoint int32
type DetectPointV1 int32
const (
DetectPoint_client DetectPoint = 0
DetectPoint_server DetectPoint = 1
DetectPoint_proxy DetectPoint = 2
DetectPointV1_client DetectPointV1 = 0
DetectPointV1_server DetectPointV1 = 1
DetectPointV1_proxy DetectPointV1 = 2
)
var DetectPoint_name = map[int32]string{
var DetectPointV1_name = map[int32]string{
0: "client",
1: "server",
2: "proxy",
}
var DetectPoint_value = map[string]int32{
var DetectPointV1_value = map[string]int32{
"client": 0,
"server": 1,
"proxy": 2,
}
func (x DetectPoint) String() string {
return proto.EnumName(DetectPoint_name, int32(x))
func (x DetectPointV1) String() string {
return proto.EnumName(DetectPointV1_name, int32(x))
}
func (DetectPoint) EnumDescriptor() ([]byte, []int) {
func (DetectPointV1) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{0}
}
type KeyStringValuePair struct {
type KeyStringValuePairV1 struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
......@@ -59,39 +59,39 @@ type KeyStringValuePair struct {
XXX_sizecache int32 `json:"-"`
}
func (m *KeyStringValuePair) Reset() { *m = KeyStringValuePair{} }
func (m *KeyStringValuePair) String() string { return proto.CompactTextString(m) }
func (*KeyStringValuePair) ProtoMessage() {}
func (*KeyStringValuePair) Descriptor() ([]byte, []int) {
func (m *KeyStringValuePairV1) Reset() { *m = KeyStringValuePairV1{} }
func (m *KeyStringValuePairV1) String() string { return proto.CompactTextString(m) }
func (*KeyStringValuePairV1) ProtoMessage() {}
func (*KeyStringValuePairV1) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{0}
}
func (m *KeyStringValuePair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyStringValuePair.Unmarshal(m, b)
func (m *KeyStringValuePairV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyStringValuePairV1.Unmarshal(m, b)
}
func (m *KeyStringValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyStringValuePair.Marshal(b, m, deterministic)
func (m *KeyStringValuePairV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyStringValuePairV1.Marshal(b, m, deterministic)
}
func (m *KeyStringValuePair) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyStringValuePair.Merge(m, src)
func (m *KeyStringValuePairV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyStringValuePairV1.Merge(m, src)
}
func (m *KeyStringValuePair) XXX_Size() int {
return xxx_messageInfo_KeyStringValuePair.Size(m)
func (m *KeyStringValuePairV1) XXX_Size() int {
return xxx_messageInfo_KeyStringValuePairV1.Size(m)
}
func (m *KeyStringValuePair) XXX_DiscardUnknown() {
xxx_messageInfo_KeyStringValuePair.DiscardUnknown(m)
func (m *KeyStringValuePairV1) XXX_DiscardUnknown() {
xxx_messageInfo_KeyStringValuePairV1.DiscardUnknown(m)
}
var xxx_messageInfo_KeyStringValuePair proto.InternalMessageInfo
var xxx_messageInfo_KeyStringValuePairV1 proto.InternalMessageInfo
func (m *KeyStringValuePair) GetKey() string {
func (m *KeyStringValuePairV1) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KeyStringValuePair) GetValue() string {
func (m *KeyStringValuePairV1) GetValue() string {
if m != nil {
return m.Value
}
......@@ -145,125 +145,125 @@ func (m *KeyIntValuePair) GetValue() int32 {
return 0
}
type CPU struct {
type CPUV1 struct {
UsagePercent float64 `protobuf:"fixed64,2,opt,name=usagePercent,proto3" json:"usagePercent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CPU) Reset() { *m = CPU{} }
func (m *CPU) String() string { return proto.CompactTextString(m) }
func (*CPU) ProtoMessage() {}
func (*CPU) Descriptor() ([]byte, []int) {
func (m *CPUV1) Reset() { *m = CPUV1{} }
func (m *CPUV1) String() string { return proto.CompactTextString(m) }
func (*CPUV1) ProtoMessage() {}
func (*CPUV1) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{2}
}
func (m *CPU) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CPU.Unmarshal(m, b)
func (m *CPUV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CPUV1.Unmarshal(m, b)
}
func (m *CPU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CPU.Marshal(b, m, deterministic)
func (m *CPUV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CPUV1.Marshal(b, m, deterministic)
}
func (m *CPU) XXX_Merge(src proto.Message) {
xxx_messageInfo_CPU.Merge(m, src)
func (m *CPUV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_CPUV1.Merge(m, src)
}
func (m *CPU) XXX_Size() int {
return xxx_messageInfo_CPU.Size(m)
func (m *CPUV1) XXX_Size() int {
return xxx_messageInfo_CPUV1.Size(m)
}
func (m *CPU) XXX_DiscardUnknown() {
xxx_messageInfo_CPU.DiscardUnknown(m)
func (m *CPUV1) XXX_DiscardUnknown() {
xxx_messageInfo_CPUV1.DiscardUnknown(m)
}
var xxx_messageInfo_CPU proto.InternalMessageInfo
var xxx_messageInfo_CPUV1 proto.InternalMessageInfo
func (m *CPU) GetUsagePercent() float64 {
func (m *CPUV1) GetUsagePercent() float64 {
if m != nil {
return m.UsagePercent
}
return 0
}
type Commands struct {
Commands []*Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CommandsV1 struct {
Commands []*CommandV1 `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Commands) Reset() { *m = Commands{} }
func (m *Commands) String() string { return proto.CompactTextString(m) }
func (*Commands) ProtoMessage() {}
func (*Commands) Descriptor() ([]byte, []int) {
func (m *CommandsV1) Reset() { *m = CommandsV1{} }
func (m *CommandsV1) String() string { return proto.CompactTextString(m) }
func (*CommandsV1) ProtoMessage() {}
func (*CommandsV1) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{3}
}
func (m *Commands) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Commands.Unmarshal(m, b)
func (m *CommandsV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommandsV1.Unmarshal(m, b)
}
func (m *Commands) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Commands.Marshal(b, m, deterministic)
func (m *CommandsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommandsV1.Marshal(b, m, deterministic)
}
func (m *Commands) XXX_Merge(src proto.Message) {
xxx_messageInfo_Commands.Merge(m, src)
func (m *CommandsV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommandsV1.Merge(m, src)
}
func (m *Commands) XXX_Size() int {
return xxx_messageInfo_Commands.Size(m)
func (m *CommandsV1) XXX_Size() int {
return xxx_messageInfo_CommandsV1.Size(m)
}
func (m *Commands) XXX_DiscardUnknown() {
xxx_messageInfo_Commands.DiscardUnknown(m)
func (m *CommandsV1) XXX_DiscardUnknown() {
xxx_messageInfo_CommandsV1.DiscardUnknown(m)
}
var xxx_messageInfo_Commands proto.InternalMessageInfo
var xxx_messageInfo_CommandsV1 proto.InternalMessageInfo
func (m *Commands) GetCommands() []*Command {
func (m *CommandsV1) GetCommands() []*CommandV1 {
if m != nil {
return m.Commands
}
return nil
}
type Command struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Args []*KeyStringValuePair `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CommandV1 struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Args []*KeyStringValuePairV1 `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Command) Reset() { *m = Command{} }
func (m *Command) String() string { return proto.CompactTextString(m) }
func (*Command) ProtoMessage() {}
func (*Command) Descriptor() ([]byte, []int) {
func (m *CommandV1) Reset() { *m = CommandV1{} }
func (m *CommandV1) String() string { return proto.CompactTextString(m) }
func (*CommandV1) ProtoMessage() {}
func (*CommandV1) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{4}
}
func (m *Command) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Command.Unmarshal(m, b)
func (m *CommandV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommandV1.Unmarshal(m, b)
}
func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Command.Marshal(b, m, deterministic)
func (m *CommandV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommandV1.Marshal(b, m, deterministic)
}
func (m *Command) XXX_Merge(src proto.Message) {
xxx_messageInfo_Command.Merge(m, src)
func (m *CommandV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommandV1.Merge(m, src)
}
func (m *Command) XXX_Size() int {
return xxx_messageInfo_Command.Size(m)
func (m *CommandV1) XXX_Size() int {
return xxx_messageInfo_CommandV1.Size(m)
}
func (m *Command) XXX_DiscardUnknown() {
xxx_messageInfo_Command.DiscardUnknown(m)
func (m *CommandV1) XXX_DiscardUnknown() {
xxx_messageInfo_CommandV1.DiscardUnknown(m)
}
var xxx_messageInfo_Command proto.InternalMessageInfo
var xxx_messageInfo_CommandV1 proto.InternalMessageInfo
func (m *Command) GetCommand() string {
func (m *CommandV1) GetCommand() string {
if m != nil {
return m.Command
}
return ""
}
func (m *Command) GetArgs() []*KeyStringValuePair {
func (m *CommandV1) GetArgs() []*KeyStringValuePairV1 {
if m != nil {
return m.Args
}
......@@ -271,37 +271,37 @@ func (m *Command) GetArgs() []*KeyStringValuePair {
}
func init() {
proto.RegisterEnum("skywalking.network.protocol.common.v1.DetectPoint", DetectPoint_name, DetectPoint_value)
proto.RegisterType((*KeyStringValuePair)(nil), "skywalking.network.protocol.common.v1.KeyStringValuePair")
proto.RegisterType((*KeyIntValuePair)(nil), "skywalking.network.protocol.common.v1.KeyIntValuePair")
proto.RegisterType((*CPU)(nil), "skywalking.network.protocol.common.v1.CPU")
proto.RegisterType((*Commands)(nil), "skywalking.network.protocol.common.v1.Commands")
proto.RegisterType((*Command)(nil), "skywalking.network.protocol.common.v1.Command")
proto.RegisterEnum("DetectPointV1", DetectPointV1_name, DetectPointV1_value)
proto.RegisterType((*KeyStringValuePairV1)(nil), "KeyStringValuePairV1")
proto.RegisterType((*KeyIntValuePair)(nil), "KeyIntValuePair")
proto.RegisterType((*CPUV1)(nil), "CPUV1")
proto.RegisterType((*CommandsV1)(nil), "CommandsV1")
proto.RegisterType((*CommandV1)(nil), "CommandV1")
}
func init() { proto.RegisterFile("common/common.proto", fileDescriptor_8f954d82c0b891f6) }
var fileDescriptor_8f954d82c0b891f6 = []byte{
// 327 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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x8d, 0x2e, 0xa5, 0x66, 0x45, 0xb0, 0xd3, 0x7b, 0x0a, 0xba, 0x06, 0x24, 0x2e,
0x74, 0x0d, 0x6c, 0x92, 0x6f, 0x5b, 0xf2, 0x08, 0xfb, 0x4c, 0x85, 0xb9, 0x6b, 0x57, 0x66, 0xd3,
0x86, 0x66, 0xff, 0xff, 0x69, 0x50, 0xad, 0xb9, 0xb8, 0x84, 0xc1, 0x1d, 0x6a, 0xe4, 0xda, 0x97,
0x91, 0xd0, 0x04, 0xa0, 0xc3, 0x93, 0x08, 0x85, 0x76, 0xf6, 0x36, 0x75, 0x8e, 0xaa, 0x40, 0xe5,
0x58, 0xa4, 0x0f, 0xed, 0x4c, 0xc9, 0xcf, 0xd2, 0xb1, 0x6f, 0x43, 0x18, 0x49, 0x15, 0x52, 0x96,
0x31, 0xfe, 0x81, 0xbf, 0xed, 0x59, 0x96, 0xee, 0x22, 0xd4, 0xce, 0xbe, 0xf5, 0x7a, 0xfa, 0x33,
0x30, 0x36, 0xa4, 0x79, 0x17, 0xe3, 0x62, 0xf2, 0x65, 0x9f, 0x2c, 0xe2, 0xf2, 0xc5, 0xe8, 0x9f,
0x6a, 0xda, 0x37, 0xe9, 0xdf, 0x3a, 0xd5, 0x1d, 0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69,
0x54, 0x58, 0x93, 0x4f, 0x02, 0x00, 0x00,
// 324 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xeb, 0x40,
0x14, 0x85, 0x5f, 0xd2, 0x97, 0xbe, 0xd7, 0xfb, 0x9e, 0x18, 0xc6, 0x0a, 0x41, 0x5c, 0x94, 0x2c,
0xa4, 0x2a, 0x4c, 0x49, 0x75, 0xe3, 0xc6, 0x85, 0x75, 0x23, 0x05, 0x19, 0x52, 0x8c, 0xe0, 0x6e,
0x1c, 0x2f, 0x31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0xff, 0xab, 0x99, 0x2b, 0xd4,
0x6b, 0xd4, 0xbe, 0x43, 0x06, 0xe0, 0x2d, 0xb5, 0x7a, 0xab, 0x7d, 0xf7, 0x26, 0x85, 0xb1, 0xd2,
0x29, 0xe5, 0x4b, 0x2e, 0x5e, 0x91, 0x56, 0x79, 0xbd, 0xe1, 0x45, 0x9e, 0xc9, 0x46, 0x29, 0xa9,
0x44, 0xb3, 0x51, 0x3a, 0xa7, 0x5d, 0x2b, 0xcc, 0x79, 0x3a, 0xfe, 0x34, 0x4c, 0x2c, 0xb4, 0x95,
0x4d, 0xd6, 0xd1, 0xbb, 0x7b, 0xb4, 0xc8, 0xeb, 0x47, 0x9b, 0xbf, 0xef, 0x30, 0x6b, 0x9a, 0x14,
0xaa, 0x78, 0xee, 0xb7, 0x9d, 0x5e, 0x7c, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xd7, 0xb0, 0x33,
0xea, 0x01, 0x00, 0x00,
}
......@@ -23,74 +23,35 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// In most cases, detect point should be `server` or `client`.
// Even in service mesh, this means `server`/`client` side sidecar
// `proxy` is reserved only.
type DetectPoint int32
type DetectPointV2 int32
const (
DetectPoint_client DetectPoint = 0
DetectPoint_server DetectPoint = 1
DetectPoint_proxy DetectPoint = 2
DetectPointV2_client DetectPointV2 = 0
DetectPointV2_server DetectPointV2 = 1
DetectPointV2_proxy DetectPointV2 = 2
)
var DetectPoint_name = map[int32]string{
var DetectPointV2_name = map[int32]string{
0: "client",
1: "server",
2: "proxy",
}
var DetectPoint_value = map[string]int32{
var DetectPointV2_value = map[string]int32{
"client": 0,
"server": 1,
"proxy": 2,
}
func (x DetectPoint) String() string {
return proto.EnumName(DetectPoint_name, int32(x))
func (x DetectPointV2) String() string {
return proto.EnumName(DetectPointV2_name, int32(x))
}
func (DetectPoint) EnumDescriptor() ([]byte, []int) {
func (DetectPointV2) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{0}
}
type ServiceType int32
const (
// An agent works inside the normal business application.
ServiceType_normal ServiceType = 0
// An agent works inside the database.
ServiceType_database ServiceType = 1
// An agent works inside the MQ.
ServiceType_mq ServiceType = 2
// An agent works inside the cache server.
ServiceType_cache ServiceType = 3
// An agent works inside the browser.
ServiceType_browser ServiceType = 4
)
var ServiceType_name = map[int32]string{
0: "normal",
1: "database",
2: "mq",
3: "cache",
4: "browser",
}
var ServiceType_value = map[string]int32{
"normal": 0,
"database": 1,
"mq": 2,
"cache": 3,
"browser": 4,
}
func (x ServiceType) String() string {
return proto.EnumName(ServiceType_name, int32(x))
}
func (ServiceType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{1}
}
type KeyStringValuePair struct {
type KeyStringValuePairV2 struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
......@@ -98,46 +59,46 @@ type KeyStringValuePair struct {
XXX_sizecache int32 `json:"-"`
}
func (m *KeyStringValuePair) Reset() { *m = KeyStringValuePair{} }
func (m *KeyStringValuePair) String() string { return proto.CompactTextString(m) }
func (*KeyStringValuePair) ProtoMessage() {}
func (*KeyStringValuePair) Descriptor() ([]byte, []int) {
func (m *KeyStringValuePairV2) Reset() { *m = KeyStringValuePairV2{} }
func (m *KeyStringValuePairV2) String() string { return proto.CompactTextString(m) }
func (*KeyStringValuePairV2) ProtoMessage() {}
func (*KeyStringValuePairV2) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{0}
}
func (m *KeyStringValuePair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyStringValuePair.Unmarshal(m, b)
func (m *KeyStringValuePairV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyStringValuePairV2.Unmarshal(m, b)
}
func (m *KeyStringValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyStringValuePair.Marshal(b, m, deterministic)
func (m *KeyStringValuePairV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyStringValuePairV2.Marshal(b, m, deterministic)
}
func (m *KeyStringValuePair) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyStringValuePair.Merge(m, src)
func (m *KeyStringValuePairV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyStringValuePairV2.Merge(m, src)
}
func (m *KeyStringValuePair) XXX_Size() int {
return xxx_messageInfo_KeyStringValuePair.Size(m)
func (m *KeyStringValuePairV2) XXX_Size() int {
return xxx_messageInfo_KeyStringValuePairV2.Size(m)
}
func (m *KeyStringValuePair) XXX_DiscardUnknown() {
xxx_messageInfo_KeyStringValuePair.DiscardUnknown(m)
func (m *KeyStringValuePairV2) XXX_DiscardUnknown() {
xxx_messageInfo_KeyStringValuePairV2.DiscardUnknown(m)
}
var xxx_messageInfo_KeyStringValuePair proto.InternalMessageInfo
var xxx_messageInfo_KeyStringValuePairV2 proto.InternalMessageInfo
func (m *KeyStringValuePair) GetKey() string {
func (m *KeyStringValuePairV2) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KeyStringValuePair) GetValue() string {
func (m *KeyStringValuePairV2) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type KeyIntValuePair struct {
type KeyIntValuePairV2 struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
......@@ -145,164 +106,164 @@ type KeyIntValuePair struct {
XXX_sizecache int32 `json:"-"`
}
func (m *KeyIntValuePair) Reset() { *m = KeyIntValuePair{} }
func (m *KeyIntValuePair) String() string { return proto.CompactTextString(m) }
func (*KeyIntValuePair) ProtoMessage() {}
func (*KeyIntValuePair) Descriptor() ([]byte, []int) {
func (m *KeyIntValuePairV2) Reset() { *m = KeyIntValuePairV2{} }
func (m *KeyIntValuePairV2) String() string { return proto.CompactTextString(m) }
func (*KeyIntValuePairV2) ProtoMessage() {}
func (*KeyIntValuePairV2) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{1}
}
func (m *KeyIntValuePair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyIntValuePair.Unmarshal(m, b)
func (m *KeyIntValuePairV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyIntValuePairV2.Unmarshal(m, b)
}
func (m *KeyIntValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyIntValuePair.Marshal(b, m, deterministic)
func (m *KeyIntValuePairV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyIntValuePairV2.Marshal(b, m, deterministic)
}
func (m *KeyIntValuePair) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyIntValuePair.Merge(m, src)
func (m *KeyIntValuePairV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyIntValuePairV2.Merge(m, src)
}
func (m *KeyIntValuePair) XXX_Size() int {
return xxx_messageInfo_KeyIntValuePair.Size(m)
func (m *KeyIntValuePairV2) XXX_Size() int {
return xxx_messageInfo_KeyIntValuePairV2.Size(m)
}
func (m *KeyIntValuePair) XXX_DiscardUnknown() {
xxx_messageInfo_KeyIntValuePair.DiscardUnknown(m)
func (m *KeyIntValuePairV2) XXX_DiscardUnknown() {
xxx_messageInfo_KeyIntValuePairV2.DiscardUnknown(m)
}
var xxx_messageInfo_KeyIntValuePair proto.InternalMessageInfo
var xxx_messageInfo_KeyIntValuePairV2 proto.InternalMessageInfo
func (m *KeyIntValuePair) GetKey() string {
func (m *KeyIntValuePairV2) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KeyIntValuePair) GetValue() int32 {
func (m *KeyIntValuePairV2) GetValue() int32 {
if m != nil {
return m.Value
}
return 0
}
type CPU struct {
type CPUV2 struct {
UsagePercent float64 `protobuf:"fixed64,2,opt,name=usagePercent,proto3" json:"usagePercent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CPU) Reset() { *m = CPU{} }
func (m *CPU) String() string { return proto.CompactTextString(m) }
func (*CPU) ProtoMessage() {}
func (*CPU) Descriptor() ([]byte, []int) {
func (m *CPUV2) Reset() { *m = CPUV2{} }
func (m *CPUV2) String() string { return proto.CompactTextString(m) }
func (*CPUV2) ProtoMessage() {}
func (*CPUV2) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{2}
}
func (m *CPU) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CPU.Unmarshal(m, b)
func (m *CPUV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CPUV2.Unmarshal(m, b)
}
func (m *CPU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CPU.Marshal(b, m, deterministic)
func (m *CPUV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CPUV2.Marshal(b, m, deterministic)
}
func (m *CPU) XXX_Merge(src proto.Message) {
xxx_messageInfo_CPU.Merge(m, src)
func (m *CPUV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_CPUV2.Merge(m, src)
}
func (m *CPU) XXX_Size() int {
return xxx_messageInfo_CPU.Size(m)
func (m *CPUV2) XXX_Size() int {
return xxx_messageInfo_CPUV2.Size(m)
}
func (m *CPU) XXX_DiscardUnknown() {
xxx_messageInfo_CPU.DiscardUnknown(m)
func (m *CPUV2) XXX_DiscardUnknown() {
xxx_messageInfo_CPUV2.DiscardUnknown(m)
}
var xxx_messageInfo_CPU proto.InternalMessageInfo
var xxx_messageInfo_CPUV2 proto.InternalMessageInfo
func (m *CPU) GetUsagePercent() float64 {
func (m *CPUV2) GetUsagePercent() float64 {
if m != nil {
return m.UsagePercent
}
return 0
}
type Commands struct {
Commands []*Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CommandsV2 struct {
Commands []*CommandV2 `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Commands) Reset() { *m = Commands{} }
func (m *Commands) String() string { return proto.CompactTextString(m) }
func (*Commands) ProtoMessage() {}
func (*Commands) Descriptor() ([]byte, []int) {
func (m *CommandsV2) Reset() { *m = CommandsV2{} }
func (m *CommandsV2) String() string { return proto.CompactTextString(m) }
func (*CommandsV2) ProtoMessage() {}
func (*CommandsV2) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{3}
}
func (m *Commands) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Commands.Unmarshal(m, b)
func (m *CommandsV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommandsV2.Unmarshal(m, b)
}
func (m *Commands) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Commands.Marshal(b, m, deterministic)
func (m *CommandsV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommandsV2.Marshal(b, m, deterministic)
}
func (m *Commands) XXX_Merge(src proto.Message) {
xxx_messageInfo_Commands.Merge(m, src)
func (m *CommandsV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommandsV2.Merge(m, src)
}
func (m *Commands) XXX_Size() int {
return xxx_messageInfo_Commands.Size(m)
func (m *CommandsV2) XXX_Size() int {
return xxx_messageInfo_CommandsV2.Size(m)
}
func (m *Commands) XXX_DiscardUnknown() {
xxx_messageInfo_Commands.DiscardUnknown(m)
func (m *CommandsV2) XXX_DiscardUnknown() {
xxx_messageInfo_CommandsV2.DiscardUnknown(m)
}
var xxx_messageInfo_Commands proto.InternalMessageInfo
var xxx_messageInfo_CommandsV2 proto.InternalMessageInfo
func (m *Commands) GetCommands() []*Command {
func (m *CommandsV2) GetCommands() []*CommandV2 {
if m != nil {
return m.Commands
}
return nil
}
type Command struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Args []*KeyStringValuePair `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CommandV2 struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Args []*KeyStringValuePairV2 `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Command) Reset() { *m = Command{} }
func (m *Command) String() string { return proto.CompactTextString(m) }
func (*Command) ProtoMessage() {}
func (*Command) Descriptor() ([]byte, []int) {
func (m *CommandV2) Reset() { *m = CommandV2{} }
func (m *CommandV2) String() string { return proto.CompactTextString(m) }
func (*CommandV2) ProtoMessage() {}
func (*CommandV2) Descriptor() ([]byte, []int) {
return fileDescriptor_8f954d82c0b891f6, []int{4}
}
func (m *Command) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Command.Unmarshal(m, b)
func (m *CommandV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommandV2.Unmarshal(m, b)
}
func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Command.Marshal(b, m, deterministic)
func (m *CommandV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommandV2.Marshal(b, m, deterministic)
}
func (m *Command) XXX_Merge(src proto.Message) {
xxx_messageInfo_Command.Merge(m, src)
func (m *CommandV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommandV2.Merge(m, src)
}
func (m *Command) XXX_Size() int {
return xxx_messageInfo_Command.Size(m)
func (m *CommandV2) XXX_Size() int {
return xxx_messageInfo_CommandV2.Size(m)
}
func (m *Command) XXX_DiscardUnknown() {
xxx_messageInfo_Command.DiscardUnknown(m)
func (m *CommandV2) XXX_DiscardUnknown() {
xxx_messageInfo_CommandV2.DiscardUnknown(m)
}
var xxx_messageInfo_Command proto.InternalMessageInfo
var xxx_messageInfo_CommandV2 proto.InternalMessageInfo
func (m *Command) GetCommand() string {
func (m *CommandV2) GetCommand() string {
if m != nil {
return m.Command
}
return ""
}
func (m *Command) GetArgs() []*KeyStringValuePair {
func (m *CommandV2) GetArgs() []*KeyStringValuePairV2 {
if m != nil {
return m.Args
}
......@@ -310,41 +271,36 @@ func (m *Command) GetArgs() []*KeyStringValuePair {
}
func init() {
proto.RegisterEnum("skywalking.network.protocol.common.DetectPoint", DetectPoint_name, DetectPoint_value)
proto.RegisterEnum("skywalking.network.protocol.common.ServiceType", ServiceType_name, ServiceType_value)
proto.RegisterType((*KeyStringValuePair)(nil), "skywalking.network.protocol.common.KeyStringValuePair")
proto.RegisterType((*KeyIntValuePair)(nil), "skywalking.network.protocol.common.KeyIntValuePair")
proto.RegisterType((*CPU)(nil), "skywalking.network.protocol.common.CPU")
proto.RegisterType((*Commands)(nil), "skywalking.network.protocol.common.Commands")
proto.RegisterType((*Command)(nil), "skywalking.network.protocol.common.Command")
proto.RegisterEnum("DetectPointV2", DetectPointV2_name, DetectPointV2_value)
proto.RegisterType((*KeyStringValuePairV2)(nil), "KeyStringValuePairV2")
proto.RegisterType((*KeyIntValuePairV2)(nil), "KeyIntValuePairV2")
proto.RegisterType((*CPUV2)(nil), "CPUV2")
proto.RegisterType((*CommandsV2)(nil), "CommandsV2")
proto.RegisterType((*CommandV2)(nil), "CommandV2")
}
func init() { proto.RegisterFile("common/common.proto", fileDescriptor_8f954d82c0b891f6) }
var fileDescriptor_8f954d82c0b891f6 = []byte{
// 378 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0xab, 0xd3, 0x40,
0x10, 0x6f, 0x92, 0x7e, 0x4e, 0x0a, 0x2e, 0xab, 0x87, 0x20, 0x1e, 0x4a, 0x4e, 0xb5, 0x42, 0x2a,
0x15, 0x04, 0xc1, 0x93, 0x15, 0x8a, 0x16, 0x24, 0x24, 0x7e, 0x80, 0xb7, 0xed, 0x76, 0x88, 0x21,
0xc9, 0x6e, 0xdc, 0x6c, 0x53, 0xf3, 0x2f, 0xf9, 0x57, 0x4a, 0x92, 0x6d, 0x7d, 0x8f, 0x77, 0x78,
0x3d, 0x65, 0xe6, 0xf7, 0x91, 0x99, 0xf9, 0xb1, 0xf0, 0x94, 0xcb, 0xa2, 0x90, 0x62, 0xdd, 0x7f,
0x82, 0x52, 0x49, 0x2d, 0xa9, 0x5f, 0x65, 0xcd, 0x99, 0xe5, 0x59, 0x2a, 0x92, 0x40, 0xa0, 0x3e,
0x4b, 0x95, 0xf5, 0x0c, 0x97, 0x79, 0xd0, 0x2b, 0xfd, 0xf7, 0x40, 0xf7, 0xd8, 0xc4, 0x5a, 0xa5,
0x22, 0xf9, 0xce, 0xf2, 0x13, 0x86, 0x2c, 0x55, 0x94, 0x80, 0x93, 0x61, 0xe3, 0x59, 0x0b, 0x6b,
0x39, 0x8b, 0xda, 0x92, 0x3e, 0x83, 0x51, 0xdd, 0xd2, 0x9e, 0xdd, 0x61, 0x7d, 0xe3, 0xbf, 0x83,
0x27, 0x7b, 0x6c, 0x3e, 0x09, 0x7d, 0xb3, 0x75, 0x74, 0xb1, 0xbe, 0x04, 0x67, 0x1b, 0x7e, 0xa3,
0x3e, 0xcc, 0x4f, 0x15, 0x4b, 0x30, 0x44, 0xc5, 0x51, 0xe8, 0x4e, 0x63, 0x45, 0xf7, 0x30, 0x3f,
0x86, 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0xa5, 0xf1, 0xe6, 0x5f, 0x00, 0x00, 0x00,
0xff, 0xff, 0xe2, 0x02, 0x58, 0x1a, 0x8f, 0x02, 0x00, 0x00,
// 320 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x41, 0x4b, 0xfb, 0x30,
0x18, 0xc6, 0xff, 0xed, 0xfe, 0x9d, 0xee, 0x55, 0xa1, 0xc6, 0x09, 0x45, 0x3c, 0x8c, 0x1e, 0x64,
0x2a, 0x74, 0x10, 0xbd, 0x09, 0x1e, 0x9c, 0x17, 0x19, 0x48, 0xe8, 0xb0, 0x82, 0xb7, 0x18, 0x5f,
0x6a, 0x69, 0x9b, 0x8c, 0x34, 0xdb, 0xec, 0x57, 0xf2, 0x53, 0x4a, 0xdb, 0x6c, 0x22, 0x78, 0xf1,
0x94, 0xf7, 0x7d, 0x7e, 0xcf, 0x13, 0x42, 0x1e, 0x38, 0x12, 0xaa, 0x2c, 0x95, 0x9c, 0x74, 0x47,
0xb4, 0xd0, 0xca, 0xa8, 0xf0, 0x16, 0x86, 0x33, 0xac, 0xe7, 0x46, 0x67, 0x32, 0x4d, 0x78, 0xb1,
0x44, 0xc6, 0x33, 0x9d, 0x50, 0xe2, 0x43, 0x2f, 0xc7, 0x3a, 0x70, 0x46, 0xce, 0x78, 0x10, 0x37,
0x23, 0x19, 0x82, 0xb7, 0x6a, 0x0c, 0x81, 0xdb, 0x6a, 0xdd, 0x12, 0xde, 0xc0, 0xe1, 0x0c, 0xeb,
0x07, 0x69, 0xfe, 0x10, 0xf6, 0x36, 0xe1, 0x4b, 0xf0, 0xa6, 0xec, 0x29, 0xa1, 0x24, 0x84, 0xfd,
0x65, 0xc5, 0x53, 0x64, 0xa8, 0x05, 0x4a, 0xd3, 0xba, 0x9c, 0xf8, 0x87, 0x16, 0x5e, 0x03, 0x4c,
0x55, 0x59, 0x72, 0xf9, 0x56, 0x25, 0x94, 0x9c, 0xc1, 0xae, 0xb0, 0x5b, 0xe0, 0x8c, 0x7a, 0xe3,
0x3d, 0x0a, 0x91, 0xc5, 0x09, 0x8d, 0xb7, 0x2c, 0x64, 0x30, 0xd8, 0xca, 0x24, 0x80, 0x1d, 0x0b,
0xec, 0xdb, 0x36, 0x2b, 0x39, 0x87, 0xff, 0x5c, 0xa7, 0x55, 0xe0, 0xb6, 0x57, 0x1d, 0x47, 0xbf,
0xfd, 0x49, 0xdc, 0x5a, 0x2e, 0x28, 0x1c, 0xdc, 0xa3, 0x41, 0x61, 0x98, 0xca, 0xa4, 0x49, 0x28,
0x01, 0xe8, 0x8b, 0x22, 0x43, 0x69, 0xfc, 0x7f, 0xcd, 0x5c, 0xa1, 0x5e, 0xa1, 0xf6, 0x1d, 0x32,
0x00, 0x6f, 0xa1, 0xd5, 0x47, 0xed, 0xbb, 0x77, 0x29, 0x8c, 0x95, 0x4e, 0x23, 0xbe, 0xe0, 0xe2,
0x1d, 0xa3, 0x2a, 0xaf, 0xd7, 0xbc, 0xc8, 0x33, 0xd9, 0x28, 0x65, 0x24, 0xd1, 0xac, 0x95, 0xce,
0xa3, 0xae, 0x17, 0xe6, 0xbc, 0x9c, 0x7e, 0x1b, 0x26, 0x16, 0xda, 0xd2, 0x26, 0x2b, 0xfa, 0xe9,
0x9e, 0xcc, 0xf3, 0xfa, 0xd9, 0xe6, 0x1f, 0x3b, 0xcc, 0x9a, 0x2e, 0x85, 0x2a, 0x5e, 0xfb, 0x6d,
0xab, 0x57, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x84, 0x2a, 0x9c, 0x20, 0xec, 0x01, 0x00, 0x00,
}
......@@ -103,8 +103,8 @@ func (m *ApplicationMapping) GetApplication() *KeyWithIntegerValue {
}
func init() {
proto.RegisterType((*Application)(nil), "skywalking.network.protocol.agent.v1.Application")
proto.RegisterType((*ApplicationMapping)(nil), "skywalking.network.protocol.agent.v1.ApplicationMapping")
proto.RegisterType((*Application)(nil), "Application")
proto.RegisterType((*ApplicationMapping)(nil), "ApplicationMapping")
}
func init() {
......@@ -112,25 +112,24 @@ func init() {
}
var fileDescriptor_e1c2b07c1f73c603 = []byte{
// 279 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x4f, 0x4b, 0xc4, 0x30,
0x10, 0xc5, 0xad, 0x07, 0xc1, 0xf4, 0x20, 0x04, 0x41, 0xe9, 0x49, 0x8a, 0x87, 0x5e, 0x4c, 0xed,
0x0a, 0xea, 0x55, 0x3d, 0x89, 0x7f, 0x58, 0xba, 0xe0, 0x82, 0xb7, 0xb1, 0x0e, 0xd9, 0xd0, 0x98,
0x84, 0x6c, 0xb6, 0xa5, 0xdf, 0xc0, 0x6f, 0x22, 0xf8, 0x29, 0x85, 0x36, 0xbb, 0x86, 0xa2, 0xa0,
0xc7, 0x36, 0xef, 0xfd, 0xe6, 0xcd, 0x3c, 0x92, 0x4b, 0x50, 0x7c, 0x05, 0x1c, 0x4f, 0x80, 0xa3,
0x72, 0xf9, 0x95, 0x31, 0x52, 0x54, 0xe0, 0x84, 0x56, 0x25, 0x72, 0xb1, 0x74, 0x68, 0x67, 0x68,
0x1b, 0x51, 0x21, 0x33, 0x56, 0x3b, 0x4d, 0x8f, 0x97, 0x75, 0xd7, 0x82, 0xac, 0x85, 0xe2, 0x4c,
0xa1, 0x6b, 0xb5, 0xad, 0x87, 0x97, 0x4a, 0x4b, 0xd6, 0x33, 0x58, 0x53, 0x24, 0xd9, 0x08, 0x7b,
0x87, 0xdd, 0x5c, 0xb8, 0xc5, 0xad, 0x72, 0xc8, 0xd1, 0x3e, 0x81, 0x5c, 0x79, 0x5e, 0x7a, 0x41,
0xe2, 0x60, 0x26, 0xcd, 0xc8, 0x1e, 0x7c, 0x7f, 0xde, 0xe8, 0x57, 0x3c, 0x8c, 0x8e, 0xa2, 0x6c,
0xb7, 0x1c, 0xff, 0x4e, 0xef, 0x09, 0x0d, 0x8c, 0x0f, 0x60, 0x8c, 0x50, 0x9c, 0x9e, 0x93, 0x38,
0x10, 0xf6, 0xde, 0x78, 0xb2, 0xcf, 0x7e, 0x98, 0x5f, 0x86, 0xc2, 0xc9, 0x47, 0x44, 0x92, 0xdf,
0x77, 0xa7, 0xef, 0x11, 0x39, 0x18, 0x05, 0x58, 0x4b, 0x68, 0xc1, 0xfe, 0x72, 0x12, 0x16, 0xd0,
0x93, 0xcb, 0x7f, 0x5b, 0xfc, 0x7e, 0xe9, 0xd6, 0x75, 0x4b, 0x4e, 0xb5, 0xe5, 0x0c, 0x0c, 0x54,
0x0b, 0x0c, 0x39, 0x60, 0xde, 0x36, 0xac, 0xf5, 0xf9, 0x07, 0xd6, 0x34, 0x7a, 0x0e, 0x6a, 0xcb,
0xbd, 0x68, 0x53, 0x7d, 0x3e, 0x74, 0xd4, 0x14, 0x9f, 0xdb, 0xc9, 0xac, 0xee, 0xe6, 0x9e, 0xf7,
0x38, 0xc8, 0xa6, 0x3e, 0xd6, 0xcb, 0x4e, 0x1f, 0xf0, 0xec, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xa5,
0xe7, 0xe2, 0x75, 0x33, 0x02, 0x00, 0x00,
// 262 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcf, 0x4b, 0xc3, 0x30,
0x14, 0xc7, 0xad, 0x07, 0xc1, 0x54, 0x10, 0xa2, 0xa0, 0xf4, 0x24, 0xc5, 0x43, 0x2f, 0xbe, 0xea,
0x04, 0xbd, 0x09, 0xea, 0x49, 0xfc, 0xc1, 0xe8, 0xc0, 0x81, 0x78, 0x79, 0xd6, 0x47, 0x16, 0x1a,
0x93, 0x90, 0x65, 0x2b, 0xfd, 0x97, 0xfc, 0x2b, 0x65, 0x5d, 0xe7, 0x42, 0x75, 0xc7, 0x3c, 0x3e,
0xdf, 0xf7, 0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00, 0x00, 0xff, 0xff, 0x02, 0x5e,
0x49, 0x1c, 0xc1, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -158,7 +157,7 @@ func NewApplicationRegisterServiceClient(cc *grpc.ClientConn) ApplicationRegiste
func (c *applicationRegisterServiceClient) ApplicationCodeRegister(ctx context.Context, in *Application, opts ...grpc.CallOption) (*ApplicationMapping, error) {
out := new(ApplicationMapping)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v1.ApplicationRegisterService/applicationCodeRegister", in, out, opts...)
err := c.cc.Invoke(ctx, "/ApplicationRegisterService/applicationCodeRegister", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -192,7 +191,7 @@ func _ApplicationRegisterService_ApplicationCodeRegister_Handler(srv interface{}
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v1.ApplicationRegisterService/ApplicationCodeRegister",
FullMethod: "/ApplicationRegisterService/ApplicationCodeRegister",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegisterServiceServer).ApplicationCodeRegister(ctx, req.(*Application))
......@@ -201,7 +200,7 @@ func _ApplicationRegisterService_ApplicationCodeRegister_Handler(srv interface{}
}
var _ApplicationRegisterService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v1.ApplicationRegisterService",
ServiceName: "ApplicationRegisterService",
HandlerType: (*ApplicationRegisterServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......
......@@ -5,9 +5,9 @@ package v1
import (
fmt "fmt"
v1 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v1"
proto "github.com/golang/protobuf/proto"
math "math"
v1 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v1"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -21,70 +21,70 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CLRMetric struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Cpu *v1.CPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
Gc *ClrGC `protobuf:"bytes,3,opt,name=gc,proto3" json:"gc,omitempty"`
Thread *ClrThread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CLRMetricV1 struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Cpu *v1.CPUV1 `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
Gc *ClrGCV1 `protobuf:"bytes,3,opt,name=gc,proto3" json:"gc,omitempty"`
Thread *ClrThreadV1 `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CLRMetric) Reset() { *m = CLRMetric{} }
func (m *CLRMetric) String() string { return proto.CompactTextString(m) }
func (*CLRMetric) ProtoMessage() {}
func (*CLRMetric) Descriptor() ([]byte, []int) {
func (m *CLRMetricV1) Reset() { *m = CLRMetricV1{} }
func (m *CLRMetricV1) String() string { return proto.CompactTextString(m) }
func (*CLRMetricV1) ProtoMessage() {}
func (*CLRMetricV1) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{0}
}
func (m *CLRMetric) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetric.Unmarshal(m, b)
func (m *CLRMetricV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetricV1.Unmarshal(m, b)
}
func (m *CLRMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetric.Marshal(b, m, deterministic)
func (m *CLRMetricV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetricV1.Marshal(b, m, deterministic)
}
func (m *CLRMetric) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetric.Merge(m, src)
func (m *CLRMetricV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetricV1.Merge(m, src)
}
func (m *CLRMetric) XXX_Size() int {
return xxx_messageInfo_CLRMetric.Size(m)
func (m *CLRMetricV1) XXX_Size() int {
return xxx_messageInfo_CLRMetricV1.Size(m)
}
func (m *CLRMetric) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetric.DiscardUnknown(m)
func (m *CLRMetricV1) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetricV1.DiscardUnknown(m)
}
var xxx_messageInfo_CLRMetric proto.InternalMessageInfo
var xxx_messageInfo_CLRMetricV1 proto.InternalMessageInfo
func (m *CLRMetric) GetTime() int64 {
func (m *CLRMetricV1) GetTime() int64 {
if m != nil {
return m.Time
}
return 0
}
func (m *CLRMetric) GetCpu() *v1.CPU {
func (m *CLRMetricV1) GetCpu() *v1.CPUV1 {
if m != nil {
return m.Cpu
}
return nil
}
func (m *CLRMetric) GetGc() *ClrGC {
func (m *CLRMetricV1) GetGc() *ClrGCV1 {
if m != nil {
return m.Gc
}
return nil
}
func (m *CLRMetric) GetThread() *ClrThread {
func (m *CLRMetricV1) GetThread() *ClrThreadV1 {
if m != nil {
return m.Thread
}
return nil
}
type ClrGC struct {
type ClrGCV1 struct {
Gen0CollectCount int64 `protobuf:"varint,1,opt,name=Gen0CollectCount,proto3" json:"Gen0CollectCount,omitempty"`
Gen1CollectCount int64 `protobuf:"varint,2,opt,name=Gen1CollectCount,proto3" json:"Gen1CollectCount,omitempty"`
Gen2CollectCount int64 `protobuf:"varint,3,opt,name=Gen2CollectCount,proto3" json:"Gen2CollectCount,omitempty"`
......@@ -94,60 +94,60 @@ type ClrGC struct {
XXX_sizecache int32 `json:"-"`
}
func (m *ClrGC) Reset() { *m = ClrGC{} }
func (m *ClrGC) String() string { return proto.CompactTextString(m) }
func (*ClrGC) ProtoMessage() {}
func (*ClrGC) Descriptor() ([]byte, []int) {
func (m *ClrGCV1) Reset() { *m = ClrGCV1{} }
func (m *ClrGCV1) String() string { return proto.CompactTextString(m) }
func (*ClrGCV1) ProtoMessage() {}
func (*ClrGCV1) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{1}
}
func (m *ClrGC) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrGC.Unmarshal(m, b)
func (m *ClrGCV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrGCV1.Unmarshal(m, b)
}
func (m *ClrGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrGC.Marshal(b, m, deterministic)
func (m *ClrGCV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrGCV1.Marshal(b, m, deterministic)
}
func (m *ClrGC) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrGC.Merge(m, src)
func (m *ClrGCV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrGCV1.Merge(m, src)
}
func (m *ClrGC) XXX_Size() int {
return xxx_messageInfo_ClrGC.Size(m)
func (m *ClrGCV1) XXX_Size() int {
return xxx_messageInfo_ClrGCV1.Size(m)
}
func (m *ClrGC) XXX_DiscardUnknown() {
xxx_messageInfo_ClrGC.DiscardUnknown(m)
func (m *ClrGCV1) XXX_DiscardUnknown() {
xxx_messageInfo_ClrGCV1.DiscardUnknown(m)
}
var xxx_messageInfo_ClrGC proto.InternalMessageInfo
var xxx_messageInfo_ClrGCV1 proto.InternalMessageInfo
func (m *ClrGC) GetGen0CollectCount() int64 {
func (m *ClrGCV1) GetGen0CollectCount() int64 {
if m != nil {
return m.Gen0CollectCount
}
return 0
}
func (m *ClrGC) GetGen1CollectCount() int64 {
func (m *ClrGCV1) GetGen1CollectCount() int64 {
if m != nil {
return m.Gen1CollectCount
}
return 0
}
func (m *ClrGC) GetGen2CollectCount() int64 {
func (m *ClrGCV1) GetGen2CollectCount() int64 {
if m != nil {
return m.Gen2CollectCount
}
return 0
}
func (m *ClrGC) GetHeapMemory() int64 {
func (m *ClrGCV1) GetHeapMemory() int64 {
if m != nil {
return m.HeapMemory
}
return 0
}
type ClrThread struct {
type ClrThreadV1 struct {
AvailableCompletionPortThreads int32 `protobuf:"varint,1,opt,name=AvailableCompletionPortThreads,proto3" json:"AvailableCompletionPortThreads,omitempty"`
AvailableWorkerThreads int32 `protobuf:"varint,2,opt,name=AvailableWorkerThreads,proto3" json:"AvailableWorkerThreads,omitempty"`
MaxCompletionPortThreads int32 `protobuf:"varint,3,opt,name=MaxCompletionPortThreads,proto3" json:"MaxCompletionPortThreads,omitempty"`
......@@ -157,53 +157,53 @@ type ClrThread struct {
XXX_sizecache int32 `json:"-"`
}
func (m *ClrThread) Reset() { *m = ClrThread{} }
func (m *ClrThread) String() string { return proto.CompactTextString(m) }
func (*ClrThread) ProtoMessage() {}
func (*ClrThread) Descriptor() ([]byte, []int) {
func (m *ClrThreadV1) Reset() { *m = ClrThreadV1{} }
func (m *ClrThreadV1) String() string { return proto.CompactTextString(m) }
func (*ClrThreadV1) ProtoMessage() {}
func (*ClrThreadV1) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{2}
}
func (m *ClrThread) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrThread.Unmarshal(m, b)
func (m *ClrThreadV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrThreadV1.Unmarshal(m, b)
}
func (m *ClrThread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrThread.Marshal(b, m, deterministic)
func (m *ClrThreadV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrThreadV1.Marshal(b, m, deterministic)
}
func (m *ClrThread) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrThread.Merge(m, src)
func (m *ClrThreadV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrThreadV1.Merge(m, src)
}
func (m *ClrThread) XXX_Size() int {
return xxx_messageInfo_ClrThread.Size(m)
func (m *ClrThreadV1) XXX_Size() int {
return xxx_messageInfo_ClrThreadV1.Size(m)
}
func (m *ClrThread) XXX_DiscardUnknown() {
xxx_messageInfo_ClrThread.DiscardUnknown(m)
func (m *ClrThreadV1) XXX_DiscardUnknown() {
xxx_messageInfo_ClrThreadV1.DiscardUnknown(m)
}
var xxx_messageInfo_ClrThread proto.InternalMessageInfo
var xxx_messageInfo_ClrThreadV1 proto.InternalMessageInfo
func (m *ClrThread) GetAvailableCompletionPortThreads() int32 {
func (m *ClrThreadV1) GetAvailableCompletionPortThreads() int32 {
if m != nil {
return m.AvailableCompletionPortThreads
}
return 0
}
func (m *ClrThread) GetAvailableWorkerThreads() int32 {
func (m *ClrThreadV1) GetAvailableWorkerThreads() int32 {
if m != nil {
return m.AvailableWorkerThreads
}
return 0
}
func (m *ClrThread) GetMaxCompletionPortThreads() int32 {
func (m *ClrThreadV1) GetMaxCompletionPortThreads() int32 {
if m != nil {
return m.MaxCompletionPortThreads
}
return 0
}
func (m *ClrThread) GetMaxWorkerThreads() int32 {
func (m *ClrThreadV1) GetMaxWorkerThreads() int32 {
if m != nil {
return m.MaxWorkerThreads
}
......@@ -211,38 +211,37 @@ func (m *ClrThread) GetMaxWorkerThreads() int32 {
}
func init() {
proto.RegisterType((*CLRMetric)(nil), "skywalking.network.protocol.common.v1.CLRMetric")
proto.RegisterType((*ClrGC)(nil), "skywalking.network.protocol.common.v1.ClrGC")
proto.RegisterType((*ClrThread)(nil), "skywalking.network.protocol.common.v1.ClrThread")
proto.RegisterType((*CLRMetricV1)(nil), "CLRMetricV1")
proto.RegisterType((*ClrGCV1)(nil), "ClrGCV1")
proto.RegisterType((*ClrThreadV1)(nil), "ClrThreadV1")
}
func init() { proto.RegisterFile("common/CLR.proto", fileDescriptor_a10d56830892247a) }
var fileDescriptor_a10d56830892247a = []byte{
// 395 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0xea, 0xda, 0x30,
0x14, 0xc7, 0x69, 0xeb, 0x4f, 0x58, 0x76, 0x23, 0x19, 0x8c, 0xe2, 0x85, 0x88, 0x6c, 0x20, 0x32,
0x52, 0xeb, 0x60, 0x17, 0xc3, 0x9b, 0xad, 0x30, 0xbd, 0xb0, 0xa3, 0x64, 0x1b, 0xc2, 0xee, 0x62,
0x16, 0x6a, 0x69, 0x9a, 0x94, 0x18, 0xff, 0xbd, 0xd2, 0xf6, 0x5c, 0x7b, 0x82, 0xbd, 0xc0, 0x30,
0x8d, 0x9d, 0x45, 0x65, 0xde, 0xc9, 0xf7, 0x7c, 0x3e, 0xe7, 0x78, 0x7a, 0x02, 0x3a, 0x54, 0x16,
0x85, 0x14, 0x41, 0xb4, 0xc0, 0xa8, 0x54, 0x52, 0x4b, 0xf8, 0x7a, 0x93, 0x1f, 0xf7, 0x84, 0xe7,
0x99, 0x48, 0x91, 0x60, 0x7a, 0x2f, 0x55, 0x5e, 0x55, 0xa8, 0xe4, 0xa8, 0xa2, 0xd1, 0x2e, 0xec,
0xbe, 0xb0, 0xa2, 0x4d, 0x0c, 0x31, 0xf8, 0xed, 0x80, 0x67, 0xd1, 0x02, 0xc7, 0x4c, 0xab, 0x8c,
0x42, 0x08, 0x5a, 0x3a, 0x2b, 0x98, 0xef, 0xf4, 0x9d, 0xa1, 0x87, 0xcd, 0x6f, 0x38, 0x05, 0x1e,
0x2d, 0xb7, 0xbe, 0xdb, 0x77, 0x86, 0xcf, 0x27, 0x23, 0xf4, 0xd0, 0x2c, 0x14, 0x25, 0xdf, 0xf0,
0x49, 0x83, 0x53, 0xe0, 0xa6, 0xd4, 0xf7, 0x8c, 0xfc, 0xe6, 0x51, 0x99, 0xab, 0x59, 0x84, 0xdd,
0x94, 0xc2, 0x39, 0x68,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 0x4b, 0x7e, 0x5c,
0xda, 0x7e, 0x9f, 0x2b, 0x2c, 0xb1, 0x0f, 0x67, 0xd5, 0x36, 0x4f, 0xe8, 0xed, 0xdf, 0x00, 0x00,
0x00, 0xff, 0xff, 0xdb, 0x30, 0x45, 0x65, 0x5b, 0x03, 0x00, 0x00,
// 381 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0xeb, 0xd3, 0x30,
0x18, 0xc7, 0x69, 0x3b, 0xa7, 0x64, 0x1e, 0x46, 0x04, 0x29, 0x3b, 0x8c, 0x31, 0x76, 0x18, 0x1e,
0xd2, 0x75, 0x82, 0x07, 0x6f, 0x1a, 0x70, 0x1e, 0x56, 0x29, 0x51, 0x3b, 0xf0, 0x96, 0xc5, 0xd0,
0x95, 0xa6, 0x49, 0xc9, 0xb2, 0x7f, 0xf8, 0x8e, 0x04, 0x5f, 0x9e, 0x77, 0x69, 0xda, 0xcd, 0x95,
0x6d, 0xfc, 0x4e, 0x2d, 0x9f, 0xef, 0xe7, 0xdb, 0xe4, 0x29, 0x0f, 0xe8, 0x33, 0x55, 0x14, 0x4a,
0x06, 0x78, 0x49, 0x50, 0xa9, 0x95, 0x51, 0x83, 0x57, 0x0d, 0xa9, 0x1f, 0x35, 0x1c, 0xff, 0x02,
0x3d, 0xbc, 0x24, 0x11, 0x37, 0x3a, 0x63, 0x49, 0x08, 0x21, 0xe8, 0x98, 0xac, 0xe0, 0xbe, 0x33,
0x72, 0xa6, 0x1e, 0xb1, 0xef, 0xd0, 0x07, 0x1e, 0x2b, 0x77, 0xbe, 0x3b, 0x72, 0xa6, 0xbd, 0x79,
0x17, 0xe1, 0xf8, 0x7b, 0x12, 0x92, 0x0a, 0x41, 0x1f, 0xb8, 0x29, 0xf3, 0x3d, 0x1b, 0xbc, 0x40,
0x58, 0xe8, 0x05, 0x4e, 0x42, 0xe2, 0xa6, 0x0c,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x4c, 0xfe,
0x8b, 0x41, 0x23, 0x05, 0x67, 0x29, 0xb0, 0x52, 0xb0, 0x0f, 0x7f, 0xbb, 0x83, 0xaf, 0xf9, 0x69,
0xd5, 0x7c, 0xef, 0x4b, 0xad, 0xc5, 0xd5, 0x6a, 0x32, 0x25, 0xd6, 0x5d, 0xbb, 0xa4, 0x6f, 0xff,
0x05, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xfb, 0xea, 0x01, 0xcd, 0x02, 0x00, 0x00,
}
......@@ -433,12 +433,12 @@ func (m *ServiceNameMappingElement) GetElement() *ServiceNameElement {
}
type ServiceNameElement struct {
ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
ApplicationId int32 `protobuf:"varint,2,opt,name=applicationId,proto3" json:"applicationId,omitempty"`
SrcSpanType SpanType `protobuf:"varint,3,opt,name=srcSpanType,proto3,enum=skywalking.network.protocol.common.v1.SpanType" json:"srcSpanType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
ApplicationId int32 `protobuf:"varint,2,opt,name=applicationId,proto3" json:"applicationId,omitempty"`
SrcSpanType SpanTypeV1 `protobuf:"varint,3,opt,name=srcSpanType,proto3,enum=SpanTypeV1" json:"srcSpanType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceNameElement) Reset() { *m = ServiceNameElement{} }
......@@ -480,23 +480,23 @@ func (m *ServiceNameElement) GetApplicationId() int32 {
return 0
}
func (m *ServiceNameElement) GetSrcSpanType() SpanType {
func (m *ServiceNameElement) GetSrcSpanType() SpanTypeV1 {
if m != nil {
return m.SrcSpanType
}
return SpanType_Entry
return SpanTypeV1_Entry
}
func init() {
proto.RegisterType((*ApplicationInstance)(nil), "skywalking.network.protocol.agent.v1.ApplicationInstance")
proto.RegisterType((*ApplicationInstanceMapping)(nil), "skywalking.network.protocol.agent.v1.ApplicationInstanceMapping")
proto.RegisterType((*ApplicationInstanceRecover)(nil), "skywalking.network.protocol.agent.v1.ApplicationInstanceRecover")
proto.RegisterType((*ApplicationInstanceHeartbeat)(nil), "skywalking.network.protocol.agent.v1.ApplicationInstanceHeartbeat")
proto.RegisterType((*OSInfo)(nil), "skywalking.network.protocol.agent.v1.OSInfo")
proto.RegisterType((*ServiceNameCollection)(nil), "skywalking.network.protocol.agent.v1.ServiceNameCollection")
proto.RegisterType((*ServiceNameMappingCollection)(nil), "skywalking.network.protocol.agent.v1.ServiceNameMappingCollection")
proto.RegisterType((*ServiceNameMappingElement)(nil), "skywalking.network.protocol.agent.v1.ServiceNameMappingElement")
proto.RegisterType((*ServiceNameElement)(nil), "skywalking.network.protocol.agent.v1.ServiceNameElement")
proto.RegisterType((*ApplicationInstance)(nil), "ApplicationInstance")
proto.RegisterType((*ApplicationInstanceMapping)(nil), "ApplicationInstanceMapping")
proto.RegisterType((*ApplicationInstanceRecover)(nil), "ApplicationInstanceRecover")
proto.RegisterType((*ApplicationInstanceHeartbeat)(nil), "ApplicationInstanceHeartbeat")
proto.RegisterType((*OSInfo)(nil), "OSInfo")
proto.RegisterType((*ServiceNameCollection)(nil), "ServiceNameCollection")
proto.RegisterType((*ServiceNameMappingCollection)(nil), "ServiceNameMappingCollection")
proto.RegisterType((*ServiceNameMappingElement)(nil), "ServiceNameMappingElement")
proto.RegisterType((*ServiceNameElement)(nil), "ServiceNameElement")
}
func init() {
......@@ -504,49 +504,46 @@ func init() {
}
var fileDescriptor_59659d1d84d9b7a2 = []byte{
// 666 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0x4f, 0x6f, 0xd3, 0x3e,
0x18, 0xc7, 0xe7, 0x76, 0xdd, 0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b, 0x4d, 0x9c, 0x03, 0x37,
0x27, 0x5e, 0x71, 0xde, 0x7d, 0x30, 0xc0, 0xca, 0x03, 0xf4, 0xb4, 0xc1, 0xd0, 0x07, 0x78, 0x96,
0xa7, 0x7a, 0xd6, 0x3d, 0xdb, 0xb8, 0x22, 0xb7, 0xf6, 0x3e, 0x5e, 0xdc, 0x03, 0xee, 0x0a, 0x7a,
0x0d, 0xe6, 0x2c, 0x82, 0xe8, 0x10, 0x2f, 0x4b, 0xbe, 0xdd, 0xc4, 0xf3, 0x8a, 0x74, 0x57, 0xba,
0x14, 0xf6, 0x0b, 0xb7, 0x55, 0xb2, 0x78, 0x06, 0xe6, 0x5d, 0x8e, 0xa1, 0x5d, 0x5c, 0x99, 0x32,
0xfb, 0x10, 0x2f, 0xcb, 0x8c, 0xbb, 0xf2, 0x76, 0x02, 0x2f, 0x84, 0x1c, 0x60, 0x12, 0x11, 0x3a,
0x64, 0x58, 0x8d, 0xa6, 0x13, 0x12, 0x8c, 0x7c, 0x1e, 0x23, 0x21, 0xe6, 0x4c, 0x4f, 0x84, 0x1c,
0xe1, 0xbc, 0xc8, 0x71, 0x52, 0xa2, 0x97, 0xc6, 0x97, 0xe3, 0x39, 0xb1, 0x93, 0x91, 0x3a, 0x39,
0xa9, 0x93, 0xb6, 0xfd, 0xf8, 0xe4, 0x67, 0xcd, 0xee, 0x8f, 0xa6, 0x9f, 0x33, 0xbd, 0x8b, 0x94,
0x76, 0x19, 0xd7, 0x3b, 0x15, 0xc1, 0xed, 0x5a, 0x52, 0xf4, 0x2f, 0x7f, 0x07, 0x00, 0x00, 0xff,
0xff, 0xc1, 0x68, 0x7e, 0x01, 0x4d, 0x06, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -575,7 +572,7 @@ func NewInstanceDiscoveryServiceClient(cc *grpc.ClientConn) InstanceDiscoverySer
func (c *instanceDiscoveryServiceClient) RegisterInstance(ctx context.Context, in *ApplicationInstance, opts ...grpc.CallOption) (*ApplicationInstanceMapping, error) {
out := new(ApplicationInstanceMapping)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v1.InstanceDiscoveryService/registerInstance", in, out, opts...)
err := c.cc.Invoke(ctx, "/InstanceDiscoveryService/registerInstance", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -584,7 +581,7 @@ func (c *instanceDiscoveryServiceClient) RegisterInstance(ctx context.Context, i
func (c *instanceDiscoveryServiceClient) Heartbeat(ctx context.Context, in *ApplicationInstanceHeartbeat, opts ...grpc.CallOption) (*Downstream, error) {
out := new(Downstream)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v1.InstanceDiscoveryService/heartbeat", in, out, opts...)
err := c.cc.Invoke(ctx, "/InstanceDiscoveryService/heartbeat", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -622,7 +619,7 @@ func _InstanceDiscoveryService_RegisterInstance_Handler(srv interface{}, ctx con
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v1.InstanceDiscoveryService/RegisterInstance",
FullMethod: "/InstanceDiscoveryService/RegisterInstance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(InstanceDiscoveryServiceServer).RegisterInstance(ctx, req.(*ApplicationInstance))
......@@ -640,7 +637,7 @@ func _InstanceDiscoveryService_Heartbeat_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v1.InstanceDiscoveryService/Heartbeat",
FullMethod: "/InstanceDiscoveryService/Heartbeat",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(InstanceDiscoveryServiceServer).Heartbeat(ctx, req.(*ApplicationInstanceHeartbeat))
......@@ -649,7 +646,7 @@ func _InstanceDiscoveryService_Heartbeat_Handler(srv interface{}, ctx context.Co
}
var _InstanceDiscoveryService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v1.InstanceDiscoveryService",
ServiceName: "InstanceDiscoveryService",
HandlerType: (*InstanceDiscoveryServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......@@ -682,7 +679,7 @@ func NewServiceNameDiscoveryServiceClient(cc *grpc.ClientConn) ServiceNameDiscov
func (c *serviceNameDiscoveryServiceClient) Discovery(ctx context.Context, in *ServiceNameCollection, opts ...grpc.CallOption) (*ServiceNameMappingCollection, error) {
out := new(ServiceNameMappingCollection)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v1.ServiceNameDiscoveryService/discovery", in, out, opts...)
err := c.cc.Invoke(ctx, "/ServiceNameDiscoveryService/discovery", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -716,7 +713,7 @@ func _ServiceNameDiscoveryService_Discovery_Handler(srv interface{}, ctx context
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v1.ServiceNameDiscoveryService/Discovery",
FullMethod: "/ServiceNameDiscoveryService/Discovery",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceNameDiscoveryServiceServer).Discovery(ctx, req.(*ServiceNameCollection))
......@@ -725,7 +722,7 @@ func _ServiceNameDiscoveryService_Discovery_Handler(srv interface{}, ctx context
}
var _ServiceNameDiscoveryService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v1.ServiceNameDiscoveryService",
ServiceName: "ServiceNameDiscoveryService",
HandlerType: (*ServiceNameDiscoveryServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......
......@@ -53,21 +53,21 @@ func (m *Downstream) XXX_DiscardUnknown() {
var xxx_messageInfo_Downstream proto.InternalMessageInfo
func init() {
proto.RegisterType((*Downstream)(nil), "skywalking.network.protocol.agent.v1.Downstream")
proto.RegisterType((*Downstream)(nil), "Downstream")
}
func init() { proto.RegisterFile("language-agent/Downstream.proto", fileDescriptor_625677b377236e86) }
var fileDescriptor_625677b377236e86 = []byte{
// 158 bytes of a gzipped FileDescriptorProto
// 145 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcf, 0x49, 0xcc, 0x4b,
0x2f, 0x4d, 0x4c, 0x4f, 0xd5, 0x4d, 0x4c, 0x4f, 0xcd, 0x2b, 0xd1, 0x77, 0xc9, 0x2f, 0xcf, 0x2b,
0x2e, 0x29, 0x4a, 0x4d, 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x29, 0xce, 0xae,
0x2c, 0x4f, 0xcc, 0xc9, 0xce, 0xcc, 0x4b, 0xd7, 0xcb, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0x86,
0xc8, 0x24, 0xe7, 0xe7, 0xe8, 0x81, 0xf5, 0xe8, 0x95, 0x19, 0x2a, 0xf1, 0x70, 0x71, 0x21, 0x74,
0x3a, 0x95, 0x73, 0x19, 0xe4, 0x17, 0xa5, 0xeb, 0x25, 0x16, 0x24, 0x26, 0x67, 0xa4, 0xea, 0x21,
0x19, 0x90, 0x58, 0x90, 0x0b, 0x37, 0x04, 0x66, 0x31, 0xc4, 0x90, 0x00, 0xc6, 0x28, 0x24, 0x9b,
0xf4, 0xa1, 0x8a, 0xf4, 0x61, 0x8a, 0xf4, 0x21, 0xae, 0x2b, 0x33, 0x5c, 0xc5, 0x24, 0x15, 0x9c,
0x5d, 0x19, 0x0e, 0x35, 0xcf, 0x0f, 0xa2, 0x2c, 0x00, 0xea, 0x9e, 0x24, 0x36, 0xb0, 0xcb, 0x8c,
0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xd1, 0x62, 0xe3, 0xd6, 0x00, 0x00, 0x00,
0x2e, 0x29, 0x4a, 0x4d, 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x57, 0xe2, 0xe1, 0xe2, 0x42,
0x88, 0x39, 0x95, 0x73, 0x19, 0xe4, 0x17, 0xa5, 0xeb, 0x25, 0x16, 0x24, 0x26, 0x67, 0xa4, 0xea,
0x15, 0x67, 0x57, 0x96, 0x27, 0xe6, 0x64, 0x67, 0xe6, 0x81, 0x44, 0x72, 0xf5, 0xf2, 0x52, 0x4b,
0xca, 0xf3, 0x8b, 0xb2, 0xf5, 0x60, 0x46, 0xea, 0x81, 0x8d, 0x0c, 0x60, 0x8c, 0x52, 0x41, 0x28,
0xd4, 0x87, 0x2a, 0xd2, 0x87, 0x29, 0xd2, 0x87, 0xd8, 0x5b, 0x66, 0xb8, 0x8a, 0x49, 0x2a, 0x38,
0xbb, 0x32, 0x1c, 0x6a, 0x9e, 0x1f, 0x44, 0x59, 0x00, 0xc8, 0x0d, 0xc9, 0xf9, 0x39, 0x49, 0x6c,
0x60, 0xd7, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x88, 0x81, 0x76, 0xd1, 0xb0, 0x00, 0x00,
0x00,
}
......@@ -25,11 +25,11 @@ var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type JVMMetrics struct {
Metrics []*JVMMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ApplicationInstanceId int32 `protobuf:"varint,2,opt,name=applicationInstanceId,proto3" json:"applicationInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Metrics []*JVMMetricV1 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ApplicationInstanceId int32 `protobuf:"varint,2,opt,name=applicationInstanceId,proto3" json:"applicationInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JVMMetrics) Reset() { *m = JVMMetrics{} }
......@@ -57,7 +57,7 @@ func (m *JVMMetrics) XXX_DiscardUnknown() {
var xxx_messageInfo_JVMMetrics proto.InternalMessageInfo
func (m *JVMMetrics) GetMetrics() []*JVMMetric {
func (m *JVMMetrics) GetMetrics() []*JVMMetricV1 {
if m != nil {
return m.Metrics
}
......@@ -72,7 +72,7 @@ func (m *JVMMetrics) GetApplicationInstanceId() int32 {
}
func init() {
proto.RegisterType((*JVMMetrics)(nil), "skywalking.network.protocol.agent.v1.JVMMetrics")
proto.RegisterType((*JVMMetrics)(nil), "JVMMetrics")
}
func init() {
......@@ -80,25 +80,24 @@ func init() {
}
var fileDescriptor_84f947edc73ca4ba = []byte{
// 287 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xc3, 0x40,
0x10, 0x85, 0x4d, 0x45, 0x0b, 0xeb, 0x45, 0x03, 0x42, 0xc9, 0xc5, 0x52, 0x44, 0x7a, 0x71, 0xd3,
0x54, 0x7f, 0x81, 0x78, 0x69, 0xa1, 0x52, 0x5a, 0x50, 0xf0, 0x36, 0xae, 0x43, 0x0c, 0xd9, 0xec,
0x2c, 0xbb, 0x6b, 0x42, 0xef, 0x9e, 0xfd, 0x21, 0xfe, 0x4a, 0xb1, 0x9b, 0x34, 0x45, 0xa5, 0xf4,
0xb6, 0xec, 0xbc, 0xf9, 0xde, 0xe3, 0x0d, 0xbb, 0x92, 0xa0, 0xd2, 0x77, 0x48, 0xf1, 0x1a, 0x52,
0x54, 0x2e, 0x9e, 0x3e, 0xce, 0x66, 0xe8, 0x4c, 0x26, 0xec, 0x12, 0x4d, 0x99, 0x09, 0xe4, 0xda,
0x90, 0xa3, 0xf0, 0xd2, 0xe6, 0xab, 0x0a, 0x64, 0x9e, 0xa9, 0x94, 0x2b, 0x74, 0x15, 0x99, 0xdc,
0x4f, 0x04, 0x49, 0xbe, 0x5e, 0xe5, 0x65, 0x12, 0x5d, 0xfc, 0xa2, 0xdd, 0x53, 0xa5, 0xac, 0x33,
0x08, 0x85, 0x17, 0x47, 0xa7, 0x82, 0x8a, 0x82, 0xd4, 0x8f, 0x8d, 0xff, 0x19, 0x7c, 0x06, 0x8c,
0xb5, 0xa6, 0xe1, 0x94, 0x75, 0x0b, 0xff, 0xec, 0x05, 0xfd, 0xc3, 0xe1, 0xc9, 0x78, 0xc4, 0x77,
0x39, 0x7b, 0x1c, 0x2f, 0x13, 0xbe, 0x61, 0x2c, 0x1a, 0x40, 0x78, 0xcb, 0xce, 0x41, 0x6b, 0x99,
0x09, 0x70, 0x19, 0xa9, 0x89, 0xb2, 0x0e, 0x94, 0xc0, 0xc9, 0x6b, 0xaf, 0xd3, 0x0f, 0x86, 0x47,
0x8b, 0xff, 0x87, 0xe3, 0x8f, 0x80, 0x9d, 0xfd, 0x69, 0x21, 0x24, 0xd6, 0x15, 0x24, 0x25, 0x0a,
0x17, 0xee, 0x4e, 0xd4, 0x74, 0xd1, 0x06, 0xb2, 0xd1, 0x9e, 0x1b, 0x6d, 0x5b, 0x83, 0x83, 0xbb,
0x8a, 0x8d, 0xc8, 0xa4, 0x1c, 0x34, 0x88, 0x37, 0xdc, 0xde, 0x07, 0x5d, 0x6c, 0x18, 0x4d, 0xdd,
0x9e, 0x31, 0x0f, 0x9e, 0xb7, 0xce, 0x14, 0xd7, 0xa2, 0xb8, 0x11, 0xc5, 0xfe, 0x26, 0x65, 0xf2,
0xd5, 0x89, 0x96, 0xf9, 0xea, 0xa9, 0xe6, 0x3d, 0x78, 0xd9, 0xbc, 0x8e, 0xf3, 0x72, 0xbc, 0x0e,
0x76, 0xf3, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x57, 0xa7, 0x28, 0xbd, 0x1a, 0x02, 0x00, 0x00,
// 262 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4f, 0x4b, 0x03, 0x31,
0x14, 0xc4, 0xdd, 0x8a, 0x16, 0xb2, 0x1e, 0x74, 0x41, 0x28, 0x7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5b, 0x9f, 0x57, 0xf5, 0x97, 0xc1, 0xeb, 0x65, 0x07, 0x26, 0x0d, 0x94, 0xb4, 0x50,
0x52, 0x6f, 0xb4, 0x9d, 0x7e, 0xf7, 0xe2, 0x75, 0xb6, 0x7b, 0x69, 0xfc, 0x9e, 0x6b, 0x6c, 0x59,
0xae, 0x23, 0x48, 0xbd, 0x1d, 0x57, 0x3b, 0xdd, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x12, 0x4c,
0xb9, 0xde, 0x84, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -126,7 +125,7 @@ func NewJVMMetricsServiceClient(cc *grpc.ClientConn) JVMMetricsServiceClient {
func (c *jVMMetricsServiceClient) Collect(ctx context.Context, in *JVMMetrics, opts ...grpc.CallOption) (*Downstream, error) {
out := new(Downstream)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v1.JVMMetricsService/collect", in, out, opts...)
err := c.cc.Invoke(ctx, "/JVMMetricsService/collect", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -160,7 +159,7 @@ func _JVMMetricsService_Collect_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v1.JVMMetricsService/Collect",
FullMethod: "/JVMMetricsService/Collect",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JVMMetricsServiceServer).Collect(ctx, req.(*JVMMetrics))
......@@ -169,7 +168,7 @@ func _JVMMetricsService_Collect_Handler(srv interface{}, ctx context.Context, de
}
var _JVMMetricsService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v1.JVMMetricsService",
ServiceName: "JVMMetricsService",
HandlerType: (*JVMMetricsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......
......@@ -20,71 +20,71 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type SpanType int32
type SpanTypeV1 int32
const (
SpanType_Entry SpanType = 0
SpanType_Exit SpanType = 1
SpanType_Local SpanType = 2
SpanTypeV1_Entry SpanTypeV1 = 0
SpanTypeV1_Exit SpanTypeV1 = 1
SpanTypeV1_Local SpanTypeV1 = 2
)
var SpanType_name = map[int32]string{
var SpanTypeV1_name = map[int32]string{
0: "Entry",
1: "Exit",
2: "Local",
}
var SpanType_value = map[string]int32{
var SpanTypeV1_value = map[string]int32{
"Entry": 0,
"Exit": 1,
"Local": 2,
}
func (x SpanType) String() string {
return proto.EnumName(SpanType_name, int32(x))
func (x SpanTypeV1) String() string {
return proto.EnumName(SpanTypeV1_name, int32(x))
}
func (SpanType) EnumDescriptor() ([]byte, []int) {
func (SpanTypeV1) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{0}
}
type RefType int32
type RefTypeV1 int32
const (
RefType_CrossProcess RefType = 0
RefType_CrossThread RefType = 1
RefTypeV1_CrossProcess RefTypeV1 = 0
RefTypeV1_CrossThread RefTypeV1 = 1
)
var RefType_name = map[int32]string{
var RefTypeV1_name = map[int32]string{
0: "CrossProcess",
1: "CrossThread",
}
var RefType_value = map[string]int32{
var RefTypeV1_value = map[string]int32{
"CrossProcess": 0,
"CrossThread": 1,
}
func (x RefType) String() string {
return proto.EnumName(RefType_name, int32(x))
func (x RefTypeV1) String() string {
return proto.EnumName(RefTypeV1_name, int32(x))
}
func (RefType) EnumDescriptor() ([]byte, []int) {
func (RefTypeV1) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{1}
}
type SpanLayer int32
type SpanLayerV1 int32
const (
SpanLayer_Unknown SpanLayer = 0
SpanLayer_Database SpanLayer = 1
SpanLayer_RPCFramework SpanLayer = 2
SpanLayer_Http SpanLayer = 3
SpanLayer_MQ SpanLayer = 4
SpanLayer_Cache SpanLayer = 5
SpanLayerV1_Unknown SpanLayerV1 = 0
SpanLayerV1_Database SpanLayerV1 = 1
SpanLayerV1_RPCFramework SpanLayerV1 = 2
SpanLayerV1_Http SpanLayerV1 = 3
SpanLayerV1_MQ SpanLayerV1 = 4
SpanLayerV1_Cache SpanLayerV1 = 5
)
var SpanLayer_name = map[int32]string{
var SpanLayerV1_name = map[int32]string{
0: "Unknown",
1: "Database",
2: "RPCFramework",
......@@ -93,7 +93,7 @@ var SpanLayer_name = map[int32]string{
5: "Cache",
}
var SpanLayer_value = map[string]int32{
var SpanLayerV1_value = map[string]int32{
"Unknown": 0,
"Database": 1,
"RPCFramework": 2,
......@@ -102,11 +102,11 @@ var SpanLayer_value = map[string]int32{
"Cache": 5,
}
func (x SpanLayer) String() string {
return proto.EnumName(SpanLayer_name, int32(x))
func (x SpanLayerV1) String() string {
return proto.EnumName(SpanLayerV1_name, int32(x))
}
func (SpanLayer) EnumDescriptor() ([]byte, []int) {
func (SpanLayerV1) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{2}
}
......@@ -197,39 +197,38 @@ func (m *UniqueId) GetIdParts() []int64 {
}
func init() {
proto.RegisterEnum("skywalking.network.protocol.common.v1.SpanType", SpanType_name, SpanType_value)
proto.RegisterEnum("skywalking.network.protocol.common.v1.RefType", RefType_name, RefType_value)
proto.RegisterEnum("skywalking.network.protocol.common.v1.SpanLayer", SpanLayer_name, SpanLayer_value)
proto.RegisterType((*UpstreamSegment)(nil), "skywalking.network.protocol.common.v1.UpstreamSegment")
proto.RegisterType((*UniqueId)(nil), "skywalking.network.protocol.common.v1.UniqueId")
proto.RegisterEnum("SpanTypeV1", SpanTypeV1_name, SpanTypeV1_value)
proto.RegisterEnum("RefTypeV1", RefTypeV1_name, RefTypeV1_value)
proto.RegisterEnum("SpanLayerV1", SpanLayerV1_name, SpanLayerV1_value)
proto.RegisterType((*UpstreamSegment)(nil), "UpstreamSegment")
proto.RegisterType((*UniqueId)(nil), "UniqueId")
}
func init() { proto.RegisterFile("common/trace-common.proto", fileDescriptor_f5d7d2e503402948) }
var fileDescriptor_f5d7d2e503402948 = []byte{
// 375 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x6e, 0xd4, 0x30,
0x10, 0x87, 0x37, 0xd9, 0xb6, 0x9b, 0xce, 0xae, 0xa8, 0xe5, 0xd3, 0xc2, 0xa9, 0xaa, 0x8a, 0x54,
0x45, 0x90, 0x50, 0x78, 0x03, 0x96, 0x22, 0x2a, 0x15, 0x14, 0xb2, 0x1b, 0x55, 0xe2, 0x36, 0x9b,
0x0c, 0x69, 0x94, 0xc4, 0x0e, 0xb6, 0xbb, 0x21, 0x77, 0x9e, 0x86, 0xa7, 0x44, 0xce, 0x1f, 0x40,
0x9c, 0x38, 0xfe, 0xc6, 0x9f, 0xbf, 0xb1, 0x67, 0xe0, 0x69, 0x2a, 0xeb, 0x5a, 0x8a, 0xd0, 0x28,
0x4c, 0xe9, 0xe5, 0x10, 0x82, 0x46, 0x49, 0x23, 0xf9, 0x73, 0x5d, 0x76, 0x2d, 0x56, 0x65, 0x21,
0xf2, 0x40, 0x90, 0x69, 0xa5, 0x2a, 0x87, 0x93, 0x54, 0x56, 0xc1, 0x48, 0x1e, 0xae, 0x2f, 0x7e,
0x38, 0x70, 0x96, 0x34, 0xda, 0x28, 0xc2, 0x7a, 0x4b, 0x79, 0x4d, 0xc2, 0xf0, 0x7b, 0x78, 0x92,
0x57, 0x72, 0x8f, 0xd5, 0xce, 0x6a, 0x6f, 0x33, 0xbd, 0x76, 0xce, 0xe7, 0x57, 0xcb, 0xd7, 0x61,
0xf0, 0x5f, 0xce, 0x20, 0x11, 0xc5, 0xb7, 0x47, 0xba, 0xcd, 0xe2, 0x7f, 0x34, 0x7c, 0x0d, 0x0b,
0x3d, 0xf4, 0x58, 0xbb, 0xe7, 0xce, 0xd5, 0x2a, 0x9e, 0xe2, 0xc5, 0x25, 0x78, 0xd3, 0x2d, 0x4b,
0x15, 0x59, 0x84, 0xca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00, 0x00, 0xff, 0xff, 0x22,
0x0b, 0x4d, 0x09, 0x21, 0x02, 0x00, 0x00,
// 359 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xdf, 0x8a, 0xd3, 0x40,
0x14, 0xc6, 0x9b, 0x74, 0xff, 0xb4, 0x27, 0xc5, 0x1d, 0xe6, 0xaa, 0x7a, 0xb5, 0x2c, 0x7b, 0xb1,
0x14, 0x9d, 0x18, 0x7d, 0x03, 0xeb, 0x8a, 0x0b, 0xab, 0xc4, 0xb4, 0xdd, 0x82, 0x17, 0xc2, 0x69,
0x72, 0x4c, 0x43, 0x92, 0x99, 0x38, 0x33, 0x35, 0xe6, 0x95, 0x7c, 0x4a, 0x99, 0xa6, 0x41, 0xd8,
0xcb, 0xef, 0xe3, 0x77, 0x7e, 0x1c, 0xf8, 0xe0, 0x65, 0xaa, 0xea, 0x5a, 0xc9, 0xd0, 0x6a, 0x4c,
0xe9, 0x4d, 0x1f, 0x44, 0xa3, 0x95, 0x55, 0x37, 0x3f, 0xe0, 0x6a, 0xd3, 0x18, 0xab, 0x09, 0xeb,
0x15, 0xe5, 0x35, 0x49, 0xcb, 0x23, 0x78, 0x91, 0x57, 0x6a, 0x87, 0xd5, 0xda, 0xe1, 0x0f, 0x99,
0x99, 0x7b, 0xd7, 0xe3, 0xbb, 0xe0, 0xdd, 0x54, 0x6c, 0x64, 0xf1, 0xeb, 0x40, 0x0f, 0x59, 0xf2,
0x0c, 0xe0, 0x73, 0xb8, 0x34, 0xfd, 0xf5, 0xdc, 0xbf, 0xf6, 0xee, 0x66, 0xc9, 0x10, 0x6f, 0x6e,
0x61, 0x32, 0x5c, 0x39, 0xaa, 0xc8, 0x62, 0xd4, 0xb6, 0x37, 0x8e, 0x93, 0x21, 0x2e, 0x5e, 0x03,
0xac, 0x1a, 0x94, 0xeb, 0xae, 0xa1, 0xa7, 0x88, 0x4f, 0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x38,
0xd4, 0x7a, 0xc7, 0xd9, 0x01, 0x00, 0x00,
}
......@@ -5,9 +5,9 @@ package v2
import (
fmt "fmt"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
proto "github.com/golang/protobuf/proto"
math "math"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -21,70 +21,70 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CLRMetric struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Cpu *v2.CPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
Gc *ClrGC `protobuf:"bytes,3,opt,name=gc,proto3" json:"gc,omitempty"`
Thread *ClrThread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CLRMetricV2 struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Cpu *v2.CPUV2 `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
Gc *ClrGCV2 `protobuf:"bytes,3,opt,name=gc,proto3" json:"gc,omitempty"`
Thread *ClrThreadV2 `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CLRMetric) Reset() { *m = CLRMetric{} }
func (m *CLRMetric) String() string { return proto.CompactTextString(m) }
func (*CLRMetric) ProtoMessage() {}
func (*CLRMetric) Descriptor() ([]byte, []int) {
func (m *CLRMetricV2) Reset() { *m = CLRMetricV2{} }
func (m *CLRMetricV2) String() string { return proto.CompactTextString(m) }
func (*CLRMetricV2) ProtoMessage() {}
func (*CLRMetricV2) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{0}
}
func (m *CLRMetric) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetric.Unmarshal(m, b)
func (m *CLRMetricV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetricV2.Unmarshal(m, b)
}
func (m *CLRMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetric.Marshal(b, m, deterministic)
func (m *CLRMetricV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetricV2.Marshal(b, m, deterministic)
}
func (m *CLRMetric) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetric.Merge(m, src)
func (m *CLRMetricV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetricV2.Merge(m, src)
}
func (m *CLRMetric) XXX_Size() int {
return xxx_messageInfo_CLRMetric.Size(m)
func (m *CLRMetricV2) XXX_Size() int {
return xxx_messageInfo_CLRMetricV2.Size(m)
}
func (m *CLRMetric) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetric.DiscardUnknown(m)
func (m *CLRMetricV2) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetricV2.DiscardUnknown(m)
}
var xxx_messageInfo_CLRMetric proto.InternalMessageInfo
var xxx_messageInfo_CLRMetricV2 proto.InternalMessageInfo
func (m *CLRMetric) GetTime() int64 {
func (m *CLRMetricV2) GetTime() int64 {
if m != nil {
return m.Time
}
return 0
}
func (m *CLRMetric) GetCpu() *v2.CPU {
func (m *CLRMetricV2) GetCpu() *v2.CPUV2 {
if m != nil {
return m.Cpu
}
return nil
}
func (m *CLRMetric) GetGc() *ClrGC {
func (m *CLRMetricV2) GetGc() *ClrGCV2 {
if m != nil {
return m.Gc
}
return nil
}
func (m *CLRMetric) GetThread() *ClrThread {
func (m *CLRMetricV2) GetThread() *ClrThreadV2 {
if m != nil {
return m.Thread
}
return nil
}
type ClrGC struct {
type ClrGCV2 struct {
Gen0CollectCount int64 `protobuf:"varint,1,opt,name=Gen0CollectCount,proto3" json:"Gen0CollectCount,omitempty"`
Gen1CollectCount int64 `protobuf:"varint,2,opt,name=Gen1CollectCount,proto3" json:"Gen1CollectCount,omitempty"`
Gen2CollectCount int64 `protobuf:"varint,3,opt,name=Gen2CollectCount,proto3" json:"Gen2CollectCount,omitempty"`
......@@ -94,60 +94,60 @@ type ClrGC struct {
XXX_sizecache int32 `json:"-"`
}
func (m *ClrGC) Reset() { *m = ClrGC{} }
func (m *ClrGC) String() string { return proto.CompactTextString(m) }
func (*ClrGC) ProtoMessage() {}
func (*ClrGC) Descriptor() ([]byte, []int) {
func (m *ClrGCV2) Reset() { *m = ClrGCV2{} }
func (m *ClrGCV2) String() string { return proto.CompactTextString(m) }
func (*ClrGCV2) ProtoMessage() {}
func (*ClrGCV2) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{1}
}
func (m *ClrGC) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrGC.Unmarshal(m, b)
func (m *ClrGCV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrGCV2.Unmarshal(m, b)
}
func (m *ClrGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrGC.Marshal(b, m, deterministic)
func (m *ClrGCV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrGCV2.Marshal(b, m, deterministic)
}
func (m *ClrGC) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrGC.Merge(m, src)
func (m *ClrGCV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrGCV2.Merge(m, src)
}
func (m *ClrGC) XXX_Size() int {
return xxx_messageInfo_ClrGC.Size(m)
func (m *ClrGCV2) XXX_Size() int {
return xxx_messageInfo_ClrGCV2.Size(m)
}
func (m *ClrGC) XXX_DiscardUnknown() {
xxx_messageInfo_ClrGC.DiscardUnknown(m)
func (m *ClrGCV2) XXX_DiscardUnknown() {
xxx_messageInfo_ClrGCV2.DiscardUnknown(m)
}
var xxx_messageInfo_ClrGC proto.InternalMessageInfo
var xxx_messageInfo_ClrGCV2 proto.InternalMessageInfo
func (m *ClrGC) GetGen0CollectCount() int64 {
func (m *ClrGCV2) GetGen0CollectCount() int64 {
if m != nil {
return m.Gen0CollectCount
}
return 0
}
func (m *ClrGC) GetGen1CollectCount() int64 {
func (m *ClrGCV2) GetGen1CollectCount() int64 {
if m != nil {
return m.Gen1CollectCount
}
return 0
}
func (m *ClrGC) GetGen2CollectCount() int64 {
func (m *ClrGCV2) GetGen2CollectCount() int64 {
if m != nil {
return m.Gen2CollectCount
}
return 0
}
func (m *ClrGC) GetHeapMemory() int64 {
func (m *ClrGCV2) GetHeapMemory() int64 {
if m != nil {
return m.HeapMemory
}
return 0
}
type ClrThread struct {
type ClrThreadV2 struct {
AvailableCompletionPortThreads int32 `protobuf:"varint,1,opt,name=AvailableCompletionPortThreads,proto3" json:"AvailableCompletionPortThreads,omitempty"`
AvailableWorkerThreads int32 `protobuf:"varint,2,opt,name=AvailableWorkerThreads,proto3" json:"AvailableWorkerThreads,omitempty"`
MaxCompletionPortThreads int32 `protobuf:"varint,3,opt,name=MaxCompletionPortThreads,proto3" json:"MaxCompletionPortThreads,omitempty"`
......@@ -157,53 +157,53 @@ type ClrThread struct {
XXX_sizecache int32 `json:"-"`
}
func (m *ClrThread) Reset() { *m = ClrThread{} }
func (m *ClrThread) String() string { return proto.CompactTextString(m) }
func (*ClrThread) ProtoMessage() {}
func (*ClrThread) Descriptor() ([]byte, []int) {
func (m *ClrThreadV2) Reset() { *m = ClrThreadV2{} }
func (m *ClrThreadV2) String() string { return proto.CompactTextString(m) }
func (*ClrThreadV2) ProtoMessage() {}
func (*ClrThreadV2) Descriptor() ([]byte, []int) {
return fileDescriptor_a10d56830892247a, []int{2}
}
func (m *ClrThread) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrThread.Unmarshal(m, b)
func (m *ClrThreadV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClrThreadV2.Unmarshal(m, b)
}
func (m *ClrThread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrThread.Marshal(b, m, deterministic)
func (m *ClrThreadV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClrThreadV2.Marshal(b, m, deterministic)
}
func (m *ClrThread) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrThread.Merge(m, src)
func (m *ClrThreadV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClrThreadV2.Merge(m, src)
}
func (m *ClrThread) XXX_Size() int {
return xxx_messageInfo_ClrThread.Size(m)
func (m *ClrThreadV2) XXX_Size() int {
return xxx_messageInfo_ClrThreadV2.Size(m)
}
func (m *ClrThread) XXX_DiscardUnknown() {
xxx_messageInfo_ClrThread.DiscardUnknown(m)
func (m *ClrThreadV2) XXX_DiscardUnknown() {
xxx_messageInfo_ClrThreadV2.DiscardUnknown(m)
}
var xxx_messageInfo_ClrThread proto.InternalMessageInfo
var xxx_messageInfo_ClrThreadV2 proto.InternalMessageInfo
func (m *ClrThread) GetAvailableCompletionPortThreads() int32 {
func (m *ClrThreadV2) GetAvailableCompletionPortThreads() int32 {
if m != nil {
return m.AvailableCompletionPortThreads
}
return 0
}
func (m *ClrThread) GetAvailableWorkerThreads() int32 {
func (m *ClrThreadV2) GetAvailableWorkerThreads() int32 {
if m != nil {
return m.AvailableWorkerThreads
}
return 0
}
func (m *ClrThread) GetMaxCompletionPortThreads() int32 {
func (m *ClrThreadV2) GetMaxCompletionPortThreads() int32 {
if m != nil {
return m.MaxCompletionPortThreads
}
return 0
}
func (m *ClrThread) GetMaxWorkerThreads() int32 {
func (m *ClrThreadV2) GetMaxWorkerThreads() int32 {
if m != nil {
return m.MaxWorkerThreads
}
......@@ -211,38 +211,37 @@ func (m *ClrThread) GetMaxWorkerThreads() int32 {
}
func init() {
proto.RegisterType((*CLRMetric)(nil), "skywalking.network.protocol.common.CLRMetric")
proto.RegisterType((*ClrGC)(nil), "skywalking.network.protocol.common.ClrGC")
proto.RegisterType((*ClrThread)(nil), "skywalking.network.protocol.common.ClrThread")
proto.RegisterType((*CLRMetricV2)(nil), "CLRMetricV2")
proto.RegisterType((*ClrGCV2)(nil), "ClrGCV2")
proto.RegisterType((*ClrThreadV2)(nil), "ClrThreadV2")
}
func init() { proto.RegisterFile("common/CLR.proto", fileDescriptor_a10d56830892247a) }
var fileDescriptor_a10d56830892247a = []byte{
// 395 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x6a, 0xdb, 0x30,
0x14, 0x87, 0xb1, 0x9d, 0x04, 0xa6, 0xdd, 0x04, 0x0d, 0x86, 0xc9, 0x45, 0x08, 0x66, 0xb0, 0x6c,
0x30, 0x3b, 0xc9, 0x60, 0x90, 0xdd, 0x6d, 0xa6, 0x4d, 0x2f, 0xe2, 0x62, 0xd4, 0x96, 0x40, 0xef,
0x14, 0x55, 0x38, 0xc6, 0xb2, 0x64, 0x14, 0xe5, 0xdf, 0x2b, 0xb5, 0xaf, 0xd4, 0xb7, 0xe8, 0x0b,
0x94, 0xc8, 0x8e, 0x1b, 0x93, 0x84, 0xe4, 0xca, 0xe6, 0xfc, 0xbe, 0x4f, 0xc7, 0xc7, 0x47, 0xa0,
0x49, 0x44, 0x9a, 0x0a, 0xee, 0xf9, 0x63, 0xe4, 0x66, 0x52, 0x28, 0x01, 0x9d, 0x79, 0xb2, 0x59,
0x61, 0x96, 0xc4, 0x3c, 0x72, 0x39, 0x55, 0x2b, 0x21, 0x93, 0x3c, 0x21, 0x82, 0xb9, 0x39, 0xdd,
0xfa, 0x52, 0x58, 0xf9, 0x23, 0x8f, 0x9d, 0x57, 0x03, 0x7c, 0xf2, 0xc7, 0x28, 0xa0, 0x4a, 0xc6,
0x04, 0x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, 0x6a, 0xb7, 0x9a, 0x76, 0x0e,
0xea, 0xff, 0x57, 0xa0, 0x27, 0x64, 0xe4, 0xe2, 0x0c, 0x93, 0x19, 0xdd, 0x5f, 0x33, 0xce, 0xd2,
0x72, 0xd5, 0x0c, 0xf3, 0x68, 0x81, 0x23, 0xea, 0xe2, 0x88, 0x72, 0x15, 0x1a, 0x8f, 0xdf, 0x3e,
0x40, 0xaf, 0x80, 0xbc, 0x1d, 0xe4, 0x69, 0xc8, 0x5b, 0x0e, 0x9e, 0xcd, 0xd6, 0x5d, 0xb2, 0x99,
0x14, 0xe7, 0xdd, 0xe6, 0x58, 0x58, 0xdc, 0x9a, 0x69, 0x43, 0xdf, 0x9f, 0xdf, 0xef, 0x01, 0x00,
0x00, 0xff, 0xff, 0xd2, 0xab, 0x81, 0x70, 0x4f, 0x03, 0x00, 0x00,
// 381 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0xeb, 0xd3, 0x30,
0x18, 0xc7, 0x69, 0x3b, 0xa7, 0x64, 0x1e, 0x46, 0x04, 0x29, 0x3b, 0x8c, 0x31, 0x76, 0x18, 0x1e,
0xd2, 0xad, 0x82, 0x07, 0x6f, 0x1a, 0x70, 0x1e, 0x56, 0x29, 0x51, 0x3b, 0xf0, 0x96, 0xc5, 0xd0,
0x95, 0xa6, 0x49, 0xc9, 0xb2, 0x7f, 0xf8, 0x8e, 0x04, 0x5f, 0x9e, 0x77, 0x69, 0xda, 0xcd, 0x95,
0x6d, 0xfc, 0x4e, 0x2d, 0x9f, 0xef, 0xe7, 0xdb, 0xe4, 0x29, 0x0f, 0xe8, 0x33, 0x55, 0x14, 0x4a,
0x06, 0x78, 0x49, 0x50, 0xa9, 0x95, 0x51, 0x83, 0x57, 0x0d, 0xa9, 0x1f, 0x35, 0x1c, 0xff, 0x02,
0x3d, 0xbc, 0x24, 0x11, 0x37, 0x3a, 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x87, 0x79, 0xf5, 0x5f,
0x22, 0x7a, 0x6c, 0x9f, 0xd6, 0xb1, 0x9d, 0x1b, 0xfe, 0xf1, 0x00, 0x66, 0x4a, 0xa7, 0x88, 0x96,
0x94, 0x6d, 0x38, 0xda, 0xe6, 0xa7, 0x03, 0x15, 0x79, 0x26, 0x2b, 0x52, 0x20, 0xc9, 0xcd, 0x41,
0xe9, 0x1c, 0x09, 0x2a, 0xd3, 0x1d, 0x4d, 0x39, 0xa2, 0x29, 0x97, 0x26, 0x76, 0x7e, 0x4c, 0xfe,
0x8b, 0x41, 0x23, 0x05, 0x67, 0x29, 0xb0, 0x52, 0xb0, 0x0f, 0x7f, 0xbb, 0x83, 0xaf, 0xf9, 0x69,
0xd5, 0x7c, 0xef, 0x4b, 0xad, 0xc5, 0xd5, 0x6a, 0x32, 0x25, 0xd6, 0x5d, 0xbb, 0xa4, 0x6f, 0xff,
0x05, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xed, 0xb1, 0x87, 0xcd, 0x02, 0x00, 0x00,
}
......@@ -6,12 +6,12 @@ package v2
import (
context "context"
fmt "fmt"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -25,47 +25,47 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CLRMetricCollection struct {
Metrics []*CLRMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ServiceInstanceId int32 `protobuf:"varint,2,opt,name=serviceInstanceId,proto3" json:"serviceInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type CLRMetricCollectionV2 struct {
Metrics []*CLRMetricV2 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ServiceInstanceId int32 `protobuf:"varint,2,opt,name=serviceInstanceId,proto3" json:"serviceInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CLRMetricCollection) Reset() { *m = CLRMetricCollection{} }
func (m *CLRMetricCollection) String() string { return proto.CompactTextString(m) }
func (*CLRMetricCollection) ProtoMessage() {}
func (*CLRMetricCollection) Descriptor() ([]byte, []int) {
func (m *CLRMetricCollectionV2) Reset() { *m = CLRMetricCollectionV2{} }
func (m *CLRMetricCollectionV2) String() string { return proto.CompactTextString(m) }
func (*CLRMetricCollectionV2) ProtoMessage() {}
func (*CLRMetricCollectionV2) Descriptor() ([]byte, []int) {
return fileDescriptor_1f032372dea03c68, []int{0}
}
func (m *CLRMetricCollection) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetricCollection.Unmarshal(m, b)
func (m *CLRMetricCollectionV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CLRMetricCollectionV2.Unmarshal(m, b)
}
func (m *CLRMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetricCollection.Marshal(b, m, deterministic)
func (m *CLRMetricCollectionV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CLRMetricCollectionV2.Marshal(b, m, deterministic)
}
func (m *CLRMetricCollection) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetricCollection.Merge(m, src)
func (m *CLRMetricCollectionV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_CLRMetricCollectionV2.Merge(m, src)
}
func (m *CLRMetricCollection) XXX_Size() int {
return xxx_messageInfo_CLRMetricCollection.Size(m)
func (m *CLRMetricCollectionV2) XXX_Size() int {
return xxx_messageInfo_CLRMetricCollectionV2.Size(m)
}
func (m *CLRMetricCollection) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetricCollection.DiscardUnknown(m)
func (m *CLRMetricCollectionV2) XXX_DiscardUnknown() {
xxx_messageInfo_CLRMetricCollectionV2.DiscardUnknown(m)
}
var xxx_messageInfo_CLRMetricCollection proto.InternalMessageInfo
var xxx_messageInfo_CLRMetricCollectionV2 proto.InternalMessageInfo
func (m *CLRMetricCollection) GetMetrics() []*CLRMetric {
func (m *CLRMetricCollectionV2) GetMetrics() []*CLRMetricV2 {
if m != nil {
return m.Metrics
}
return nil
}
func (m *CLRMetricCollection) GetServiceInstanceId() int32 {
func (m *CLRMetricCollectionV2) GetServiceInstanceId() int32 {
if m != nil {
return m.ServiceInstanceId
}
......@@ -73,32 +73,30 @@ func (m *CLRMetricCollection) GetServiceInstanceId() int32 {
}
func init() {
proto.RegisterType((*CLRMetricCollection)(nil), "skywalking.network.protocol.agent.v2.CLRMetricCollection")
proto.RegisterType((*CLRMetricCollectionV2)(nil), "CLRMetricCollectionV2")
}
func init() { proto.RegisterFile("language-agent-v2/CLRMetric.proto", fileDescriptor_1f032372dea03c68) }
var fileDescriptor_1f032372dea03c68 = []byte{
// 292 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xfb, 0x40,
0x10, 0xc6, 0xff, 0xe9, 0x1f, 0x2d, 0xac, 0x17, 0x4d, 0x41, 0x4a, 0x4e, 0xb5, 0x78, 0xe8, 0xa1,
0xd9, 0x85, 0xf4, 0xe4, 0xd5, 0x1c, 0xa4, 0x50, 0xa5, 0xa4, 0x07, 0xc1, 0xdb, 0xba, 0x1d, 0x62,
0x48, 0x76, 0x27, 0xec, 0xae, 0x29, 0xf5, 0x19, 0xc4, 0x07, 0xf1, 0x29, 0x85, 0xec, 0x26, 0x16,
0x14, 0xe9, 0x69, 0x61, 0xe6, 0xf7, 0xcd, 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0x63, 0x2d, 0xc7, 0x9a, 0xe4, 0x73, 0x10, 0x6d, 0xca, 0xfd, 0xa3, 0x1f, 0xf9, 0xe0, 0xb0, 0xb5,
0x4f, 0xf3, 0x7c, 0xda, 0xe6, 0x5a, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x05, 0x2d, 0xc2,
0x14, 0x02, 0x00, 0x00,
// 272 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xdf, 0x4a, 0xfb, 0x30,
0x14, 0x80, 0x7f, 0xdd, 0x0f, 0x1d, 0x64, 0x5e, 0x68, 0xc5, 0x31, 0x7a, 0x35, 0x87, 0xc8, 0x2e,
0xdc, 0x89, 0x64, 0x6f, 0x60, 0xaf, 0x26, 0x53, 0x46, 0x07, 0x15, 0xbc, 0x8b, 0xd9, 0xa1, 0x96,
0x36, 0x39, 0x25, 0x8d, 0x1d, 0xf3, 0x91, 0x7c, 0x4a, 0x59, 0xff, 0x79, 0xa1, 0x57, 0x81, 0xef,
0x7c, 0x39, 0x09, 0x1f, 0xbb, 0xce, 0xa5, 0x49, 0x3e, 0x64, 0x82, 0x0b, 0x99, 0xa0, 0x71, 0x8b,
0x4a, 0xf0, 0x70, 0x1d, 0x3d, 0xa1, 0xb3, 0xa9, 0x82, 0xc2, 0x92, 0xa3, 0xe0, 0x52, 0x91, 0xd6,
0x64, 0x78, 0x73, 0xb4, 0xf0, 0xbc, 0x85, 0xe1, 0x3a, 0x6a, 0xc8, 0x4c, 0xb3, 0xab, 0xfe, 0x66,
0x48, 0x79, 0x8e, 0xca, 0xa5, 0x64, 0x62, 0xe1, 0xdf, 0xb2, 0xa1, 0xae, 0x69, 0x39, 0xf1, 0xa6,
0xff, 0xe7, 0x23, 0x71, 0x06, 0xbd, 0x18, 0x8b, 0xa8, 0x1b, 0xfa, 0x77, 0xec, 0xa2, 0x44, 0x5b,
0xa5, 0x0a, 0x57, 0xa6, 0x74, 0xd2, 0x28, 0x5c, 0xed, 0x26, 0x83, 0xa9, 0x37, 0x3f, 0x89, 0x7e,
0x0f, 0xc4, 0x23, 0x1b, 0xf7, 0x5b, 0x22, 0x2c, 0xc8, 0xba, 0x6d, 0xe3, 0xf8, 0xf7, 0x6c, 0xa8,
0x9a, 0xf7, 0xfd, 0x31, 0xfc, 0xf9, 0xa5, 0x60, 0x04, 0x21, 0x69, 0x2d, 0xcd, 0xae, 0x8c, 0xc5,
0xec, 0xdf, 0xc3, 0x27, 0x5b, 0x92, 0x4d, 0x40, 0x16, 0x52, 0xbd, 0x23, 0x94, 0xd9, 0x61, 0x2f,
0xf3, 0x2c, 0x35, 0x47, 0xa2, 0xc1, 0xa0, 0xdb, 0x93, 0xcd, 0xa0, 0x0b, 0x05, 0x75, 0x28, 0xa8,
0xc4, 0xc6, 0x7b, 0xbd, 0xf9, 0x71, 0x79, 0xeb, 0xf1, 0xce, 0xe3, 0xb5, 0xc7, 0x2b, 0xf1, 0x35,
0x08, 0xb6, 0xd9, 0xe1, 0xa5, 0x5d, 0xf9, 0xdc, 0x68, 0x9b, 0x63, 0x33, 0x45, 0xf9, 0xdb, 0x69,
0x5d, 0x6f, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xc8, 0x68, 0x00, 0x89, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -113,7 +111,7 @@ const _ = grpc.SupportPackageIsVersion4
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type CLRMetricReportServiceClient interface {
Collect(ctx context.Context, in *CLRMetricCollection, opts ...grpc.CallOption) (*v2.Commands, error)
Collect(ctx context.Context, in *CLRMetricCollectionV2, opts ...grpc.CallOption) (*v2.CommandsV2, error)
}
type cLRMetricReportServiceClient struct {
......@@ -124,9 +122,9 @@ func NewCLRMetricReportServiceClient(cc *grpc.ClientConn) CLRMetricReportService
return &cLRMetricReportServiceClient{cc}
}
func (c *cLRMetricReportServiceClient) Collect(ctx context.Context, in *CLRMetricCollection, opts ...grpc.CallOption) (*v2.Commands, error) {
out := new(v2.Commands)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v2.CLRMetricReportService/collect", in, out, opts...)
func (c *cLRMetricReportServiceClient) Collect(ctx context.Context, in *CLRMetricCollectionV2, opts ...grpc.CallOption) (*v2.CommandsV2, error) {
out := new(v2.CommandsV2)
err := c.cc.Invoke(ctx, "/CLRMetricReportService/collect", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -135,14 +133,14 @@ func (c *cLRMetricReportServiceClient) Collect(ctx context.Context, in *CLRMetri
// CLRMetricReportServiceServer is the server API for CLRMetricReportService service.
type CLRMetricReportServiceServer interface {
Collect(context.Context, *CLRMetricCollection) (*v2.Commands, error)
Collect(context.Context, *CLRMetricCollectionV2) (*v2.CommandsV2, error)
}
// UnimplementedCLRMetricReportServiceServer can be embedded to have forward compatible implementations.
type UnimplementedCLRMetricReportServiceServer struct {
}
func (*UnimplementedCLRMetricReportServiceServer) Collect(ctx context.Context, req *CLRMetricCollection) (*v2.Commands, error) {
func (*UnimplementedCLRMetricReportServiceServer) Collect(ctx context.Context, req *CLRMetricCollectionV2) (*v2.CommandsV2, error) {
return nil, status.Errorf(codes.Unimplemented, "method Collect not implemented")
}
......@@ -151,7 +149,7 @@ func RegisterCLRMetricReportServiceServer(s *grpc.Server, srv CLRMetricReportSer
}
func _CLRMetricReportService_Collect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CLRMetricCollection)
in := new(CLRMetricCollectionV2)
if err := dec(in); err != nil {
return nil, err
}
......@@ -160,16 +158,16 @@ func _CLRMetricReportService_Collect_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v2.CLRMetricReportService/Collect",
FullMethod: "/CLRMetricReportService/Collect",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CLRMetricReportServiceServer).Collect(ctx, req.(*CLRMetricCollection))
return srv.(CLRMetricReportServiceServer).Collect(ctx, req.(*CLRMetricCollectionV2))
}
return interceptor(ctx, in, info, handler)
}
var _CLRMetricReportService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v2.CLRMetricReportService",
ServiceName: "CLRMetricReportService",
HandlerType: (*CLRMetricReportServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......
......@@ -6,12 +6,12 @@ package v2
import (
context "context"
fmt "fmt"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -25,47 +25,47 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type JVMMetricCollection struct {
Metrics []*JVMMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ServiceInstanceId int32 `protobuf:"varint,2,opt,name=serviceInstanceId,proto3" json:"serviceInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type JVMMetricCollectionV2 struct {
Metrics []*JVMMetricV2 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
ServiceInstanceId int32 `protobuf:"varint,2,opt,name=serviceInstanceId,proto3" json:"serviceInstanceId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JVMMetricCollection) Reset() { *m = JVMMetricCollection{} }
func (m *JVMMetricCollection) String() string { return proto.CompactTextString(m) }
func (*JVMMetricCollection) ProtoMessage() {}
func (*JVMMetricCollection) Descriptor() ([]byte, []int) {
func (m *JVMMetricCollectionV2) Reset() { *m = JVMMetricCollectionV2{} }
func (m *JVMMetricCollectionV2) String() string { return proto.CompactTextString(m) }
func (*JVMMetricCollectionV2) ProtoMessage() {}
func (*JVMMetricCollectionV2) Descriptor() ([]byte, []int) {
return fileDescriptor_a5bd38fe036677f3, []int{0}
}
func (m *JVMMetricCollection) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JVMMetricCollection.Unmarshal(m, b)
func (m *JVMMetricCollectionV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JVMMetricCollectionV2.Unmarshal(m, b)
}
func (m *JVMMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JVMMetricCollection.Marshal(b, m, deterministic)
func (m *JVMMetricCollectionV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JVMMetricCollectionV2.Marshal(b, m, deterministic)
}
func (m *JVMMetricCollection) XXX_Merge(src proto.Message) {
xxx_messageInfo_JVMMetricCollection.Merge(m, src)
func (m *JVMMetricCollectionV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_JVMMetricCollectionV2.Merge(m, src)
}
func (m *JVMMetricCollection) XXX_Size() int {
return xxx_messageInfo_JVMMetricCollection.Size(m)
func (m *JVMMetricCollectionV2) XXX_Size() int {
return xxx_messageInfo_JVMMetricCollectionV2.Size(m)
}
func (m *JVMMetricCollection) XXX_DiscardUnknown() {
xxx_messageInfo_JVMMetricCollection.DiscardUnknown(m)
func (m *JVMMetricCollectionV2) XXX_DiscardUnknown() {
xxx_messageInfo_JVMMetricCollectionV2.DiscardUnknown(m)
}
var xxx_messageInfo_JVMMetricCollection proto.InternalMessageInfo
var xxx_messageInfo_JVMMetricCollectionV2 proto.InternalMessageInfo
func (m *JVMMetricCollection) GetMetrics() []*JVMMetric {
func (m *JVMMetricCollectionV2) GetMetrics() []*JVMMetricV2 {
if m != nil {
return m.Metrics
}
return nil
}
func (m *JVMMetricCollection) GetServiceInstanceId() int32 {
func (m *JVMMetricCollectionV2) GetServiceInstanceId() int32 {
if m != nil {
return m.ServiceInstanceId
}
......@@ -73,32 +73,30 @@ func (m *JVMMetricCollection) GetServiceInstanceId() int32 {
}
func init() {
proto.RegisterType((*JVMMetricCollection)(nil), "skywalking.network.protocol.agent.v2.JVMMetricCollection")
proto.RegisterType((*JVMMetricCollectionV2)(nil), "JVMMetricCollectionV2")
}
func init() { proto.RegisterFile("language-agent-v2/JVMMetric.proto", fileDescriptor_a5bd38fe036677f3) }
var fileDescriptor_a5bd38fe036677f3 = []byte{
// 292 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xc3, 0x30,
0x14, 0xc7, 0xed, 0x44, 0x07, 0xf1, 0xa2, 0x1d, 0xc8, 0xe8, 0x69, 0x0e, 0x0f, 0x3b, 0x6c, 0x09,
0x74, 0x27, 0xaf, 0xee, 0x20, 0x1b, 0x54, 0xc6, 0x06, 0x13, 0xbc, 0xc5, 0xec, 0x51, 0x4b, 0x9b,
0xbc, 0x92, 0xc4, 0x8e, 0xf9, 0x19, 0xc4, 0x0f, 0xe2, 0xa7, 0x14, 0x9a, 0xb4, 0x0e, 0x14, 0xd9,
0x29, 0xf0, 0xde, 0xef, 0xff, 0xfe, 0xff, 0x97, 0x47, 0x6e, 0x0a, 0xae, 0xd2, 0x37, 0x9e, 0xc2,
0x84, 0xa7, 0xa0, 0xec, 0xa4, 0x8a, 0xd9, 0x62, 0x93, 0x24, 0x60, 0x75, 0x26, 0x68, 0xa9, 0xd1,
0x62, 0x78, 0x6b, 0xf2, 0xfd, 0x8e, 0x17, 0x79, 0xa6, 0x52, 0xaa, 0xc0, 0xee, 0x50, 0xe7, 0xae,
0x23, 0xb0, 0xa0, 0xb5, 0x8a, 0x56, 0x71, 0xd4, 0x13, 0x28, 0x25, 0x2a, 0xe6, 0x1e, 0x07, 0x44,
0x97, 0xbe, 0xb8, 0xd8, 0x24, 0xae, 0x32, 0xfc, 0x08, 0x48, 0xaf, 0x35, 0x98, 0x61, 0x51, 0x80,
0xb0, 0x19, 0xaa, 0xf0, 0x81, 0x74, 0x65, 0x5d, 0x33, 0xfd, 0x60, 0x70, 0x3a, 0xba, 0x88, 0x27,
0xf4, 0x3f, 0x5b, 0xef, 0xd2, 0x4e, 0x5a, 0x35, 0xea, 0x70, 0x4c, 0xae, 0x0c, 0xe8, 0x2a, 0x13,
0x30, 0x57, 0xc6, 0x72, 0x25, 0x60, 0xbe, 0xed, 0x77, 0x06, 0xc1, 0xe8, 0x6c, 0xf5, 0xbb, 0x11,
0x7f, 0x06, 0xe4, 0xfa, 0x67, 0x08, 0x94, 0xa8, 0xed, 0xda, 0x41, 0xa1, 0x25, 0x5d, 0xe1, 0xf2,
0x85, 0x77, 0xf4, 0x98, 0x2f, 0xa0, 0x7f, 0xec, 0x15, 0x8d, 0x8f, 0x59, 0x63, 0x86, 0x52, 0x72,
0xb5, 0x35, 0xc3, 0x93, 0xfb, 0x77, 0x32, 0x45, 0x9d, 0x52, 0x5e, 0x72, 0xf1, 0x0a, 0x87, 0x5a,
0x5e, 0xca, 0x56, 0xdf, 0xdc, 0xac, 0xb5, 0x5e, 0x06, 0xcf, 0x07, 0x57, 0x62, 0x9e, 0x63, 0x0d,
0xc7, 0x6a, 0x8e, 0x55, 0xf1, 0x57, 0x27, 0x5a, 0xe7, 0xfb, 0x27, 0x3f, 0xf2, 0xd1, 0x61, 0x4b,
0x9f, 0xe6, 0xe5, 0xbc, 0xce, 0x35, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x9c, 0x77, 0xbd,
0x14, 0x02, 0x00, 0x00,
// 271 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00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f6,
0xf2, 0x4d, 0x96, 0x68, 0x52, 0x2a, 0x4a, 0x21, 0x3f, 0x81, 0x56, 0xf9, 0x61, 0x2f, 0x8a, 0x3c,
0xd3, 0x47, 0xa2, 0xa8, 0x06, 0xbb, 0x47, 0x93, 0xd3, 0x2e, 0x14, 0x6d, 0x42, 0xd1, 0x9a, 0x6f,
0xbc, 0xf7, 0x87, 0x3f, 0x97, 0xb5, 0x1e, 0xeb, 0x3c, 0xd6, 0x78, 0xac, 0xe6, 0x3f, 0x83, 0x60,
0x9b, 0x1f, 0xde, 0xda, 0x95, 0xaf, 0x4e, 0xdb, 0x1c, 0x9b, 0x49, 0x2c, 0x3e, 0x2e, 0x9b, 0x7a,
0xcb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x3f, 0x0c, 0xc7, 0x89, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -113,7 +111,7 @@ const _ = grpc.SupportPackageIsVersion4
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type JVMMetricReportServiceClient interface {
Collect(ctx context.Context, in *JVMMetricCollection, opts ...grpc.CallOption) (*v2.Commands, error)
Collect(ctx context.Context, in *JVMMetricCollectionV2, opts ...grpc.CallOption) (*v2.CommandsV2, error)
}
type jVMMetricReportServiceClient struct {
......@@ -124,9 +122,9 @@ func NewJVMMetricReportServiceClient(cc *grpc.ClientConn) JVMMetricReportService
return &jVMMetricReportServiceClient{cc}
}
func (c *jVMMetricReportServiceClient) Collect(ctx context.Context, in *JVMMetricCollection, opts ...grpc.CallOption) (*v2.Commands, error) {
out := new(v2.Commands)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.v2.JVMMetricReportService/collect", in, out, opts...)
func (c *jVMMetricReportServiceClient) Collect(ctx context.Context, in *JVMMetricCollectionV2, opts ...grpc.CallOption) (*v2.CommandsV2, error) {
out := new(v2.CommandsV2)
err := c.cc.Invoke(ctx, "/JVMMetricReportService/collect", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -135,14 +133,14 @@ func (c *jVMMetricReportServiceClient) Collect(ctx context.Context, in *JVMMetri
// JVMMetricReportServiceServer is the server API for JVMMetricReportService service.
type JVMMetricReportServiceServer interface {
Collect(context.Context, *JVMMetricCollection) (*v2.Commands, error)
Collect(context.Context, *JVMMetricCollectionV2) (*v2.CommandsV2, error)
}
// UnimplementedJVMMetricReportServiceServer can be embedded to have forward compatible implementations.
type UnimplementedJVMMetricReportServiceServer struct {
}
func (*UnimplementedJVMMetricReportServiceServer) Collect(ctx context.Context, req *JVMMetricCollection) (*v2.Commands, error) {
func (*UnimplementedJVMMetricReportServiceServer) Collect(ctx context.Context, req *JVMMetricCollectionV2) (*v2.CommandsV2, error) {
return nil, status.Errorf(codes.Unimplemented, "method Collect not implemented")
}
......@@ -151,7 +149,7 @@ func RegisterJVMMetricReportServiceServer(s *grpc.Server, srv JVMMetricReportSer
}
func _JVMMetricReportService_Collect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(JVMMetricCollection)
in := new(JVMMetricCollectionV2)
if err := dec(in); err != nil {
return nil, err
}
......@@ -160,16 +158,16 @@ func _JVMMetricReportService_Collect_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.v2.JVMMetricReportService/Collect",
FullMethod: "/JVMMetricReportService/Collect",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JVMMetricReportServiceServer).Collect(ctx, req.(*JVMMetricCollection))
return srv.(JVMMetricReportServiceServer).Collect(ctx, req.(*JVMMetricCollectionV2))
}
return interceptor(ctx, in, info, handler)
}
var _JVMMetricReportService_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.v2.JVMMetricReportService",
ServiceName: "JVMMetricReportService",
HandlerType: (*JVMMetricReportServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
......
......@@ -20,71 +20,71 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type SpanType int32
type SpanTypeV2 int32
const (
SpanType_Entry SpanType = 0
SpanType_Exit SpanType = 1
SpanType_Local SpanType = 2
SpanTypeV2_Entry SpanTypeV2 = 0
SpanTypeV2_Exit SpanTypeV2 = 1
SpanTypeV2_Local SpanTypeV2 = 2
)
var SpanType_name = map[int32]string{
var SpanTypeV2_name = map[int32]string{
0: "Entry",
1: "Exit",
2: "Local",
}
var SpanType_value = map[string]int32{
var SpanTypeV2_value = map[string]int32{
"Entry": 0,
"Exit": 1,
"Local": 2,
}
func (x SpanType) String() string {
return proto.EnumName(SpanType_name, int32(x))
func (x SpanTypeV2) String() string {
return proto.EnumName(SpanTypeV2_name, int32(x))
}
func (SpanType) EnumDescriptor() ([]byte, []int) {
func (SpanTypeV2) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{0}
}
type RefType int32
type RefTypeV2 int32
const (
RefType_CrossProcess RefType = 0
RefType_CrossThread RefType = 1
RefTypeV2_CrossProcess RefTypeV2 = 0
RefTypeV2_CrossThread RefTypeV2 = 1
)
var RefType_name = map[int32]string{
var RefTypeV2_name = map[int32]string{
0: "CrossProcess",
1: "CrossThread",
}
var RefType_value = map[string]int32{
var RefTypeV2_value = map[string]int32{
"CrossProcess": 0,
"CrossThread": 1,
}
func (x RefType) String() string {
return proto.EnumName(RefType_name, int32(x))
func (x RefTypeV2) String() string {
return proto.EnumName(RefTypeV2_name, int32(x))
}
func (RefType) EnumDescriptor() ([]byte, []int) {
func (RefTypeV2) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{1}
}
type SpanLayer int32
type SpanLayerV2 int32
const (
SpanLayer_Unknown SpanLayer = 0
SpanLayer_Database SpanLayer = 1
SpanLayer_RPCFramework SpanLayer = 2
SpanLayer_Http SpanLayer = 3
SpanLayer_MQ SpanLayer = 4
SpanLayer_Cache SpanLayer = 5
SpanLayerV2_Unknown SpanLayerV2 = 0
SpanLayerV2_Database SpanLayerV2 = 1
SpanLayerV2_RPCFramework SpanLayerV2 = 2
SpanLayerV2_Http SpanLayerV2 = 3
SpanLayerV2_MQ SpanLayerV2 = 4
SpanLayerV2_Cache SpanLayerV2 = 5
)
var SpanLayer_name = map[int32]string{
var SpanLayerV2_name = map[int32]string{
0: "Unknown",
1: "Database",
2: "RPCFramework",
......@@ -93,7 +93,7 @@ var SpanLayer_name = map[int32]string{
5: "Cache",
}
var SpanLayer_value = map[string]int32{
var SpanLayerV2_value = map[string]int32{
"Unknown": 0,
"Database": 1,
"RPCFramework": 2,
......@@ -102,94 +102,94 @@ var SpanLayer_value = map[string]int32{
"Cache": 5,
}
func (x SpanLayer) String() string {
return proto.EnumName(SpanLayer_name, int32(x))
func (x SpanLayerV2) String() string {
return proto.EnumName(SpanLayerV2_name, int32(x))
}
func (SpanLayer) EnumDescriptor() ([]byte, []int) {
func (SpanLayerV2) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{2}
}
type UpstreamSegment struct {
GlobalTraceIds []*UniqueId `protobuf:"bytes,1,rep,name=globalTraceIds,proto3" json:"globalTraceIds,omitempty"`
Segment []byte `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
type UpstreamSegmentV2 struct {
GlobalTraceIds []*UniqueIdV2 `protobuf:"bytes,1,rep,name=globalTraceIds,proto3" json:"globalTraceIds,omitempty"`
Segment []byte `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpstreamSegment) Reset() { *m = UpstreamSegment{} }
func (m *UpstreamSegment) String() string { return proto.CompactTextString(m) }
func (*UpstreamSegment) ProtoMessage() {}
func (*UpstreamSegment) Descriptor() ([]byte, []int) {
func (m *UpstreamSegmentV2) Reset() { *m = UpstreamSegmentV2{} }
func (m *UpstreamSegmentV2) String() string { return proto.CompactTextString(m) }
func (*UpstreamSegmentV2) ProtoMessage() {}
func (*UpstreamSegmentV2) Descriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{0}
}
func (m *UpstreamSegment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpstreamSegment.Unmarshal(m, b)
func (m *UpstreamSegmentV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpstreamSegmentV2.Unmarshal(m, b)
}
func (m *UpstreamSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpstreamSegment.Marshal(b, m, deterministic)
func (m *UpstreamSegmentV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpstreamSegmentV2.Marshal(b, m, deterministic)
}
func (m *UpstreamSegment) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpstreamSegment.Merge(m, src)
func (m *UpstreamSegmentV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpstreamSegmentV2.Merge(m, src)
}
func (m *UpstreamSegment) XXX_Size() int {
return xxx_messageInfo_UpstreamSegment.Size(m)
func (m *UpstreamSegmentV2) XXX_Size() int {
return xxx_messageInfo_UpstreamSegmentV2.Size(m)
}
func (m *UpstreamSegment) XXX_DiscardUnknown() {
xxx_messageInfo_UpstreamSegment.DiscardUnknown(m)
func (m *UpstreamSegmentV2) XXX_DiscardUnknown() {
xxx_messageInfo_UpstreamSegmentV2.DiscardUnknown(m)
}
var xxx_messageInfo_UpstreamSegment proto.InternalMessageInfo
var xxx_messageInfo_UpstreamSegmentV2 proto.InternalMessageInfo
func (m *UpstreamSegment) GetGlobalTraceIds() []*UniqueId {
func (m *UpstreamSegmentV2) GetGlobalTraceIds() []*UniqueIdV2 {
if m != nil {
return m.GlobalTraceIds
}
return nil
}
func (m *UpstreamSegment) GetSegment() []byte {
func (m *UpstreamSegmentV2) GetSegment() []byte {
if m != nil {
return m.Segment
}
return nil
}
type UniqueId struct {
type UniqueIdV2 struct {
IdParts []int64 `protobuf:"varint,1,rep,packed,name=idParts,proto3" json:"idParts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UniqueId) Reset() { *m = UniqueId{} }
func (m *UniqueId) String() string { return proto.CompactTextString(m) }
func (*UniqueId) ProtoMessage() {}
func (*UniqueId) Descriptor() ([]byte, []int) {
func (m *UniqueIdV2) Reset() { *m = UniqueIdV2{} }
func (m *UniqueIdV2) String() string { return proto.CompactTextString(m) }
func (*UniqueIdV2) ProtoMessage() {}
func (*UniqueIdV2) Descriptor() ([]byte, []int) {
return fileDescriptor_f5d7d2e503402948, []int{1}
}
func (m *UniqueId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UniqueId.Unmarshal(m, b)
func (m *UniqueIdV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UniqueIdV2.Unmarshal(m, b)
}
func (m *UniqueId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UniqueId.Marshal(b, m, deterministic)
func (m *UniqueIdV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UniqueIdV2.Marshal(b, m, deterministic)
}
func (m *UniqueId) XXX_Merge(src proto.Message) {
xxx_messageInfo_UniqueId.Merge(m, src)
func (m *UniqueIdV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_UniqueIdV2.Merge(m, src)
}
func (m *UniqueId) XXX_Size() int {
return xxx_messageInfo_UniqueId.Size(m)
func (m *UniqueIdV2) XXX_Size() int {
return xxx_messageInfo_UniqueIdV2.Size(m)
}
func (m *UniqueId) XXX_DiscardUnknown() {
xxx_messageInfo_UniqueId.DiscardUnknown(m)
func (m *UniqueIdV2) XXX_DiscardUnknown() {
xxx_messageInfo_UniqueIdV2.DiscardUnknown(m)
}
var xxx_messageInfo_UniqueId proto.InternalMessageInfo
var xxx_messageInfo_UniqueIdV2 proto.InternalMessageInfo
func (m *UniqueId) GetIdParts() []int64 {
func (m *UniqueIdV2) GetIdParts() []int64 {
if m != nil {
return m.IdParts
}
......@@ -197,39 +197,38 @@ func (m *UniqueId) GetIdParts() []int64 {
}
func init() {
proto.RegisterEnum("skywalking.network.protocol.common.SpanType", SpanType_name, SpanType_value)
proto.RegisterEnum("skywalking.network.protocol.common.RefType", RefType_name, RefType_value)
proto.RegisterEnum("skywalking.network.protocol.common.SpanLayer", SpanLayer_name, SpanLayer_value)
proto.RegisterType((*UpstreamSegment)(nil), "skywalking.network.protocol.common.UpstreamSegment")
proto.RegisterType((*UniqueId)(nil), "skywalking.network.protocol.common.UniqueId")
proto.RegisterEnum("SpanTypeV2", SpanTypeV2_name, SpanTypeV2_value)
proto.RegisterEnum("RefTypeV2", RefTypeV2_name, RefTypeV2_value)
proto.RegisterEnum("SpanLayerV2", SpanLayerV2_name, SpanLayerV2_value)
proto.RegisterType((*UpstreamSegmentV2)(nil), "UpstreamSegmentV2")
proto.RegisterType((*UniqueIdV2)(nil), "UniqueIdV2")
}
func init() { proto.RegisterFile("common/trace-common.proto", fileDescriptor_f5d7d2e503402948) }
var fileDescriptor_f5d7d2e503402948 = []byte{
// 372 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0x86, 0x63, 0xa7, 0x6d, 0xdc, 0x49, 0x44, 0x57, 0x7b, 0x0a, 0x9c, 0xaa, 0xa8, 0x87, 0xca,
0x2a, 0x36, 0x2a, 0x6f, 0x40, 0x28, 0xa2, 0x52, 0x41, 0xc6, 0xb1, 0x85, 0xc4, 0x6d, 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x1f, 0x70, 0x20, 0x9d, 0x46, 0x3c, 0x80, 0xf3, 0x8d, 0xac, 0xa5, 0xea, 0x25, 0x9b, 0xf0, 0x19,
0x5c, 0x7c, 0x46, 0x8b, 0x19, 0x1a, 0x62, 0x9e, 0x93, 0x25, 0xf1, 0xf2, 0x8b, 0xc6, 0x96, 0x7a,
0xa5, 0x6b, 0xe6, 0xbb, 0x07, 0xbe, 0x5a, 0xdb, 0xb1, 0x29, 0x3f, 0x03, 0xff, 0xdb, 0x0f, 0x76,
0xe2, 0x1e, 0x59, 0x62, 0xfe, 0x44, 0xec, 0xf4, 0x53, 0x0f, 0x1f, 0x95, 0x2e, 0x05, 0x76, 0x2e,
0x0b, 0x53, 0x0f, 0x3d, 0x36, 0x75, 0x25, 0x5d, 0xd3, 0x0a, 0x49, 0xd6, 0x39, 0x44, 0x83, 0xb2,
0xdc, 0x62, 0x49, 0x02, 0x4b, 0x92, 0x36, 0xf6, 0x7e, 0xbe, 0x3d, 0x82, 0xe1, 0x1e, 0x0a, 0x0f,
0x50, 0xb8, 0x83, 0xc2, 0x3f, 0xd1, 0x3f, 0xff, 0xcd, 0xaa, 0x1e, 0x1e, 0xf7, 0xbe, 0xef, 0x23,
0x16, 0xbb, 0xe1, 0x72, 0xd5, 0x64, 0x67, 0xbb, 0x09, 0x6f, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff,
0xc8, 0x1a, 0x60, 0x4e, 0xdf, 0x01, 0x00, 0x00,
}
......@@ -6,12 +6,12 @@ package v2
import (
context "context"
fmt "fmt"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
v2 "github.com/SkyAPM/SkyAPM-php-sdk/reporter/network/common/v2"
)
// Reference imports to suppress errors if they are not otherwise used.
......@@ -81,30 +81,29 @@ func (m *ServiceInstancePingPkg) GetServiceInstanceUUID() string {
}
func init() {
proto.RegisterType((*ServiceInstancePingPkg)(nil), "skywalking.network.protocol.agent.register.v2.ServiceInstancePingPkg")
proto.RegisterType((*ServiceInstancePingPkg)(nil), "ServiceInstancePingPkg")
}
func init() { proto.RegisterFile("register/InstancePing.proto", fileDescriptor_c10bfdff83d834ed) }
var fileDescriptor_c10bfdff83d834ed = []byte{
// 270 bytes of a gzipped FileDescriptorProto
// 251 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0x4a, 0x4d, 0xcf,
0x2c, 0x2e, 0x49, 0x2d, 0xd2, 0xf7, 0xcc, 0x2b, 0x2e, 0x49, 0xcc, 0x4b, 0x4e, 0x0d, 0xc8, 0xcc,
0x4b, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0x2d, 0xce, 0xae, 0x2c, 0x4f, 0xcc, 0xc9,
0x06, 0x89, 0xe4, 0xa5, 0x96, 0x94, 0xe7, 0x17, 0x65, 0x43, 0x64, 0x92, 0xf3, 0x73, 0xf4, 0x12,
0xd3, 0x53, 0xf3, 0x4a, 0xf4, 0x60, 0xda, 0xf5, 0xca, 0x8c, 0xa4, 0x84, 0x93, 0xf3, 0x73, 0x73,
0xf3, 0xf3, 0xf4, 0x21, 0x14, 0x44, 0xa5, 0x52, 0x0f, 0x23, 0x97, 0x58, 0x70, 0x6a, 0x51, 0x59,
0x66, 0x72, 0x2a, 0xb2, 0x0d, 0x01, 0xd9, 0xe9, 0x42, 0x3a, 0x5c, 0x82, 0xc5, 0xa8, 0x32, 0x9e,
0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x98, 0x12, 0x42, 0x42, 0x5c, 0x2c, 0x25, 0x99,
0xb9, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x60, 0xb6, 0x90, 0x01, 0x97, 0x30, 0x9a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25, 0x99, 0xb9, 0xa9, 0x12,
0x4c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x60, 0xb6, 0x90, 0x01, 0x97, 0x30, 0x9a, 0xc2, 0xd0, 0x50,
0x4f, 0x17, 0x09, 0x66, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x6c, 0x52, 0x46, 0xee, 0x5c, 0xc2, 0x58,
0x5c, 0x23, 0x64, 0xc0, 0xc5, 0x96, 0x92, 0x0f, 0x66, 0x89, 0xeb, 0x61, 0x77, 0xad, 0x14, 0xb7,
0x9e, 0x73, 0x7e, 0x6e, 0x6e, 0x62, 0x5e, 0x4a, 0x71, 0x98, 0x91, 0x12, 0x83, 0x53, 0x1e, 0x97,
0x6e, 0x7e, 0x51, 0xba, 0x5e, 0x62, 0x41, 0x62, 0x72, 0x46, 0xaa, 0x5e, 0x71, 0x76, 0x65, 0x79,
0x62, 0x4e, 0x36, 0x28, 0x2c, 0x12, 0x0b, 0x72, 0xf5, 0xf2, 0x52, 0x4b, 0xca, 0xf3, 0x8b, 0xb2,
0xf5, 0x60, 0xa1, 0xa5, 0x57, 0x66, 0x14, 0xc0, 0x18, 0x25, 0x87, 0x50, 0xa5, 0x0f, 0x55, 0xa1,
0x0f, 0x0f, 0xcf, 0x32, 0xa3, 0x55, 0x4c, 0x52, 0xc1, 0xd9, 0x95, 0xe1, 0x50, 0x63, 0xfc, 0x20,
0x0a, 0x02, 0x40, 0x81, 0x98, 0x9c, 0x9f, 0x93, 0xc4, 0x06, 0x0e, 0x4e, 0x63, 0x40, 0x00, 0x00,
0x00, 0xff, 0xff, 0x37, 0x65, 0xd0, 0x26, 0x82, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -119,7 +118,7 @@ const _ = grpc.SupportPackageIsVersion4
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ServiceInstancePingClient interface {
DoPing(ctx context.Context, in *ServiceInstancePingPkg, opts ...grpc.CallOption) (*v2.Commands, error)
DoPing(ctx context.Context, in *ServiceInstancePingPkg, opts ...grpc.CallOption) (*v2.CommandsV2, error)
}
type serviceInstancePingClient struct {
......@@ -130,9 +129,9 @@ func NewServiceInstancePingClient(cc *grpc.ClientConn) ServiceInstancePingClient
return &serviceInstancePingClient{cc}
}
func (c *serviceInstancePingClient) DoPing(ctx context.Context, in *ServiceInstancePingPkg, opts ...grpc.CallOption) (*v2.Commands, error) {
out := new(v2.Commands)
err := c.cc.Invoke(ctx, "/skywalking.network.protocol.agent.register.v2.ServiceInstancePing/doPing", in, out, opts...)
func (c *serviceInstancePingClient) DoPing(ctx context.Context, in *ServiceInstancePingPkg, opts ...grpc.CallOption) (*v2.CommandsV2, error) {
out := new(v2.CommandsV2)
err := c.cc.Invoke(ctx, "/ServiceInstancePing/doPing", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -141,14 +140,14 @@ func (c *serviceInstancePingClient) DoPing(ctx context.Context, in *ServiceInsta
// ServiceInstancePingServer is the server API for ServiceInstancePing service.
type ServiceInstancePingServer interface {
DoPing(context.Context, *ServiceInstancePingPkg) (*v2.Commands, error)
DoPing(context.Context, *ServiceInstancePingPkg) (*v2.CommandsV2, error)
}
// UnimplementedServiceInstancePingServer can be embedded to have forward compatible implementations.
type UnimplementedServiceInstancePingServer struct {
}
func (*UnimplementedServiceInstancePingServer) DoPing(ctx context.Context, req *ServiceInstancePingPkg) (*v2.Commands, error) {
func (*UnimplementedServiceInstancePingServer) DoPing(ctx context.Context, req *ServiceInstancePingPkg) (*v2.CommandsV2, error) {
return nil, status.Errorf(codes.Unimplemented, "method DoPing not implemented")
}
......@@ -166,7 +165,7 @@ func _ServiceInstancePing_DoPing_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/skywalking.network.protocol.agent.register.v2.ServiceInstancePing/DoPing",
FullMethod: "/ServiceInstancePing/DoPing",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceInstancePingServer).DoPing(ctx, req.(*ServiceInstancePingPkg))
......@@ -175,7 +174,7 @@ func _ServiceInstancePing_DoPing_Handler(srv interface{}, ctx context.Context, d
}
var _ServiceInstancePing_serviceDesc = grpc.ServiceDesc{
ServiceName: "skywalking.network.protocol.agent.register.v2.ServiceInstancePing",
ServiceName: "ServiceInstancePing",
HandlerType: (*ServiceInstancePingServer)(nil),
Methods: []grpc.MethodDesc{
{
......
# Apache SkyWalking data collect protocol
Apache SkyWalking can collect data from different sources. Each kind of source should follow the protocols in this repo.
## License
Apache 2.0
......@@ -18,8 +18,6 @@
syntax = "proto3";
package skywalking.network.protocol.common.v1;
option java_multiple_files = true;
option java_package = "org.apache.skywalking.apm.network.language.agent";
option csharp_namespace = "SkyWalking.NetworkProtocol";
......@@ -27,21 +25,21 @@ option go_package = "skywalking/network/language/agent/v1";
import "common/common.proto";
message CLRMetric {
message CLRMetricV1 {
int64 time = 1;
CPU cpu = 2;
ClrGC gc = 3;
ClrThread thread = 4;
CPUV1 cpu = 2;
ClrGCV1 gc = 3;
ClrThreadV1 thread = 4;
}
message ClrGC {
message ClrGCV1 {
int64 Gen0CollectCount = 1;
int64 Gen1CollectCount = 2;
int64 Gen2CollectCount = 3;
int64 HeapMemory = 4;
}
message ClrThread {
message ClrThreadV1 {
int32 AvailableCompletionPortThreads = 1;
int32 AvailableWorkerThreads = 2;
int32 MaxCompletionPortThreads = 3;
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册