Documentation ¶
Index ¶
- type Api
- type ApiMap
- type ApiStore
- type App
- type Dubbo
- type ExMethod
- type Exception
- type Exceptions
- type JVMCPULoad
- type JVMGC
- type JVMInfo
- type JVMStats
- type Method
- type Methods
- type Parent
- type Runtime
- type Runtimes
- type SQL
- type SQLS
- type SrvMap
- type SrvParent
- type Target
- type UnknowParent
- type Url
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Urls map[string]*Url `msg:"url"` // url 统计信息 Dubbos map[string]*Dubbo `msg:"dubbo"` // dubbo统计信息 }
App apis
type Dubbo ¶
type Dubbo struct { Duration int32 `msg:"d"` // 总耗时 MinDuration int32 `msg:"min"` // 最小耗时 MaxDuration int32 `msg:"max"` // 最大耗时 AccessCount int `msg:"ac"` // 访问总数 AccessErrCount int `msg:"aec"` // 访问错误数 SatisfactionCount int `msg:"sc"` // 满意次数 TolerateCount int `msg:"tc"` // 可容忍次数 }
Dubbo ...
type Exception ¶
type Exception struct { Type int // 服务类型 Duration int32 // 总耗时 Count int // 发生次数 MinDuration int32 // 最小耗时 MaxDuration int32 // 最大耗时 }
Exception 异常接口
type Exceptions ¶
type Exceptions struct { Count int // span发送的次数 ErrCount int // 异常总数 ExMethods map[int32]*ExMethod }
Exceptions 异常统计
func (*Exceptions) Get ¶
func (a *Exceptions) Get(methodID int32) (*ExMethod, bool)
Get 获取Method异常信息
func (*Exceptions) Store ¶
func (a *Exceptions) Store(methodID int32, exMethod *ExMethod)
Store 存储methodID异常信息
type JVMCPULoad ¶
JVMCPULoad ...
type JVMGC ¶
type JVMGC struct { Type pinpoint.TJvmGcType `json:"type"` HeapUsed int64 `json:"heapUsed"` HeapMax int64 `json:"heapMax"` NonHeapUsed int64 `json:"-"` NonHeapMax int64 `json:"-"` GcOldCount int64 `json:"jvmGcOldCount"` JvmGcOldTime int64 `json:"jvmGcOldTime"` JvmGcNewCount int64 `json:"jvmGcNewCount"` JvmGcNewTime int64 `json:"jvmGcNewTime"` JvmPoolCodeCacheUsed float64 `json:"-"` JvmPoolNewGenUsed float64 `json:"-"` JvmPoolOldGenUsed float64 `json:"-"` JvmPoolSurvivorSpaceUsed float64 `json:"-"` JvmPoolPermGenUsed float64 `json:"JvmPoolPermGenUsed"` JvmPoolMetaspaceUsed float64 `json:"JvmPoolMetaspaceUsed"` }
JVMGC ...
type JVMInfo ¶
type JVMInfo struct { CPULoad *JVMCPULoad `json:"cpuload"` GC *JVMGC `json:"gc"` }
JVMInfo ...
type Method ¶
type Method struct { Type int16 // 服务类型 Duration int32 // 总耗时 Count int // 发生次数 ErrCount int // 错误次数 MinDuration int32 // 最小耗时 MaxDuration int32 // 最大耗时 }
Method 接口信息
type Parent ¶
type Parent struct { Type int16 // 父节点类型 AccessCount int // 访问次数 AccessErrCount int // 访问失败次数 AccessDuration int32 // 访问耗时 ExceptionCount int // 异常次数 }
Parent 所有调用者信息
type Runtime ¶
type Runtime struct { JVMCpuload float64 // jvm cpuload SystemCpuload float64 // system cpuload JVMHeap int64 // jvm heap Count int // 记录包数 }
Runtime ...
type SQL ¶
type SQL struct { Duration int32 // 总耗时 MinDuration int32 // 最小耗时 MaxDuration int32 // 最大耗时 Count int // 发生次数 ErrCount int // 错误次数 }
SQL 统计信息
type SrvMap ¶
type SrvMap struct { AppType int16 // 本服务服务类型 UnknowParent *UnknowParent // 未接入监控的请求者 Targets map[int16]map[string]*Target // 子节点拓扑图 }
SrvMap 应用拓扑
type SrvParent ¶
type SrvParent struct { Type int16 TargetCount int // 目标应用收到请求总数 TargetErrCount int // 目标应用内部异常数 AccessDuration int32 // 访问总耗时 }
SrvParent 父节点访问子节点信息
type Target ¶
type Target struct { AccessCount int // 访问总数 AccessErrCount int // 访问错误数 AccessDuration int32 // 访问总耗时 }
Target ...
type UnknowParent ¶
UnknowParent 未接入监控的服务,只能抓到访问地址
type Url ¶
type Url struct { Duration int32 `msg:"d"` // 总耗时 MinDuration int32 `msg:"min"` // 最小耗时 MaxDuration int32 `msg:"max"` // 最大耗时 AccessCount int `msg:"ac"` // 访问总数 AccessErrCount int `msg:"aec"` // 访问错误数 SatisfactionCount int `msg:"sc"` // 满意次数 TolerateCount int `msg:"tc"` // 可容忍次数 }
Url url
Click to show internal directories.
Click to hide internal directories.