proc

package
Version: v0.0.0-...-4fdcf46 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// 计数统计,正确计数,错误计数, ...
	RecvCnt       = nproc.NewSCounterQps("RecvCnt")
	RpcRecvCnt    = nproc.NewSCounterQps("RpcRecvCnt")
	HttpRecvCnt   = nproc.NewSCounterQps("HttpRecvCnt")
	SocketRecvCnt = nproc.NewSCounterQps("SocketRecvCnt")

	SendToKafkaCnt    = nproc.NewSCounterQps("SendToKafkaCnt")
	SendToInfluxDBCnt = nproc.NewSCounterQps("SendToInfluxDBCnt")
	SendToJudgeCnt    = nproc.NewSCounterQps("SendToJudgeCnt")
	SendToTsdbCnt     = nproc.NewSCounterQps("SendToTsdbCnt")
	SendToGraphCnt    = nproc.NewSCounterQps("SendToGraphCnt")
	SendToPolyCnt     = nproc.NewSCounterQps("SendToPolyCnt")

	SendToKafkaDropCnt = nproc.NewSCounterQps("SendToKafkaDropCnt")
	SendToJudgeDropCnt = nproc.NewSCounterQps("SendToJudgeDropCnt")
	SendToPolyDropCnt  = nproc.NewSCounterQps("SendToPolyDropCnt")
	SendToTsdbDropCnt  = nproc.NewSCounterQps("SendToTsdbDropCnt")
	SendToGraphDropCnt = nproc.NewSCounterQps("SendToGraphDropCnt")

	SendToKafkaFailCnt = nproc.NewSCounterQps("SendToKafkaFailCnt")
	SendToJudgeFailCnt = nproc.NewSCounterQps("SendToJudgeFailCnt")
	SendToTsdbFailCnt  = nproc.NewSCounterQps("SendToTsdbFailCnt")
	SendToGraphFailCnt = nproc.NewSCounterQps("SendToGraphFailCnt")
	SendToPolyFailCnt  = nproc.NewSCounterQps("SendToPolyFailCnt")

	// 发送缓存大小
	KafkaQueuesCnt    = nproc.NewSCounterBase("KafkaSendCacheCnt")
	InfluxDBQueuesCnt = nproc.NewSCounterBase("InfluxDBQueuesCnt")
	JudgeQueuesCnt    = nproc.NewSCounterBase("JudgeSendCacheCnt")
	TsdbQueuesCnt     = nproc.NewSCounterBase("TsdbSendCacheCnt")
	GraphQueuesCnt    = nproc.NewSCounterBase("GraphSendCacheCnt")
	PolyQueuesCnt     = nproc.NewSCounterBase("PolySendCacheCnt")

	// http请求次数
	HistoryRequestCnt = nproc.NewSCounterQps("HistoryRequestCnt")
	InfoRequestCnt    = nproc.NewSCounterQps("InfoRequestCnt")
	LastRequestCnt    = nproc.NewSCounterQps("LastRequestCnt")
	LastRawRequestCnt = nproc.NewSCounterQps("LastRawRequestCnt")

	// http回执的监控数据条数
	HistoryResponseCounterCnt = nproc.NewSCounterQps("HistoryResponseCounterCnt")
	HistoryResponseItemCnt    = nproc.NewSCounterQps("HistoryResponseItemCnt")
	LastRequestItemCnt        = nproc.NewSCounterQps("LastRequestItemCnt")
	LastRawRequestItemCnt     = nproc.NewSCounterQps("LastRawRequestItemCnt")
)

统计指标的整体数据

View Source
var (
	RecvDataFilter = nproc.NewDataFilter("RecvDataFilter", 5)
)

filter

View Source
var (
	RecvDataTrace = nproc.NewDataTrace("RecvDataTrace", 3)
)

trace

Functions

func GetAll

func GetAll() []interface{}

func Start

func Start()

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL