proc

package
v0.0.0-...-2c5bddf Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: Apache-2.0 Imports: 2 Imported by: 5

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")

	SendToJudgeCnt    = nproc.NewSCounterQps("SendToJudgeCnt")
	SendToTsdbCnt     = nproc.NewSCounterQps("SendToTsdbCnt")
	SendToGraphCnt    = nproc.NewSCounterQps("SendToGraphCnt")
	SendToInfluxdbCnt = nproc.NewSCounterQps("SendToInfluxdbCnt")
	SendToNqmRpcCnt   = nproc.NewSCounterQps("SendToNqmRpcCnt")

	SendToJudgeDropCnt    = nproc.NewSCounterQps("SendToJudgeDropCnt")
	SendToTsdbDropCnt     = nproc.NewSCounterQps("SendToTsdbDropCnt")
	SendToGraphDropCnt    = nproc.NewSCounterQps("SendToGraphDropCnt")
	SendToInfluxdbDropCnt = nproc.NewSCounterQps("SendToInfluxdbDropCnt")
	SendToNqmRpcDropCnt   = nproc.NewSCounterQps("SendToNqmRpcDropCnt")

	SendToJudgeFailCnt    = nproc.NewSCounterQps("SendToJudgeFailCnt")
	SendToTsdbFailCnt     = nproc.NewSCounterQps("SendToTsdbFailCnt")
	SendToGraphFailCnt    = nproc.NewSCounterQps("SendToGraphFailCnt")
	SendToInfluxdbFailCnt = nproc.NewSCounterQps("SendToInfluxdbFailCnt")
	SendToNqmRpcFailCnt   = nproc.NewSCounterQps("SendToNqmRpcFailCnt")

	// 发送缓存大小
	JudgeQueuesCnt    = nproc.NewSCounterBase("JudgeSendCacheCnt")
	TsdbQueuesCnt     = nproc.NewSCounterBase("TsdbSendCacheCnt")
	GraphQueuesCnt    = nproc.NewSCounterBase("GraphSendCacheCnt")
	InfluxdbQueuesCnt = nproc.NewSCounterBase("InfluxdbSendCacheCnt")
	NqmRpcQueuesCnt   = nproc.NewSCounterBase("NqmRpcSendCacheCnt")
)

统计指标的整体数据

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.

Jump to

Keyboard shortcuts

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