Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct { API *stats.ApiStore // api统计 SQL *stats.SQLS // sql语句计算统计 Method *stats.Methods // 接口计算统计 Exception *stats.Exceptions // 异常计算统计 APIMap *stats.ApiMap // 接口拓扑图 SrvMap *stats.SrvMap // 应用拓扑图 Runtime *stats.Runtimes // runtime计算 // contains filtered or unexported fields }
Stats 计算模块
func NewStats ¶
func NewStats(httpCodes map[int32]struct{}, mutex *sync.RWMutex, l *zap.Logger, f func(string) (string, bool), f2 func(string) (string, bool)) *Stats
NewStats ....
func (*Stats) RuntimeCounter ¶
func (s *Stats) RuntimeCounter(agentStat *pinpoint.TAgentStat) error
RuntimeCounter runtime counter 计算
func (*Stats) SpanChunkCounter ¶
func (s *Stats) SpanChunkCounter(spanChunk *trace.TSpanChunk) error
SpanChunkCounter counter 计算
Click to show internal directories.
Click to hide internal directories.