common

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectPoint_name = map[int32]string{
	0: "client",
	1: "server",
	2: "proxy",
}
View Source
var DetectPoint_value = map[string]int32{
	"client": 0,
	"server": 1,
	"proxy":  2,
}
View Source
var GCPhrase_name = map[int32]string{
	0: "NEW",
	1: "OLD",
}
View Source
var GCPhrase_value = map[string]int32{
	"NEW": 0,
	"OLD": 1,
}
View Source
var PoolType_name = map[int32]string{
	0: "CODE_CACHE_USAGE",
	1: "NEWGEN_USAGE",
	2: "OLDGEN_USAGE",
	3: "SURVIVOR_USAGE",
	4: "PERMGEN_USAGE",
	5: "METASPACE_USAGE",
}
View Source
var PoolType_value = map[string]int32{
	"CODE_CACHE_USAGE": 0,
	"NEWGEN_USAGE":     1,
	"OLDGEN_USAGE":     2,
	"SURVIVOR_USAGE":   3,
	"PERMGEN_USAGE":    4,
	"METASPACE_USAGE":  5,
}
View Source
var RefType_name = map[int32]string{
	0: "CrossProcess",
	1: "CrossThread",
}
View Source
var RefType_value = map[string]int32{
	"CrossProcess": 0,
	"CrossThread":  1,
}
View Source
var SpanLayer_name = map[int32]string{
	0: "Unknown",
	1: "Database",
	2: "RPCFramework",
	3: "Http",
	4: "MQ",
	5: "Cache",
}
View Source
var SpanLayer_value = map[string]int32{
	"Unknown":      0,
	"Database":     1,
	"RPCFramework": 2,
	"Http":         3,
	"MQ":           4,
	"Cache":        5,
}
View Source
var SpanType_name = map[int32]string{
	0: "Entry",
	1: "Exit",
	2: "Local",
}
View Source
var SpanType_value = map[string]int32{
	"Entry": 0,
	"Exit":  1,
	"Local": 2,
}

Functions

This section is empty.

Types

type CLRMetric

type CLRMetric struct {
	Time                 int64      `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Cpu                  *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:"-"`
}

func (*CLRMetric) Descriptor

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

func (*CLRMetric) GetCpu

func (m *CLRMetric) GetCpu() *CPU

func (*CLRMetric) GetGc

func (m *CLRMetric) GetGc() *ClrGC

func (*CLRMetric) GetThread

func (m *CLRMetric) GetThread() *ClrThread

func (*CLRMetric) GetTime

func (m *CLRMetric) GetTime() int64

func (*CLRMetric) ProtoMessage

func (*CLRMetric) ProtoMessage()

func (*CLRMetric) Reset

func (m *CLRMetric) Reset()

func (*CLRMetric) String

func (m *CLRMetric) String() string

func (*CLRMetric) XXX_DiscardUnknown

func (m *CLRMetric) XXX_DiscardUnknown()

func (*CLRMetric) XXX_Marshal

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

func (*CLRMetric) XXX_Merge

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

func (*CLRMetric) XXX_Size

func (m *CLRMetric) XXX_Size() int

func (*CLRMetric) XXX_Unmarshal

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

type CPU

type CPU 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 (*CPU) Descriptor

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

func (*CPU) GetUsagePercent

func (m *CPU) GetUsagePercent() float64

func (*CPU) ProtoMessage

func (*CPU) ProtoMessage()

func (*CPU) Reset

func (m *CPU) Reset()

func (*CPU) String

func (m *CPU) String() string

func (*CPU) XXX_DiscardUnknown

func (m *CPU) XXX_DiscardUnknown()

func (*CPU) XXX_Marshal

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

func (*CPU) XXX_Merge

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

func (*CPU) XXX_Size

func (m *CPU) XXX_Size() int

func (*CPU) XXX_Unmarshal

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

type ClrGC

type ClrGC 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"`
	HeapMemory           int64    `protobuf:"varint,4,opt,name=HeapMemory,proto3" json:"HeapMemory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClrGC) Descriptor

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

func (*ClrGC) GetGen0CollectCount

func (m *ClrGC) GetGen0CollectCount() int64

func (*ClrGC) GetGen1CollectCount

func (m *ClrGC) GetGen1CollectCount() int64

func (*ClrGC) GetGen2CollectCount

func (m *ClrGC) GetGen2CollectCount() int64

func (*ClrGC) GetHeapMemory

func (m *ClrGC) GetHeapMemory() int64

func (*ClrGC) ProtoMessage

func (*ClrGC) ProtoMessage()

func (*ClrGC) Reset

func (m *ClrGC) Reset()

func (*ClrGC) String

func (m *ClrGC) String() string

func (*ClrGC) XXX_DiscardUnknown

func (m *ClrGC) XXX_DiscardUnknown()

func (*ClrGC) XXX_Marshal

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

func (*ClrGC) XXX_Merge

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

func (*ClrGC) XXX_Size

func (m *ClrGC) XXX_Size() int

func (*ClrGC) XXX_Unmarshal

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

type ClrThread

type ClrThread 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"`
	MaxWorkerThreads               int32    `protobuf:"varint,4,opt,name=MaxWorkerThreads,proto3" json:"MaxWorkerThreads,omitempty"`
	XXX_NoUnkeyedLiteral           struct{} `json:"-"`
	XXX_unrecognized               []byte   `json:"-"`
	XXX_sizecache                  int32    `json:"-"`
}

func (*ClrThread) Descriptor

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

func (*ClrThread) GetAvailableCompletionPortThreads

func (m *ClrThread) GetAvailableCompletionPortThreads() int32

func (*ClrThread) GetAvailableWorkerThreads

func (m *ClrThread) GetAvailableWorkerThreads() int32

func (*ClrThread) GetMaxCompletionPortThreads

func (m *ClrThread) GetMaxCompletionPortThreads() int32

func (*ClrThread) GetMaxWorkerThreads

func (m *ClrThread) GetMaxWorkerThreads() int32

func (*ClrThread) ProtoMessage

func (*ClrThread) ProtoMessage()

func (*ClrThread) Reset

func (m *ClrThread) Reset()

func (*ClrThread) String

func (m *ClrThread) String() string

func (*ClrThread) XXX_DiscardUnknown

func (m *ClrThread) XXX_DiscardUnknown()

func (*ClrThread) XXX_Marshal

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

func (*ClrThread) XXX_Merge

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

func (*ClrThread) XXX_Size

func (m *ClrThread) XXX_Size() int

func (*ClrThread) XXX_Unmarshal

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

type Command

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:"-"`
}

func (*Command) Descriptor

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

func (*Command) GetArgs

func (m *Command) GetArgs() []*KeyStringValuePair

func (*Command) GetCommand

func (m *Command) GetCommand() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

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

func (*Command) XXX_Merge

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

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

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

type Commands

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:"-"`
}

func (*Commands) Descriptor

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

func (*Commands) GetCommands

func (m *Commands) GetCommands() []*Command

func (*Commands) ProtoMessage

func (*Commands) ProtoMessage()

func (*Commands) Reset

func (m *Commands) Reset()

func (*Commands) String

func (m *Commands) String() string

func (*Commands) XXX_DiscardUnknown

func (m *Commands) XXX_DiscardUnknown()

func (*Commands) XXX_Marshal

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

func (*Commands) XXX_Merge

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

func (*Commands) XXX_Size

func (m *Commands) XXX_Size() int

func (*Commands) XXX_Unmarshal

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

type DetectPoint

type DetectPoint int32

In most cases, detect point should be `server` or `client`. Even in service mesh, this means `server`/`client` side sidecar `proxy` is reserved only.

const (
	DetectPoint_client DetectPoint = 0
	DetectPoint_server DetectPoint = 1
	DetectPoint_proxy  DetectPoint = 2
)

func (DetectPoint) EnumDescriptor

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

func (DetectPoint) String

func (x DetectPoint) String() string

type GC

type GC struct {
	Phrase               GCPhrase `protobuf:"varint,1,opt,name=phrase,proto3,enum=GCPhrase" json:"phrase,omitempty"`
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Time                 int64    `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GC) Descriptor

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

func (*GC) GetCount

func (m *GC) GetCount() int64

func (*GC) GetPhrase

func (m *GC) GetPhrase() GCPhrase

func (*GC) GetTime

func (m *GC) GetTime() int64

func (*GC) ProtoMessage

func (*GC) ProtoMessage()

func (*GC) Reset

func (m *GC) Reset()

func (*GC) String

func (m *GC) String() string

func (*GC) XXX_DiscardUnknown

func (m *GC) XXX_DiscardUnknown()

func (*GC) XXX_Marshal

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

func (*GC) XXX_Merge

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

func (*GC) XXX_Size

func (m *GC) XXX_Size() int

func (*GC) XXX_Unmarshal

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

type GCPhrase

type GCPhrase int32
const (
	GCPhrase_NEW GCPhrase = 0
	GCPhrase_OLD GCPhrase = 1
)

func (GCPhrase) EnumDescriptor

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

func (GCPhrase) String

func (x GCPhrase) String() string

type JVMMetric

type JVMMetric struct {
	Time                 int64         `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Cpu                  *CPU          `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory               []*Memory     `protobuf:"bytes,3,rep,name=memory,proto3" json:"memory,omitempty"`
	MemoryPool           []*MemoryPool `protobuf:"bytes,4,rep,name=memoryPool,proto3" json:"memoryPool,omitempty"`
	Gc                   []*GC         `protobuf:"bytes,5,rep,name=gc,proto3" json:"gc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*JVMMetric) Descriptor

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

func (*JVMMetric) GetCpu

func (m *JVMMetric) GetCpu() *CPU

func (*JVMMetric) GetGc

func (m *JVMMetric) GetGc() []*GC

func (*JVMMetric) GetMemory

func (m *JVMMetric) GetMemory() []*Memory

func (*JVMMetric) GetMemoryPool

func (m *JVMMetric) GetMemoryPool() []*MemoryPool

func (*JVMMetric) GetTime

func (m *JVMMetric) GetTime() int64

func (*JVMMetric) ProtoMessage

func (*JVMMetric) ProtoMessage()

func (*JVMMetric) Reset

func (m *JVMMetric) Reset()

func (*JVMMetric) String

func (m *JVMMetric) String() string

func (*JVMMetric) XXX_DiscardUnknown

func (m *JVMMetric) XXX_DiscardUnknown()

func (*JVMMetric) XXX_Marshal

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

func (*JVMMetric) XXX_Merge

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

func (*JVMMetric) XXX_Size

func (m *JVMMetric) XXX_Size() int

func (*JVMMetric) XXX_Unmarshal

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

type KeyIntValuePair

type KeyIntValuePair 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:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyIntValuePair) Descriptor

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

func (*KeyIntValuePair) GetKey

func (m *KeyIntValuePair) GetKey() string

func (*KeyIntValuePair) GetValue

func (m *KeyIntValuePair) GetValue() int32

func (*KeyIntValuePair) ProtoMessage

func (*KeyIntValuePair) ProtoMessage()

func (*KeyIntValuePair) Reset

func (m *KeyIntValuePair) Reset()

func (*KeyIntValuePair) String

func (m *KeyIntValuePair) String() string

func (*KeyIntValuePair) XXX_DiscardUnknown

func (m *KeyIntValuePair) XXX_DiscardUnknown()

func (*KeyIntValuePair) XXX_Marshal

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

func (*KeyIntValuePair) XXX_Merge

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

func (*KeyIntValuePair) XXX_Size

func (m *KeyIntValuePair) XXX_Size() int

func (*KeyIntValuePair) XXX_Unmarshal

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

type KeyStringValuePair

type KeyStringValuePair 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:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyStringValuePair) Descriptor

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

func (*KeyStringValuePair) GetKey

func (m *KeyStringValuePair) GetKey() string

func (*KeyStringValuePair) GetValue

func (m *KeyStringValuePair) GetValue() string

func (*KeyStringValuePair) ProtoMessage

func (*KeyStringValuePair) ProtoMessage()

func (*KeyStringValuePair) Reset

func (m *KeyStringValuePair) Reset()

func (*KeyStringValuePair) String

func (m *KeyStringValuePair) String() string

func (*KeyStringValuePair) XXX_DiscardUnknown

func (m *KeyStringValuePair) XXX_DiscardUnknown()

func (*KeyStringValuePair) XXX_Marshal

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

func (*KeyStringValuePair) XXX_Merge

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

func (*KeyStringValuePair) XXX_Size

func (m *KeyStringValuePair) XXX_Size() int

func (*KeyStringValuePair) XXX_Unmarshal

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

type Memory

type Memory struct {
	IsHeap               bool     `protobuf:"varint,1,opt,name=isHeap,proto3" json:"isHeap,omitempty"`
	Init                 int64    `protobuf:"varint,2,opt,name=init,proto3" json:"init,omitempty"`
	Max                  int64    `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	Used                 int64    `protobuf:"varint,4,opt,name=used,proto3" json:"used,omitempty"`
	Committed            int64    `protobuf:"varint,5,opt,name=committed,proto3" json:"committed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Memory) Descriptor

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

func (*Memory) GetCommitted

func (m *Memory) GetCommitted() int64

func (*Memory) GetInit

func (m *Memory) GetInit() int64

func (*Memory) GetIsHeap

func (m *Memory) GetIsHeap() bool

func (*Memory) GetMax

func (m *Memory) GetMax() int64

func (*Memory) GetUsed

func (m *Memory) GetUsed() int64

func (*Memory) ProtoMessage

func (*Memory) ProtoMessage()

func (*Memory) Reset

func (m *Memory) Reset()

func (*Memory) String

func (m *Memory) String() string

func (*Memory) XXX_DiscardUnknown

func (m *Memory) XXX_DiscardUnknown()

func (*Memory) XXX_Marshal

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

func (*Memory) XXX_Merge

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

func (*Memory) XXX_Size

func (m *Memory) XXX_Size() int

func (*Memory) XXX_Unmarshal

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

type MemoryPool

type MemoryPool struct {
	Type                 PoolType `protobuf:"varint,1,opt,name=type,proto3,enum=PoolType" json:"type,omitempty"`
	Init                 int64    `protobuf:"varint,2,opt,name=init,proto3" json:"init,omitempty"`
	Max                  int64    `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	Used                 int64    `protobuf:"varint,4,opt,name=used,proto3" json:"used,omitempty"`
	Commited             int64    `protobuf:"varint,5,opt,name=commited,proto3" json:"commited,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemoryPool) Descriptor

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

func (*MemoryPool) GetCommited

func (m *MemoryPool) GetCommited() int64

func (*MemoryPool) GetInit

func (m *MemoryPool) GetInit() int64

func (*MemoryPool) GetMax

func (m *MemoryPool) GetMax() int64

func (*MemoryPool) GetType

func (m *MemoryPool) GetType() PoolType

func (*MemoryPool) GetUsed

func (m *MemoryPool) GetUsed() int64

func (*MemoryPool) ProtoMessage

func (*MemoryPool) ProtoMessage()

func (*MemoryPool) Reset

func (m *MemoryPool) Reset()

func (*MemoryPool) String

func (m *MemoryPool) String() string

func (*MemoryPool) XXX_DiscardUnknown

func (m *MemoryPool) XXX_DiscardUnknown()

func (*MemoryPool) XXX_Marshal

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

func (*MemoryPool) XXX_Merge

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

func (*MemoryPool) XXX_Size

func (m *MemoryPool) XXX_Size() int

func (*MemoryPool) XXX_Unmarshal

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

type PoolType

type PoolType int32
const (
	PoolType_CODE_CACHE_USAGE PoolType = 0
	PoolType_NEWGEN_USAGE     PoolType = 1
	PoolType_OLDGEN_USAGE     PoolType = 2
	PoolType_SURVIVOR_USAGE   PoolType = 3
	PoolType_PERMGEN_USAGE    PoolType = 4
	PoolType_METASPACE_USAGE  PoolType = 5
)

func (PoolType) EnumDescriptor

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

func (PoolType) String

func (x PoolType) String() string

type RefType

type RefType int32
const (
	RefType_CrossProcess RefType = 0
	RefType_CrossThread  RefType = 1
)

func (RefType) EnumDescriptor

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

func (RefType) String

func (x RefType) String() string

type SpanLayer

type SpanLayer 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
)

func (SpanLayer) EnumDescriptor

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

func (SpanLayer) String

func (x SpanLayer) String() string

type SpanType

type SpanType int32
const (
	SpanType_Entry SpanType = 0
	SpanType_Exit  SpanType = 1
	SpanType_Local SpanType = 2
)

func (SpanType) EnumDescriptor

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

func (SpanType) String

func (x SpanType) String() string

type UniqueId

type UniqueId 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 (*UniqueId) Descriptor

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

func (*UniqueId) GetIdParts

func (m *UniqueId) GetIdParts() []int64

func (*UniqueId) ProtoMessage

func (*UniqueId) ProtoMessage()

func (*UniqueId) Reset

func (m *UniqueId) Reset()

func (*UniqueId) String

func (m *UniqueId) String() string

func (*UniqueId) XXX_DiscardUnknown

func (m *UniqueId) XXX_DiscardUnknown()

func (*UniqueId) XXX_Marshal

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

func (*UniqueId) XXX_Merge

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

func (*UniqueId) XXX_Size

func (m *UniqueId) XXX_Size() int

func (*UniqueId) XXX_Unmarshal

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

type UpstreamSegment

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:"-"`
}

func (*UpstreamSegment) Descriptor

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

func (*UpstreamSegment) GetGlobalTraceIds

func (m *UpstreamSegment) GetGlobalTraceIds() []*UniqueId

func (*UpstreamSegment) GetSegment

func (m *UpstreamSegment) GetSegment() []byte

func (*UpstreamSegment) ProtoMessage

func (*UpstreamSegment) ProtoMessage()

func (*UpstreamSegment) Reset

func (m *UpstreamSegment) Reset()

func (*UpstreamSegment) String

func (m *UpstreamSegment) String() string

func (*UpstreamSegment) XXX_DiscardUnknown

func (m *UpstreamSegment) XXX_DiscardUnknown()

func (*UpstreamSegment) XXX_Marshal

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

func (*UpstreamSegment) XXX_Merge

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

func (*UpstreamSegment) XXX_Size

func (m *UpstreamSegment) XXX_Size() int

func (*UpstreamSegment) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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