Documentation ¶
Index ¶
- Variables
- type BusinessError
- func (*BusinessError) Descriptor() ([]byte, []int)
- func (m *BusinessError) GetDirectCauseCrashClazz() *CrashClazz
- func (m *BusinessError) GetHttpErrorCodes() []int32
- func (m *BusinessError) GetRpcErrorCodes() []string
- func (m *BusinessError) Marshal() (dAtA []byte, err error)
- func (m *BusinessError) MarshalTo(dAtA []byte) (int, error)
- func (*BusinessError) ProtoMessage()
- func (m *BusinessError) Reset()
- func (m *BusinessError) Size() (n int)
- func (m *BusinessError) String() string
- func (m *BusinessError) Unmarshal(dAtA []byte) error
- func (m *BusinessError) XXX_DiscardUnknown()
- func (m *BusinessError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BusinessError) XXX_Merge(src proto.Message)
- func (m *BusinessError) XXX_Size() int
- func (m *BusinessError) XXX_Unmarshal(b []byte) error
- type CrashClazz
- func (*CrashClazz) Descriptor() ([]byte, []int)
- func (m *CrashClazz) GetClassNames() []string
- func (m *CrashClazz) GetPattern() string
- func (m *CrashClazz) Marshal() (dAtA []byte, err error)
- func (m *CrashClazz) MarshalTo(dAtA []byte) (int, error)
- func (*CrashClazz) ProtoMessage()
- func (m *CrashClazz) Reset()
- func (m *CrashClazz) Size() (n int)
- func (m *CrashClazz) String() string
- func (m *CrashClazz) Unmarshal(dAtA []byte) error
- func (m *CrashClazz) XXX_DiscardUnknown()
- func (m *CrashClazz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrashClazz) XXX_Merge(src proto.Message)
- func (m *CrashClazz) XXX_Size() int
- func (m *CrashClazz) XXX_Unmarshal(b []byte) error
- type Db
- func (*Db) Descriptor() ([]byte, []int)
- func (m *Db) GetSlowQueryMillseconds() int32
- func (m *Db) Marshal() (dAtA []byte, err error)
- func (m *Db) MarshalTo(dAtA []byte) (int, error)
- func (*Db) ProtoMessage()
- func (m *Db) Reset()
- func (m *Db) Size() (n int)
- func (m *Db) String() string
- func (m *Db) Unmarshal(dAtA []byte) error
- func (m *Db) XXX_DiscardUnknown()
- func (m *Db) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Db) XXX_Merge(src proto.Message)
- func (m *Db) XXX_Size() int
- func (m *Db) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetConfigVersion() int64
- func (m *Profile) GetInstanceIdList() []string
- func (m *Profile) GetProfileId() int64
- func (m *Profile) GetProfileTypeList() []string
- func (m *Profile) GetPtConfigList() []*ProfileTypeConfig
- func (m *Profile) GetRecordDuration() int64
- func (m *Profile) GetRecordPeriod() int64
- func (m *Profile) GetRecordType() string
- func (m *Profile) GetServiceName() string
- func (m *Profile) GetStartTime() int64
- func (m *Profile) GetTriggerConditionList() []*TriggerCondition
- func (m *Profile) Marshal() (dAtA []byte, err error)
- func (m *Profile) MarshalTo(dAtA []byte) (int, error)
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) Size() (n int)
- func (m *Profile) String() string
- func (m *Profile) Unmarshal(dAtA []byte) error
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfileSettings
- func (*ProfileSettings) Descriptor() ([]byte, []int)
- func (m *ProfileSettings) GetProfile() []*Profile
- func (m *ProfileSettings) Marshal() (dAtA []byte, err error)
- func (m *ProfileSettings) MarshalTo(dAtA []byte) (int, error)
- func (*ProfileSettings) ProtoMessage()
- func (m *ProfileSettings) Reset()
- func (m *ProfileSettings) Size() (n int)
- func (m *ProfileSettings) String() string
- func (m *ProfileSettings) Unmarshal(dAtA []byte) error
- func (m *ProfileSettings) XXX_DiscardUnknown()
- func (m *ProfileSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileSettings) XXX_Merge(src proto.Message)
- func (m *ProfileSettings) XXX_Size() int
- func (m *ProfileSettings) XXX_Unmarshal(b []byte) error
- type ProfileTypeConfig
- func (*ProfileTypeConfig) Descriptor() ([]byte, []int)
- func (m *ProfileTypeConfig) GetDurationSeconds() int64
- func (m *ProfileTypeConfig) GetIsSnapshot() bool
- func (m *ProfileTypeConfig) GetProfileType() string
- func (m *ProfileTypeConfig) Marshal() (dAtA []byte, err error)
- func (m *ProfileTypeConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ProfileTypeConfig) ProtoMessage()
- func (m *ProfileTypeConfig) Reset()
- func (m *ProfileTypeConfig) Size() (n int)
- func (m *ProfileTypeConfig) String() string
- func (m *ProfileTypeConfig) Unmarshal(dAtA []byte) error
- func (m *ProfileTypeConfig) XXX_DiscardUnknown()
- func (m *ProfileTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileTypeConfig) XXX_Merge(src proto.Message)
- func (m *ProfileTypeConfig) XXX_Size() int
- func (m *ProfileTypeConfig) XXX_Unmarshal(b []byte) error
- type SampleStrategy
- type ServiceSettings
- func (*ServiceSettings) Descriptor() ([]byte, []int)
- func (m *ServiceSettings) GetServiceName() string
- func (m *ServiceSettings) GetSettings() *Settings
- func (m *ServiceSettings) Marshal() (dAtA []byte, err error)
- func (m *ServiceSettings) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceSettings) ProtoMessage()
- func (m *ServiceSettings) Reset()
- func (m *ServiceSettings) Size() (n int)
- func (m *ServiceSettings) String() string
- func (m *ServiceSettings) Unmarshal(dAtA []byte) error
- func (m *ServiceSettings) XXX_DiscardUnknown()
- func (m *ServiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServiceSettings) XXX_Merge(src proto.Message)
- func (m *ServiceSettings) XXX_Size() int
- func (m *ServiceSettings) XXX_Unmarshal(b []byte) error
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (m *Settings) GetBusinessError() *BusinessError
- func (m *Settings) GetDb() *Db
- func (m *Settings) GetProfileSettings() *ProfileSettings
- func (m *Settings) GetServiceSettings() []*ServiceSettings
- func (m *Settings) GetTrace() *Trace
- func (m *Settings) Marshal() (dAtA []byte, err error)
- func (m *Settings) MarshalTo(dAtA []byte) (int, error)
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) Size() (n int)
- func (m *Settings) String() string
- func (m *Settings) Unmarshal(dAtA []byte) error
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Settings) XXX_Merge(src proto.Message)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetCustomInstrumentConfig() []*TraceCustomInstrument
- func (m *Trace) GetSampleConfig() *TraceSample
- func (m *Trace) Marshal() (dAtA []byte, err error)
- func (m *Trace) MarshalTo(dAtA []byte) (int, error)
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) Size() (n int)
- func (m *Trace) String() string
- func (m *Trace) Unmarshal(dAtA []byte) error
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
- type TraceCustomInstrument
- func (*TraceCustomInstrument) Descriptor() ([]byte, []int)
- func (m *TraceCustomInstrument) GetClassName() string
- func (m *TraceCustomInstrument) GetCollectedArgTypes() []string
- func (m *TraceCustomInstrument) GetCollectedObjectDepth() int32
- func (m *TraceCustomInstrument) GetIsCollectArgs() bool
- func (m *TraceCustomInstrument) GetIsCollectMetric() bool
- func (m *TraceCustomInstrument) GetIsCollectReturn() bool
- func (m *TraceCustomInstrument) GetMethodName() []string
- func (m *TraceCustomInstrument) Marshal() (dAtA []byte, err error)
- func (m *TraceCustomInstrument) MarshalTo(dAtA []byte) (int, error)
- func (*TraceCustomInstrument) ProtoMessage()
- func (m *TraceCustomInstrument) Reset()
- func (m *TraceCustomInstrument) Size() (n int)
- func (m *TraceCustomInstrument) String() string
- func (m *TraceCustomInstrument) Unmarshal(dAtA []byte) error
- func (m *TraceCustomInstrument) XXX_DiscardUnknown()
- func (m *TraceCustomInstrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TraceCustomInstrument) XXX_Merge(src proto.Message)
- func (m *TraceCustomInstrument) XXX_Size() int
- func (m *TraceCustomInstrument) XXX_Unmarshal(b []byte) error
- type TraceSample
- func (*TraceSample) Descriptor() ([]byte, []int)
- func (m *TraceSample) GetStrategy() SampleStrategy
- func (m *TraceSample) GetValue() float64
- func (m *TraceSample) Marshal() (dAtA []byte, err error)
- func (m *TraceSample) MarshalTo(dAtA []byte) (int, error)
- func (*TraceSample) ProtoMessage()
- func (m *TraceSample) Reset()
- func (m *TraceSample) Size() (n int)
- func (m *TraceSample) String() string
- func (m *TraceSample) Unmarshal(dAtA []byte) error
- func (m *TraceSample) XXX_DiscardUnknown()
- func (m *TraceSample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TraceSample) XXX_Merge(src proto.Message)
- func (m *TraceSample) XXX_Size() int
- func (m *TraceSample) XXX_Unmarshal(b []byte) error
- type TriggerCondition
- func (*TriggerCondition) Descriptor() ([]byte, []int)
- func (m *TriggerCondition) GetCompare() string
- func (m *TriggerCondition) GetKey() string
- func (m *TriggerCondition) GetLabel() string
- func (m *TriggerCondition) GetOp() string
- func (m *TriggerCondition) GetUnit() string
- func (m *TriggerCondition) GetValue() float64
- func (m *TriggerCondition) Marshal() (dAtA []byte, err error)
- func (m *TriggerCondition) MarshalTo(dAtA []byte) (int, error)
- func (*TriggerCondition) ProtoMessage()
- func (m *TriggerCondition) Reset()
- func (m *TriggerCondition) Size() (n int)
- func (m *TriggerCondition) String() string
- func (m *TriggerCondition) Unmarshal(dAtA []byte) error
- func (m *TriggerCondition) XXX_DiscardUnknown()
- func (m *TriggerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TriggerCondition) XXX_Merge(src proto.Message)
- func (m *TriggerCondition) XXX_Size() int
- func (m *TriggerCondition) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSettings = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSettings = fmt.Errorf("proto: integer overflow") )
View Source
var SampleStrategy_name = map[int32]string{
0: "ALL",
1: "SAMPLE_RATIO",
2: "RATE_LIMIT",
}
View Source
var SampleStrategy_value = map[string]int32{
"ALL": 0,
"SAMPLE_RATIO": 1,
"RATE_LIMIT": 2,
}
Functions ¶
This section is empty.
Types ¶
type BusinessError ¶
type BusinessError struct { HttpErrorCodes []int32 `protobuf:"varint,1,rep,name=http_error_codes,json=httpErrorCodes" json:"http_error_codes,omitempty"` RpcErrorCodes []string `protobuf:"bytes,2,rep,name=rpc_error_codes,json=rpcErrorCodes" json:"rpc_error_codes,omitempty"` DirectCauseCrashClazz *CrashClazz `protobuf:"bytes,3,opt,name=direct_cause_crash_clazz,json=directCauseCrashClazz" json:"direct_cause_crash_clazz,omitempty"` }
func (*BusinessError) Descriptor ¶
func (*BusinessError) Descriptor() ([]byte, []int)
func (*BusinessError) GetDirectCauseCrashClazz ¶
func (m *BusinessError) GetDirectCauseCrashClazz() *CrashClazz
func (*BusinessError) GetHttpErrorCodes ¶
func (m *BusinessError) GetHttpErrorCodes() []int32
func (*BusinessError) GetRpcErrorCodes ¶
func (m *BusinessError) GetRpcErrorCodes() []string
func (*BusinessError) Marshal ¶
func (m *BusinessError) Marshal() (dAtA []byte, err error)
func (*BusinessError) ProtoMessage ¶
func (*BusinessError) ProtoMessage()
func (*BusinessError) Reset ¶
func (m *BusinessError) Reset()
func (*BusinessError) Size ¶
func (m *BusinessError) Size() (n int)
func (*BusinessError) String ¶
func (m *BusinessError) String() string
func (*BusinessError) Unmarshal ¶
func (m *BusinessError) Unmarshal(dAtA []byte) error
func (*BusinessError) XXX_DiscardUnknown ¶
func (m *BusinessError) XXX_DiscardUnknown()
func (*BusinessError) XXX_Marshal ¶
func (m *BusinessError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BusinessError) XXX_Merge ¶
func (dst *BusinessError) XXX_Merge(src proto.Message)
func (*BusinessError) XXX_Size ¶
func (m *BusinessError) XXX_Size() int
func (*BusinessError) XXX_Unmarshal ¶
func (m *BusinessError) XXX_Unmarshal(b []byte) error
type CrashClazz ¶
type CrashClazz struct { ClassNames []string `protobuf:"bytes,1,rep,name=class_names,json=classNames" json:"class_names,omitempty"` Pattern string `protobuf:"bytes,2,req,name=pattern" json:"pattern"` }
func (*CrashClazz) Descriptor ¶
func (*CrashClazz) Descriptor() ([]byte, []int)
func (*CrashClazz) GetClassNames ¶
func (m *CrashClazz) GetClassNames() []string
func (*CrashClazz) GetPattern ¶
func (m *CrashClazz) GetPattern() string
func (*CrashClazz) Marshal ¶
func (m *CrashClazz) Marshal() (dAtA []byte, err error)
func (*CrashClazz) ProtoMessage ¶
func (*CrashClazz) ProtoMessage()
func (*CrashClazz) Reset ¶
func (m *CrashClazz) Reset()
func (*CrashClazz) Size ¶
func (m *CrashClazz) Size() (n int)
func (*CrashClazz) String ¶
func (m *CrashClazz) String() string
func (*CrashClazz) Unmarshal ¶
func (m *CrashClazz) Unmarshal(dAtA []byte) error
func (*CrashClazz) XXX_DiscardUnknown ¶
func (m *CrashClazz) XXX_DiscardUnknown()
func (*CrashClazz) XXX_Marshal ¶
func (m *CrashClazz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrashClazz) XXX_Merge ¶
func (dst *CrashClazz) XXX_Merge(src proto.Message)
func (*CrashClazz) XXX_Size ¶
func (m *CrashClazz) XXX_Size() int
func (*CrashClazz) XXX_Unmarshal ¶
func (m *CrashClazz) XXX_Unmarshal(b []byte) error
type Db ¶
type Db struct {
SlowQueryMillseconds int32 `protobuf:"varint,1,req,name=slow_query_millseconds,json=slowQueryMillseconds" json:"slow_query_millseconds"`
}
func (*Db) Descriptor ¶
func (*Db) GetSlowQueryMillseconds ¶
func (*Db) ProtoMessage ¶
func (*Db) ProtoMessage()
func (*Db) XXX_DiscardUnknown ¶
func (m *Db) XXX_DiscardUnknown()
func (*Db) XXX_Unmarshal ¶
type Profile ¶
type Profile struct { ServiceName string `protobuf:"bytes,1,req,name=service_name,json=serviceName" json:"service_name"` ProfileId int64 `protobuf:"varint,2,req,name=profile_id,json=profileId" json:"profile_id"` RecordType string `protobuf:"bytes,3,req,name=record_type,json=recordType" json:"record_type"` RecordPeriod int64 `protobuf:"varint,4,req,name=record_period,json=recordPeriod" json:"record_period"` ConfigVersion int64 `protobuf:"varint,5,req,name=config_version,json=configVersion" json:"config_version"` RecordDuration int64 `protobuf:"varint,10,opt,name=record_duration,json=recordDuration" json:"record_duration"` InstanceIdList []string `protobuf:"bytes,11,rep,name=instance_id_list,json=instanceIdList" json:"instance_id_list,omitempty"` ProfileTypeList []string `protobuf:"bytes,12,rep,name=profile_type_list,json=profileTypeList" json:"profile_type_list,omitempty"` StartTime int64 `protobuf:"varint,13,opt,name=start_time,json=startTime" json:"start_time"` TriggerConditionList []*TriggerCondition `protobuf:"bytes,14,rep,name=trigger_condition_list,json=triggerConditionList" json:"trigger_condition_list,omitempty"` PtConfigList []*ProfileTypeConfig `protobuf:"bytes,15,rep,name=pt_config_list,json=ptConfigList" json:"pt_config_list,omitempty"` }
func (*Profile) Descriptor ¶
func (*Profile) GetConfigVersion ¶
func (*Profile) GetInstanceIdList ¶
func (*Profile) GetProfileId ¶
func (*Profile) GetProfileTypeList ¶
func (*Profile) GetPtConfigList ¶
func (m *Profile) GetPtConfigList() []*ProfileTypeConfig
func (*Profile) GetRecordDuration ¶
func (*Profile) GetRecordPeriod ¶
func (*Profile) GetRecordType ¶
func (*Profile) GetServiceName ¶
func (*Profile) GetStartTime ¶
func (*Profile) GetTriggerConditionList ¶
func (m *Profile) GetTriggerConditionList() []*TriggerCondition
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type ProfileSettings ¶
type ProfileSettings struct {
Profile []*Profile `protobuf:"bytes,1,rep,name=profile" json:"profile,omitempty"`
}
func (*ProfileSettings) Descriptor ¶
func (*ProfileSettings) Descriptor() ([]byte, []int)
func (*ProfileSettings) GetProfile ¶
func (m *ProfileSettings) GetProfile() []*Profile
func (*ProfileSettings) Marshal ¶
func (m *ProfileSettings) Marshal() (dAtA []byte, err error)
func (*ProfileSettings) ProtoMessage ¶
func (*ProfileSettings) ProtoMessage()
func (*ProfileSettings) Reset ¶
func (m *ProfileSettings) Reset()
func (*ProfileSettings) Size ¶
func (m *ProfileSettings) Size() (n int)
func (*ProfileSettings) String ¶
func (m *ProfileSettings) String() string
func (*ProfileSettings) Unmarshal ¶
func (m *ProfileSettings) Unmarshal(dAtA []byte) error
func (*ProfileSettings) XXX_DiscardUnknown ¶
func (m *ProfileSettings) XXX_DiscardUnknown()
func (*ProfileSettings) XXX_Marshal ¶
func (m *ProfileSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileSettings) XXX_Merge ¶
func (dst *ProfileSettings) XXX_Merge(src proto.Message)
func (*ProfileSettings) XXX_Size ¶
func (m *ProfileSettings) XXX_Size() int
func (*ProfileSettings) XXX_Unmarshal ¶
func (m *ProfileSettings) XXX_Unmarshal(b []byte) error
type ProfileTypeConfig ¶
type ProfileTypeConfig struct { ProfileType string `protobuf:"bytes,1,req,name=profile_type,json=profileType" json:"profile_type"` DurationSeconds int64 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds" json:"duration_seconds"` IsSnapshot bool `protobuf:"varint,3,opt,name=is_snapshot,json=isSnapshot" json:"is_snapshot"` }
func (*ProfileTypeConfig) Descriptor ¶
func (*ProfileTypeConfig) Descriptor() ([]byte, []int)
func (*ProfileTypeConfig) GetDurationSeconds ¶
func (m *ProfileTypeConfig) GetDurationSeconds() int64
func (*ProfileTypeConfig) GetIsSnapshot ¶
func (m *ProfileTypeConfig) GetIsSnapshot() bool
func (*ProfileTypeConfig) GetProfileType ¶
func (m *ProfileTypeConfig) GetProfileType() string
func (*ProfileTypeConfig) Marshal ¶
func (m *ProfileTypeConfig) Marshal() (dAtA []byte, err error)
func (*ProfileTypeConfig) MarshalTo ¶
func (m *ProfileTypeConfig) MarshalTo(dAtA []byte) (int, error)
func (*ProfileTypeConfig) ProtoMessage ¶
func (*ProfileTypeConfig) ProtoMessage()
func (*ProfileTypeConfig) Reset ¶
func (m *ProfileTypeConfig) Reset()
func (*ProfileTypeConfig) Size ¶
func (m *ProfileTypeConfig) Size() (n int)
func (*ProfileTypeConfig) String ¶
func (m *ProfileTypeConfig) String() string
func (*ProfileTypeConfig) Unmarshal ¶
func (m *ProfileTypeConfig) Unmarshal(dAtA []byte) error
func (*ProfileTypeConfig) XXX_DiscardUnknown ¶
func (m *ProfileTypeConfig) XXX_DiscardUnknown()
func (*ProfileTypeConfig) XXX_Marshal ¶
func (m *ProfileTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileTypeConfig) XXX_Merge ¶
func (dst *ProfileTypeConfig) XXX_Merge(src proto.Message)
func (*ProfileTypeConfig) XXX_Size ¶
func (m *ProfileTypeConfig) XXX_Size() int
func (*ProfileTypeConfig) XXX_Unmarshal ¶
func (m *ProfileTypeConfig) XXX_Unmarshal(b []byte) error
type SampleStrategy ¶
type SampleStrategy int32
const ( SampleStrategy_ALL SampleStrategy = 0 SampleStrategy_SAMPLE_RATIO SampleStrategy = 1 SampleStrategy_RATE_LIMIT SampleStrategy = 2 )
func (SampleStrategy) Enum ¶
func (x SampleStrategy) Enum() *SampleStrategy
func (SampleStrategy) EnumDescriptor ¶
func (SampleStrategy) EnumDescriptor() ([]byte, []int)
func (SampleStrategy) String ¶
func (x SampleStrategy) String() string
func (*SampleStrategy) UnmarshalJSON ¶
func (x *SampleStrategy) UnmarshalJSON(data []byte) error
type ServiceSettings ¶
type ServiceSettings struct { ServiceName string `protobuf:"bytes,1,req,name=service_name,json=serviceName" json:"service_name"` Settings *Settings `protobuf:"bytes,2,req,name=settings" json:"settings,omitempty"` }
func (*ServiceSettings) Descriptor ¶
func (*ServiceSettings) Descriptor() ([]byte, []int)
func (*ServiceSettings) GetServiceName ¶
func (m *ServiceSettings) GetServiceName() string
func (*ServiceSettings) GetSettings ¶
func (m *ServiceSettings) GetSettings() *Settings
func (*ServiceSettings) Marshal ¶
func (m *ServiceSettings) Marshal() (dAtA []byte, err error)
func (*ServiceSettings) ProtoMessage ¶
func (*ServiceSettings) ProtoMessage()
func (*ServiceSettings) Reset ¶
func (m *ServiceSettings) Reset()
func (*ServiceSettings) Size ¶
func (m *ServiceSettings) Size() (n int)
func (*ServiceSettings) String ¶
func (m *ServiceSettings) String() string
func (*ServiceSettings) Unmarshal ¶
func (m *ServiceSettings) Unmarshal(dAtA []byte) error
func (*ServiceSettings) XXX_DiscardUnknown ¶
func (m *ServiceSettings) XXX_DiscardUnknown()
func (*ServiceSettings) XXX_Marshal ¶
func (m *ServiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceSettings) XXX_Merge ¶
func (dst *ServiceSettings) XXX_Merge(src proto.Message)
func (*ServiceSettings) XXX_Size ¶
func (m *ServiceSettings) XXX_Size() int
func (*ServiceSettings) XXX_Unmarshal ¶
func (m *ServiceSettings) XXX_Unmarshal(b []byte) error
type Settings ¶
type Settings struct { Db *Db `protobuf:"bytes,1,req,name=db" json:"db,omitempty"` Trace *Trace `protobuf:"bytes,2,req,name=trace" json:"trace,omitempty"` BusinessError *BusinessError `protobuf:"bytes,3,opt,name=business_error,json=businessError" json:"business_error,omitempty"` ProfileSettings *ProfileSettings `protobuf:"bytes,4,opt,name=profile_settings,json=profileSettings" json:"profile_settings,omitempty"` ServiceSettings []*ServiceSettings `protobuf:"bytes,100,rep,name=service_settings,json=serviceSettings" json:"service_settings,omitempty"` }
func (*Settings) Descriptor ¶
func (*Settings) GetBusinessError ¶
func (m *Settings) GetBusinessError() *BusinessError
func (*Settings) GetProfileSettings ¶
func (m *Settings) GetProfileSettings() *ProfileSettings
func (*Settings) GetServiceSettings ¶
func (m *Settings) GetServiceSettings() []*ServiceSettings
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_Unmarshal ¶
type Trace ¶
type Trace struct { SampleConfig *TraceSample `protobuf:"bytes,1,req,name=sample_config,json=sampleConfig" json:"sample_config,omitempty"` CustomInstrumentConfig []*TraceCustomInstrument `protobuf:"bytes,2,rep,name=custom_instrument_config,json=customInstrumentConfig" json:"custom_instrument_config,omitempty"` }
func (*Trace) Descriptor ¶
func (*Trace) GetCustomInstrumentConfig ¶
func (m *Trace) GetCustomInstrumentConfig() []*TraceCustomInstrument
func (*Trace) GetSampleConfig ¶
func (m *Trace) GetSampleConfig() *TraceSample
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
type TraceCustomInstrument ¶
type TraceCustomInstrument struct { ClassName string `protobuf:"bytes,1,req,name=class_name,json=className" json:"class_name"` MethodName []string `protobuf:"bytes,2,rep,name=method_name,json=methodName" json:"method_name,omitempty"` IsCollectArgs bool `protobuf:"varint,3,req,name=is_collect_args,json=isCollectArgs" json:"is_collect_args"` IsCollectReturn bool `protobuf:"varint,4,req,name=is_collect_return,json=isCollectReturn" json:"is_collect_return"` IsCollectMetric bool `protobuf:"varint,5,req,name=is_collect_metric,json=isCollectMetric" json:"is_collect_metric"` CollectedArgTypes []string `protobuf:"bytes,6,rep,name=collected_arg_types,json=collectedArgTypes" json:"collected_arg_types,omitempty"` CollectedObjectDepth int32 `protobuf:"varint,7,req,name=collected_object_depth,json=collectedObjectDepth" json:"collected_object_depth"` }
func (*TraceCustomInstrument) Descriptor ¶
func (*TraceCustomInstrument) Descriptor() ([]byte, []int)
func (*TraceCustomInstrument) GetClassName ¶
func (m *TraceCustomInstrument) GetClassName() string
func (*TraceCustomInstrument) GetCollectedArgTypes ¶
func (m *TraceCustomInstrument) GetCollectedArgTypes() []string
func (*TraceCustomInstrument) GetCollectedObjectDepth ¶
func (m *TraceCustomInstrument) GetCollectedObjectDepth() int32
func (*TraceCustomInstrument) GetIsCollectArgs ¶
func (m *TraceCustomInstrument) GetIsCollectArgs() bool
func (*TraceCustomInstrument) GetIsCollectMetric ¶
func (m *TraceCustomInstrument) GetIsCollectMetric() bool
func (*TraceCustomInstrument) GetIsCollectReturn ¶
func (m *TraceCustomInstrument) GetIsCollectReturn() bool
func (*TraceCustomInstrument) GetMethodName ¶
func (m *TraceCustomInstrument) GetMethodName() []string
func (*TraceCustomInstrument) Marshal ¶
func (m *TraceCustomInstrument) Marshal() (dAtA []byte, err error)
func (*TraceCustomInstrument) MarshalTo ¶
func (m *TraceCustomInstrument) MarshalTo(dAtA []byte) (int, error)
func (*TraceCustomInstrument) ProtoMessage ¶
func (*TraceCustomInstrument) ProtoMessage()
func (*TraceCustomInstrument) Reset ¶
func (m *TraceCustomInstrument) Reset()
func (*TraceCustomInstrument) Size ¶
func (m *TraceCustomInstrument) Size() (n int)
func (*TraceCustomInstrument) String ¶
func (m *TraceCustomInstrument) String() string
func (*TraceCustomInstrument) Unmarshal ¶
func (m *TraceCustomInstrument) Unmarshal(dAtA []byte) error
func (*TraceCustomInstrument) XXX_DiscardUnknown ¶
func (m *TraceCustomInstrument) XXX_DiscardUnknown()
func (*TraceCustomInstrument) XXX_Marshal ¶
func (m *TraceCustomInstrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceCustomInstrument) XXX_Merge ¶
func (dst *TraceCustomInstrument) XXX_Merge(src proto.Message)
func (*TraceCustomInstrument) XXX_Size ¶
func (m *TraceCustomInstrument) XXX_Size() int
func (*TraceCustomInstrument) XXX_Unmarshal ¶
func (m *TraceCustomInstrument) XXX_Unmarshal(b []byte) error
type TraceSample ¶
type TraceSample struct { Strategy SampleStrategy `protobuf:"varint,1,req,name=strategy,enum=settings_models.SampleStrategy" json:"strategy"` Value float64 `protobuf:"fixed64,2,opt,name=value" json:"value"` }
func (*TraceSample) Descriptor ¶
func (*TraceSample) Descriptor() ([]byte, []int)
func (*TraceSample) GetStrategy ¶
func (m *TraceSample) GetStrategy() SampleStrategy
func (*TraceSample) GetValue ¶
func (m *TraceSample) GetValue() float64
func (*TraceSample) Marshal ¶
func (m *TraceSample) Marshal() (dAtA []byte, err error)
func (*TraceSample) ProtoMessage ¶
func (*TraceSample) ProtoMessage()
func (*TraceSample) Reset ¶
func (m *TraceSample) Reset()
func (*TraceSample) Size ¶
func (m *TraceSample) Size() (n int)
func (*TraceSample) String ¶
func (m *TraceSample) String() string
func (*TraceSample) Unmarshal ¶
func (m *TraceSample) Unmarshal(dAtA []byte) error
func (*TraceSample) XXX_DiscardUnknown ¶
func (m *TraceSample) XXX_DiscardUnknown()
func (*TraceSample) XXX_Marshal ¶
func (m *TraceSample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceSample) XXX_Merge ¶
func (dst *TraceSample) XXX_Merge(src proto.Message)
func (*TraceSample) XXX_Size ¶
func (m *TraceSample) XXX_Size() int
func (*TraceSample) XXX_Unmarshal ¶
func (m *TraceSample) XXX_Unmarshal(b []byte) error
type TriggerCondition ¶
type TriggerCondition struct { Key string `protobuf:"bytes,1,req,name=key" json:"key"` Label string `protobuf:"bytes,2,req,name=label" json:"label"` Compare string `protobuf:"bytes,3,req,name=compare" json:"compare"` Op string `protobuf:"bytes,4,req,name=op" json:"op"` Value float64 `protobuf:"fixed64,5,req,name=value" json:"value"` Unit string `protobuf:"bytes,6,req,name=unit" json:"unit"` }
func (*TriggerCondition) Descriptor ¶
func (*TriggerCondition) Descriptor() ([]byte, []int)
func (*TriggerCondition) GetCompare ¶
func (m *TriggerCondition) GetCompare() string
func (*TriggerCondition) GetKey ¶
func (m *TriggerCondition) GetKey() string
func (*TriggerCondition) GetLabel ¶
func (m *TriggerCondition) GetLabel() string
func (*TriggerCondition) GetOp ¶
func (m *TriggerCondition) GetOp() string
func (*TriggerCondition) GetUnit ¶
func (m *TriggerCondition) GetUnit() string
func (*TriggerCondition) GetValue ¶
func (m *TriggerCondition) GetValue() float64
func (*TriggerCondition) Marshal ¶
func (m *TriggerCondition) Marshal() (dAtA []byte, err error)
func (*TriggerCondition) ProtoMessage ¶
func (*TriggerCondition) ProtoMessage()
func (*TriggerCondition) Reset ¶
func (m *TriggerCondition) Reset()
func (*TriggerCondition) Size ¶
func (m *TriggerCondition) Size() (n int)
func (*TriggerCondition) String ¶
func (m *TriggerCondition) String() string
func (*TriggerCondition) Unmarshal ¶
func (m *TriggerCondition) Unmarshal(dAtA []byte) error
func (*TriggerCondition) XXX_DiscardUnknown ¶
func (m *TriggerCondition) XXX_DiscardUnknown()
func (*TriggerCondition) XXX_Marshal ¶
func (m *TriggerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TriggerCondition) XXX_Merge ¶
func (dst *TriggerCondition) XXX_Merge(src proto.Message)
func (*TriggerCondition) XXX_Size ¶
func (m *TriggerCondition) XXX_Size() int
func (*TriggerCondition) XXX_Unmarshal ¶
func (m *TriggerCondition) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.