plugin

package
v0.0.0-...-d050cfb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

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 计算

func (*Stats) SpanCounter

func (s *Stats) SpanCounter(span *trace.TSpan) error

SpanCounter 计算

Jump to

Keyboard shortcuts

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