SYMBOL INDEX (1284 symbols across 285 files) FILE: cmd/check.go function check (line 35) | func check(c *cobra.Command, args []string) error { FILE: cmd/monitor.go function checkMonReq (line 38) | func checkMonReq(name string) error { function monitor (line 51) | func monitor(c *cobra.Command, args []string) error { FILE: cmd/reload.go function reload (line 30) | func reload(c *cobra.Command, args []string) error { FILE: cmd/restart.go function restart (line 36) | func restart(c *cobra.Command, args []string) error { FILE: cmd/start.go function cmdArgs (line 44) | func cmdArgs(name string) []string { function openLogFile (line 48) | func openLogFile(name string) (*os.File, error) { function execModule (line 63) | func execModule(co bool, name string) error { function checkStartReq (line 82) | func checkStartReq(name string) error { function isStarted (line 95) | func isStarted(name string) bool { function start (line 111) | func start(c *cobra.Command, args []string) error { FILE: cmd/stop.go function stop (line 38) | func stop(c *cobra.Command, args []string) error { FILE: common/backend_pool/rpc_backends.go type SafeRpcConnPools (line 30) | type SafeRpcConnPools struct method Call (line 70) | func (this *SafeRpcConnPools) Call(addr, method string, args interface... method Get (line 104) | func (this *SafeRpcConnPools) Get(address string) (*connp.ConnPool, bo... method Destroy (line 111) | func (this *SafeRpcConnPools) Destroy() { method Proc (line 125) | func (this *SafeRpcConnPools) Proc() []string { function CreateSafeRpcConnPools (line 39) | func CreateSafeRpcConnPools(maxConns, maxIdle, connTimeout, callTimeout ... function CreateSafeJsonrpcConnPools (line 54) | func CreateSafeJsonrpcConnPools(maxConns, maxIdle, connTimeout, callTime... function createOneRpcPool (line 133) | func createOneRpcPool(name string, address string, connTimeout time.Dura... function createOneJsonrpcPool (line 152) | func createOneJsonrpcPool(name string, address string, connTimeout time.... FILE: common/backend_pool/tsdb_backends.go type TsdbClient (line 26) | type TsdbClient struct method Name (line 31) | func (t TsdbClient) Name() string { method Closed (line 35) | func (t TsdbClient) Closed() bool { method Close (line 39) | func (t TsdbClient) Close() error { function newTsdbConnPool (line 48) | func newTsdbConnPool(address string, maxConns int, maxIdle int, connTime... type TsdbConnPoolHelper (line 71) | type TsdbConnPoolHelper struct method Send (line 91) | func (t *TsdbConnPoolHelper) Send(data []byte) (err error) { method Destroy (line 120) | func (t *TsdbConnPoolHelper) Destroy() { function NewTsdbConnPoolHelper (line 80) | func NewTsdbConnPoolHelper(address string, maxConns, maxIdle, connTimeou... FILE: common/db/db.go type GraphEndpoint (line 18) | type GraphEndpoint struct type GraphTagEndpoint (line 24) | type GraphTagEndpoint struct type GraphEndpointCounter (line 31) | type GraphEndpointCounter struct FILE: common/model/agent.go type AgentReportRequest (line 21) | type AgentReportRequest struct method String (line 28) | func (this *AgentReportRequest) String() string { type AgentUpdateInfo (line 38) | type AgentUpdateInfo struct type AgentHeartbeatRequest (line 43) | type AgentHeartbeatRequest struct method String (line 48) | func (this *AgentHeartbeatRequest) String() string { type AgentPluginsResponse (line 56) | type AgentPluginsResponse struct method String (line 61) | func (this *AgentPluginsResponse) String() string { type BuiltinMetric (line 70) | type BuiltinMetric struct method String (line 75) | func (this *BuiltinMetric) String() string { type BuiltinMetricResponse (line 83) | type BuiltinMetricResponse struct method String (line 89) | func (this *BuiltinMetricResponse) String() string { type BuiltinMetricSlice (line 98) | type BuiltinMetricSlice method Len (line 100) | func (this BuiltinMetricSlice) Len() int { method Swap (line 103) | func (this BuiltinMetricSlice) Swap(i, j int) { method Less (line 106) | func (this BuiltinMetricSlice) Less(i, j int) bool { FILE: common/model/event.go type Event (line 24) | type Event struct method FormattedTime (line 36) | func (this *Event) FormattedTime() string { method String (line 40) | func (this *Event) String() string { method ExpressionId (line 54) | func (this *Event) ExpressionId() int { method StrategyId (line 62) | func (this *Event) StrategyId() int { method TplId (line 70) | func (this *Event) TplId() int { method Tpl (line 78) | func (this *Event) Tpl() *Template { method ActionId (line 86) | func (this *Event) ActionId() int { method Priority (line 94) | func (this *Event) Priority() int { method Note (line 101) | func (this *Event) Note() string { method Metric (line 108) | func (this *Event) Metric() string { method RightValue (line 115) | func (this *Event) RightValue() float64 { method Operator (line 122) | func (this *Event) Operator() string { method Func (line 129) | func (this *Event) Func() string { method MaxStep (line 136) | func (this *Event) MaxStep() int { method Counter (line 143) | func (this *Event) Counter() string { FILE: common/model/expression.go type Expression (line 23) | type Expression struct method String (line 36) | func (this *Expression) String() string { type ExpressionResponse (line 52) | type ExpressionResponse struct FILE: common/model/graph.go type GraphItem (line 25) | type GraphItem struct method String (line 38) | func (this *GraphItem) String() string { method PrimaryKey (line 55) | func (this *GraphItem) PrimaryKey() string { method Checksum (line 59) | func (t *GraphItem) Checksum() string { method UUID (line 63) | func (this *GraphItem) UUID() string { type GraphDeleteParam (line 67) | type GraphDeleteParam struct type GraphDeleteResp (line 75) | type GraphDeleteResp struct type GraphQueryParam (line 79) | type GraphQueryParam struct type GraphQueryResponse (line 88) | type GraphQueryResponse struct type GraphAccurateQueryParam (line 97) | type GraphAccurateQueryParam struct type GraphAccurateQueryResponse (line 106) | type GraphAccurateQueryResponse struct type JsonFloat (line 110) | type JsonFloat method MarshalJSON (line 112) | func (v JsonFloat) MarshalJSON() ([]byte, error) { type RRDData (line 121) | type RRDData struct method String (line 130) | func (this *RRDData) String() string { function NewRRDData (line 126) | func NewRRDData(ts int64, val float64) *RRDData { type GraphInfoParam (line 139) | type GraphInfoParam struct type GraphInfoResp (line 144) | type GraphInfoResp struct type GraphFullyInfo (line 150) | type GraphFullyInfo struct type GraphLastParam (line 159) | type GraphLastParam struct type GraphLastResp (line 164) | type GraphLastResp struct FILE: common/model/host.go type Host (line 21) | type Host struct method String (line 26) | func (this *Host) String() string { FILE: common/model/influxdb.go type InfluxdbItem (line 3) | type InfluxdbItem struct FILE: common/model/judge.go type JudgeItem (line 23) | type JudgeItem struct method String (line 32) | func (this *JudgeItem) String() string { method PrimaryKey (line 42) | func (this *JudgeItem) PrimaryKey() string { type HistoryData (line 46) | type HistoryData struct FILE: common/model/metric.go type MetricValue (line 23) | type MetricValue struct method String (line 33) | func (this *MetricValue) String() string { type JsonMetaData (line 47) | type JsonMetaData struct method String (line 57) | func (t *JsonMetaData) String() string { type MetaData (line 62) | type MetaData struct method String (line 72) | func (t *MetaData) String() string { method PK (line 77) | func (t *MetaData) PK() string { FILE: common/model/nodata.go type NodataItem (line 24) | type NodataItem struct method String (line 31) | func (this *NodataItem) String() string { type NodataConfig (line 36) | type NodataConfig struct method String (line 52) | func (this *NodataConfig) String() string { function NewNodataConfig (line 48) | func NewNodataConfig(id int, name string, objType string, endpoint strin... FILE: common/model/prometheus.go type P8sItem (line 4) | type P8sItem struct FILE: common/model/rpc.go type SimpleRpcResponse (line 23) | type SimpleRpcResponse struct method String (line 27) | func (this *SimpleRpcResponse) String() string { type NullRpcRequest (line 31) | type NullRpcRequest struct FILE: common/model/strategy.go type Strategy (line 23) | type Strategy struct method String (line 36) | func (this *Strategy) String() string { type HostStrategy (line 52) | type HostStrategy struct type StrategiesResponse (line 57) | type StrategiesResponse struct FILE: common/model/template.go type Template (line 21) | type Template struct method String (line 29) | func (this *Template) String() string { FILE: common/model/transfer.go type TransferResponse (line 21) | type TransferResponse struct method String (line 28) | func (this *TransferResponse) String() string { FILE: common/model/tsdb.go type TsdbItem (line 22) | type TsdbItem struct method String (line 29) | func (this *TsdbItem) String() string { method TsdbString (line 39) | func (this *TsdbItem) TsdbString() (s string) { FILE: common/proc/proc.go constant DefaultOtherMaxSize (line 23) | DefaultOtherMaxSize = 100 constant DefaultSCounterQpsPeriod (line 24) | DefaultSCounterQpsPeriod = 1 type SCounterBase (line 28) | type SCounterBase struct method Get (line 44) | func (this *SCounterBase) Get() *SCounterBase { method Set (line 51) | func (this *SCounterBase) Set(cnt int64) { method SetCnt (line 60) | func (this *SCounterBase) SetCnt(cnt int64) { method PutOther (line 69) | func (this *SCounterBase) PutOther(key string, value interface{}) bool { function NewSCounterBase (line 38) | func NewSCounterBase(name string) *SCounterBase { function formatTs (line 88) | func formatTs(ts int64) string { type SCounterQps (line 93) | type SCounterQps struct method Get (line 114) | func (this *SCounterQps) Get() *SCounterQps { method Incr (line 122) | func (this *SCounterQps) Incr() { method IncrBy (line 126) | func (this *SCounterQps) IncrBy(incr int64) { method PutOther (line 133) | func (this *SCounterQps) PutOther(key string, value interface{}) bool { method incrByDirty (line 153) | func (this *SCounterQps) incrByDirty(incr int64) { function NewSCounterQps (line 107) | func NewSCounterQps(name string) *SCounterQps { FILE: common/sdk/requests/auth_request.go function CurlPlus (line 24) | func CurlPlus(uri, method, token_name, token_sig string, headers, params... FILE: common/sdk/requests/post.go function PostJsonBody (line 24) | func PostJsonBody(url string, v interface{}) (response []byte, err error) { FILE: common/sdk/sender/linkedlist.go type SafeLinkedList (line 24) | type SafeLinkedList struct method PopBack (line 33) | func (this *SafeLinkedList) PopBack(limit int) []*model.JsonMetaData { method PushFront (line 55) | func (this *SafeLinkedList) PushFront(v interface{}) *list.Element { method Front (line 61) | func (this *SafeLinkedList) Front() *list.Element { method Len (line 67) | func (this *SafeLinkedList) Len() int { function NewSafeLinkedList (line 29) | func NewSafeLinkedList() *SafeLinkedList { FILE: common/sdk/sender/make.go function MakeMetaData (line 23) | func MakeMetaData(endpoint, metric, tags string, val interface{}, counte... function MakeGaugeValue (line 47) | func MakeGaugeValue(endpoint, metric, tags string, val interface{}, step... function MakeCounterValue (line 51) | func MakeCounterValue(endpoint, metric, tags string, val interface{}, st... function PushGauge (line 55) | func PushGauge(endpoint, metric, tags string, val interface{}, step_and_... function PushCounter (line 60) | func PushCounter(endpoint, metric, tags string, val interface{}, step_an... function Push (line 65) | func Push(endpoint, metric, tags string, val interface{}, counterType st... FILE: common/sdk/sender/push.go function PostPush (line 28) | func PostPush(L []*model.JsonMetaData) error { FILE: common/sdk/sender/sender.go constant LIMIT (line 22) | LIMIT = 200 function StartSender (line 28) | func StartSender() { function startSender (line 32) | func startSender() { FILE: common/utils/counter.go function Counter (line 21) | func Counter(metric string, tags map[string]string) string { FILE: common/utils/date.go function UnixTsFormat (line 21) | func UnixTsFormat(ts int64) string { FILE: common/utils/formatter.go function ReadableFloat (line 22) | func ReadableFloat(raw float64) string { FILE: common/utils/func.go function PK (line 24) | func PK(endpoint, metric string, tags map[string]string) string { function PK2 (line 44) | func PK2(endpoint, counter string) string { function UUID (line 56) | func UUID(endpoint, metric string, tags map[string]string, dstype string... function Checksum (line 85) | func Checksum(endpoint string, metric string, tags map[string]string) st... function ChecksumOfUUID (line 90) | func ChecksumOfUUID(endpoint, metric string, tags map[string]string, dst... function init (line 94) | func init() { function RandString (line 98) | func RandString(l int) string { function RandInt (line 106) | func RandInt(min int, max int) int { FILE: common/utils/func_test.go function origPK (line 22) | func origPK(endpoint, metric string, tags map[string]string) string { function origPK2 (line 29) | func origPK2(endpoint, counter string) string { function origUUID (line 33) | func origUUID(endpoint, metric string, tags map[string]string, dstype st... function Test_PK (line 74) | func Test_PK(t *testing.T) { function Test_PK2 (line 82) | func Test_PK2(t *testing.T) { function Test_UUID (line 90) | func Test_UUID(t *testing.T) { function Benchmark_PK (line 103) | func Benchmark_PK(b *testing.B) { function Benchmark_PK_orig (line 109) | func Benchmark_PK_orig(b *testing.B) { function Benchmark_PK2 (line 115) | func Benchmark_PK2(b *testing.B) { function Benchmark_PK2_orig (line 121) | func Benchmark_PK2_orig(b *testing.B) { function Benchmark_UUID (line 127) | func Benchmark_UUID(b *testing.B) { function Benchmark_UUID_orig (line 133) | func Benchmark_UUID_orig(b *testing.B) { FILE: common/utils/map.go function KeysOfMap (line 22) | func KeysOfMap(m map[string]string) []string { FILE: common/utils/md5.go function Md5 (line 22) | func Md5(raw string) string { FILE: common/utils/md5_test.go function origMd5 (line 24) | func origMd5(raw string) string { function Test_Md5 (line 31) | func Test_Md5(t *testing.T) { function Benchmark_Md5 (line 37) | func Benchmark_Md5(b *testing.B) { function Benchmark_Md5_orig (line 43) | func Benchmark_Md5_orig(b *testing.B) { FILE: common/utils/statistics.go function ComputeMean (line 19) | func ComputeMean(values []float64) float64 { function ComputeStdDeviation (line 29) | func ComputeStdDeviation(values []float64) float64 { FILE: common/utils/tags.go function SortedTags (line 24) | func SortedTags(tags map[string]string) string { function DictedTagstring (line 69) | func DictedTagstring(s string) map[string]string { function SplitTagsString (line 89) | func SplitTagsString(s string) (err error, tags map[string]string) { FILE: common/utils/tags_test.go function origSortedTags (line 46) | func origSortedTags(tags map[string]string) string { function origDictedTagstring (line 80) | func origDictedTagstring(s string) map[string]string { function Test_SortedTags (line 97) | func Test_SortedTags(t *testing.T) { function Test_DictedTagstring (line 104) | func Test_DictedTagstring(t *testing.T) { function Benchmark_SortedTags_1pair (line 120) | func Benchmark_SortedTags_1pair(b *testing.B) { function Benchmark_SortedTags_1pair_orig (line 126) | func Benchmark_SortedTags_1pair_orig(b *testing.B) { function Benchmark_SortedTags_2pairs (line 132) | func Benchmark_SortedTags_2pairs(b *testing.B) { function Benchmark_SortedTags_2pairs_orig (line 138) | func Benchmark_SortedTags_2pairs_orig(b *testing.B) { function Benchmark_SortedTags_3pairs (line 144) | func Benchmark_SortedTags_3pairs(b *testing.B) { function Benchmark_SortedTags_3pairs_orig (line 150) | func Benchmark_SortedTags_3pairs_orig(b *testing.B) { function Benchmark_SortedTags_4pairs (line 156) | func Benchmark_SortedTags_4pairs(b *testing.B) { function Benchmark_SortedTags_4pairs_orig (line 162) | func Benchmark_SortedTags_4pairs_orig(b *testing.B) { function Benchmark_SortedTags_5pairs (line 168) | func Benchmark_SortedTags_5pairs(b *testing.B) { function Benchmark_SortedTags_5pairs_orig (line 174) | func Benchmark_SortedTags_5pairs_orig(b *testing.B) { function Benchmark_SortedTags_6pairs (line 180) | func Benchmark_SortedTags_6pairs(b *testing.B) { function Benchmark_SortedTags_6pairs_orig (line 186) | func Benchmark_SortedTags_6pairs_orig(b *testing.B) { function Benchmark_DictedTagstring_1pair (line 192) | func Benchmark_DictedTagstring_1pair(b *testing.B) { function Benchmark_DictedTagstring_1pair_orig (line 198) | func Benchmark_DictedTagstring_1pair_orig(b *testing.B) { function Benchmark_DictedTagstring_2pairs (line 204) | func Benchmark_DictedTagstring_2pairs(b *testing.B) { function Benchmark_DictedTagstring_2pairs_orig (line 210) | func Benchmark_DictedTagstring_2pairs_orig(b *testing.B) { function Benchmark_DictedTagstring_3pairs (line 216) | func Benchmark_DictedTagstring_3pairs(b *testing.B) { function Benchmark_DictedTagstring_3pairs_orig (line 222) | func Benchmark_DictedTagstring_3pairs_orig(b *testing.B) { function Benchmark_DictedTagstring_4pairs (line 228) | func Benchmark_DictedTagstring_4pairs(b *testing.B) { function Benchmark_DictedTagstring_4pairs_orig (line 234) | func Benchmark_DictedTagstring_4pairs_orig(b *testing.B) { function Benchmark_DictedTagstring_5pairs (line 240) | func Benchmark_DictedTagstring_5pairs(b *testing.B) { function Benchmark_DictedTagstring_5pairs_orig (line 246) | func Benchmark_DictedTagstring_5pairs_orig(b *testing.B) { function Benchmark_DictedTagstring_6pairs (line 252) | func Benchmark_DictedTagstring_6pairs(b *testing.B) { function Benchmark_DictedTagstring_6pairs_orig (line 258) | func Benchmark_DictedTagstring_6pairs_orig(b *testing.B) { FILE: docs/assets.js function require (line 16) | function require(path, parent, orig) { function lastIndexOf (line 161) | function lastIndexOf(arr, obj) { function localRequire (line 173) | function localRequire(path) { function jQuerySub (line 1104) | function jQuerySub( selector, context ) { function doScrollCheck (line 1170) | function doScrollCheck() { function createFlags (line 1197) | function createFlags( flags ) { function resolveFunc (line 1532) | function resolveFunc( i ) { function progressFunc (line 1540) | function progressFunc( i ) { function dataAttr (line 2192) | function dataAttr( elem, key, data ) { function isEmptyDataObject (line 2223) | function isEmptyDataObject( obj ) { function handleQueueMarkDefer (line 2241) | function handleQueueMarkDefer( elem, type, src ) { function resolve (line 2400) | function resolve() { function returnFalse (line 3753) | function returnFalse() { function returnTrue (line 3756) | function returnTrue() { function dirNodeCheck (line 5464) | function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { function dirCheck (line 5497) | function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { function isDisconnected (line 5770) | function isDisconnected( node ) { function winnow (line 5887) | function winnow( elements, qualifier, keep ) { function createSafeFragment (line 5924) | function createSafeFragment( document ) { function root (line 6296) | function root( elem, cur ) { function cloneCopyEvent (line 6303) | function cloneCopyEvent( src, dest ) { function cloneFixAttributes (line 6331) | function cloneFixAttributes( src, dest ) { function getAll (line 6476) | function getAll( elem ) { function fixDefaultChecked (line 6489) | function fixDefaultChecked( elem ) { function findInputs (line 6495) | function findInputs( elem ) { function shimCloneNode (line 6506) | function shimCloneNode( elem ) { function getWidthOrHeight (line 6997) | function getWidthOrHeight( elem, name, extra ) { function addToPrefiltersOrTransports (line 7238) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 7274) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 7316) | function ajaxExtend( target, src ) { function done (line 7658) | function done( status, nativeStatusText, responses, headers ) { function buildParams (line 7973) | function buildParams( prefix, obj, traditional, add ) { function ajaxHandleResponses (line 8023) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 8088) | function ajaxConvert( s, response ) { function createStandardXHR (line 8353) | function createStandardXHR() { function createActiveXHR (line 8359) | function createActiveXHR() { function doAnimation (line 8698) | function doAnimation() { function stopQueue (line 8854) | function stopQueue( elem, data, index ) { function createFxNow (line 8896) | function createFxNow() { function clearFxNow (line 8901) | function clearFxNow() { function genFx (line 8906) | function genFx( type, num ) { function t (line 9021) | function t( gotoEnd ) { function defaultDisplay (line 9219) | function defaultDisplay( nodeName ) { function getWindow (line 9503) | function getWindow( elem ) { function Filter (line 9629) | function Filter(list) { FILE: g/g.go function init (line 27) | func init() { function Bin (line 128) | func Bin(name string) string { function Cfg (line 133) | func Cfg(name string) string { function LogPath (line 138) | func LogPath(name string) string { function LogDir (line 143) | func LogDir(name string) string { FILE: g/tool.go function HasLogfile (line 24) | func HasLogfile(name string) bool { function PreqOrder (line 31) | func PreqOrder(moduleArgs []string) []string { function Rel (line 62) | func Rel(p string) string { function HasCfg (line 79) | func HasCfg(name string) bool { function HasModule (line 86) | func HasModule(name string) bool { function setPid (line 90) | func setPid(name string) { function Pid (line 96) | func Pid(name string) string { function IsRunning (line 103) | func IsRunning(name string) bool { function RmDup (line 108) | func RmDup(args []string) []string { FILE: g/tool_test.go function setup (line 24) | func setup() { function teardown (line 43) | func teardown() { function TestRel (line 48) | func TestRel(t *testing.T) { function TestHasCfg (line 73) | func TestHasCfg(t *testing.T) { function TestPreqOrder (line 92) | func TestPreqOrder(t *testing.T) { function TestRmDup (line 113) | func TestRmDup(t *testing.T) { function TestMain (line 140) | func TestMain(m *testing.M) { FILE: main.go function init (line 38) | func init() { function main (line 51) | func main() { FILE: modules/agent/cron/builtin.go function SyncBuiltinMetrics (line 26) | func SyncBuiltinMetrics() { function syncBuiltinMetrics (line 32) | func syncBuiltinMetrics() { FILE: modules/agent/cron/collector.go function InitDataHistory (line 25) | func InitDataHistory() { function Collect (line 33) | func Collect() { function collect (line 48) | func collect(sec int64, fns []func() []*model.MetricValue) { FILE: modules/agent/cron/ips.go function SyncTrustableIps (line 24) | func SyncTrustableIps() { function syncTrustableIps (line 30) | func syncTrustableIps() { FILE: modules/agent/cron/plugin.go function SyncMinePlugins (line 31) | func SyncMinePlugins() { function syncMinePlugins (line 47) | func syncMinePlugins() { FILE: modules/agent/cron/reporter.go function ReportAgentStatus (line 25) | func ReportAgentStatus() { function reportAgentStatus (line 31) | func reportAgentStatus(interval time.Duration) { FILE: modules/agent/funcs/agent.go function AgentMetrics (line 21) | func AgentMetrics() []*model.MetricValue { FILE: modules/agent/funcs/checker.go function CheckCollector (line 23) | func CheckCollector() { FILE: modules/agent/funcs/common.go function NewMetricValue (line 22) | func NewMetricValue(metric string, val interface{}, dataType string, tag... function GaugeValue (line 38) | func GaugeValue(metric string, val interface{}, tags ...string) *model.M... function CounterValue (line 42) | func CounterValue(metric string, val interface{}, tags ...string) *model... FILE: modules/agent/funcs/cpustat.go constant historyCount (line 24) | historyCount int = 2 function UpdateCpuStat (line 32) | func UpdateCpuStat() error { function deltaTotal (line 48) | func deltaTotal() uint64 { function CpuIdle (line 55) | func CpuIdle() float64 { function CpuUser (line 66) | func CpuUser() float64 { function CpuNice (line 77) | func CpuNice() float64 { function CpuSystem (line 88) | func CpuSystem() float64 { function CpuIowait (line 99) | func CpuIowait() float64 { function CpuIrq (line 110) | func CpuIrq() float64 { function CpuSoftIrq (line 121) | func CpuSoftIrq() float64 { function CpuSteal (line 132) | func CpuSteal() float64 { function CpuGuest (line 143) | func CpuGuest() float64 { function CurrentCpuSwitches (line 154) | func CurrentCpuSwitches() uint64 { function CpuPrepared (line 160) | func CpuPrepared() bool { function CpuMetrics (line 166) | func CpuMetrics() []*model.MetricValue { FILE: modules/agent/funcs/dfstat.go function DeviceMetrics (line 25) | func DeviceMetrics() (L []*model.MetricValue) { function DeviceMetricsCheck (line 95) | func DeviceMetricsCheck() bool { FILE: modules/agent/funcs/diskstats.go function UpdateDiskStats (line 32) | func UpdateDiskStats() error { function IOReadRequests (line 47) | func IOReadRequests(arr [2]*nux.DiskStats) uint64 { function IOReadMerged (line 51) | func IOReadMerged(arr [2]*nux.DiskStats) uint64 { function IOReadSectors (line 55) | func IOReadSectors(arr [2]*nux.DiskStats) uint64 { function IOMsecRead (line 59) | func IOMsecRead(arr [2]*nux.DiskStats) uint64 { function IOWriteRequests (line 63) | func IOWriteRequests(arr [2]*nux.DiskStats) uint64 { function IOWriteMerged (line 67) | func IOWriteMerged(arr [2]*nux.DiskStats) uint64 { function IOWriteSectors (line 71) | func IOWriteSectors(arr [2]*nux.DiskStats) uint64 { function IOMsecWrite (line 75) | func IOMsecWrite(arr [2]*nux.DiskStats) uint64 { function IOMsecTotal (line 79) | func IOMsecTotal(arr [2]*nux.DiskStats) uint64 { function IOMsecWeightedTotal (line 83) | func IOMsecWeightedTotal(arr [2]*nux.DiskStats) uint64 { function TS (line 87) | func TS(arr [2]*nux.DiskStats) uint64 { function IODelta (line 91) | func IODelta(device string, f func([2]*nux.DiskStats) uint64) uint64 { function DiskIOMetrics (line 103) | func DiskIOMetrics() (L []*model.MetricValue) { function IOStatsMetrics (line 133) | func IOStatsMetrics() (L []*model.MetricValue) { function IOStatsForPage (line 178) | func IOStatsForPage() (L [][]string) { function ShouldHandleDevice (line 226) | func ShouldHandleDevice(device string) bool { FILE: modules/agent/funcs/du.go function DuMetrics (line 35) | func DuMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/du_test.go function init (line 13) | func init() { function TestDuMetrics (line 23) | func TestDuMetrics(t *testing.T) { function TestDuMetricsPathNotExist (line 32) | func TestDuMetricsPathNotExist(t *testing.T) { function TestDuMetricsTimeout (line 41) | func TestDuMetricsTimeout(t *testing.T) { FILE: modules/agent/funcs/funcs.go type FuncsAndInterval (line 22) | type FuncsAndInterval struct function BuildMappers (line 29) | func BuildMappers() { FILE: modules/agent/funcs/gpu.go function GpuMetrics (line 26) | func GpuMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/ifstat.go function NetMetrics (line 24) | func NetMetrics() []*model.MetricValue { function CoreNetMetrics (line 28) | func CoreNetMetrics(ifacePrefix []string) []*model.MetricValue { FILE: modules/agent/funcs/kernel.go function KernelMetrics (line 23) | func KernelMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/loadavg.go function LoadAvgMetrics (line 23) | func LoadAvgMetrics() []*model.MetricValue { FILE: modules/agent/funcs/meminfo.go function MemMetrics (line 23) | func MemMetrics() []*model.MetricValue { FILE: modules/agent/funcs/netstat.go function NetstatMetrics (line 49) | func NetstatMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/portstat.go function PortMetrics (line 26) | func PortMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/procs.go function ProcMetrics (line 25) | func ProcMetrics() (L []*model.MetricValue) { function is_a (line 55) | func is_a(p *nux.Proc, m map[int]string) bool { FILE: modules/agent/funcs/snmp.go function UdpMetrics (line 23) | func UdpMetrics() []*model.MetricValue { FILE: modules/agent/funcs/sockstat.go function SocketStatSummaryMetrics (line 23) | func SocketStatSummaryMetrics() (L []*model.MetricValue) { FILE: modules/agent/funcs/urlstat.go function UrlMetrics (line 30) | func UrlMetrics() (L []*model.MetricValue) { function probeUrl (line 51) | func probeUrl(furl string, timeout string) (bool, error) { FILE: modules/agent/g/cfg.go type PluginConfig (line 26) | type PluginConfig struct type HeartbeatConfig (line 33) | type HeartbeatConfig struct type TransferConfig (line 40) | type TransferConfig struct type HttpConfig (line 47) | type HttpConfig struct type CollectorConfig (line 53) | type CollectorConfig struct type GlobalConfig (line 58) | type GlobalConfig struct function Config (line 77) | func Config() *GlobalConfig { function Hostname (line 83) | func Hostname() (string, error) { function IP (line 101) | func IP() string { function ParseConfig (line 115) | func ParseConfig(cfg string) { FILE: modules/agent/g/const.go function VersionMsg (line 35) | func VersionMsg() string { constant COLLECT_INTERVAL (line 40) | COLLECT_INTERVAL = time.Second constant URL_CHECK_HEALTH (line 41) | URL_CHECK_HEALTH = "url.check.health" constant NET_PORT_LISTEN (line 42) | NET_PORT_LISTEN = "net.port.listen" constant DU_BS (line 43) | DU_BS = "du.bs" constant PROC_NUM (line 44) | PROC_NUM = "proc.num" FILE: modules/agent/g/g.go function init (line 22) | func init() { FILE: modules/agent/g/logger.go function InitLog (line 19) | func InitLog(level string) (err error) { FILE: modules/agent/g/rpc.go type SingleConnRpcClient (line 27) | type SingleConnRpcClient struct method close (line 34) | func (this *SingleConnRpcClient) close() { method serverConn (line 41) | func (this *SingleConnRpcClient) serverConn() error { method Call (line 68) | func (this *SingleConnRpcClient) Call(method string, args interface{},... FILE: modules/agent/g/tool.go function GetCurrPluginVersion (line 25) | func GetCurrPluginVersion() string { FILE: modules/agent/g/transfer.go function SendMetrics (line 31) | func SendMetrics(metrics []*model.MetricValue, resp *model.TransferRespo... function initTransferClient (line 47) | func initTransferClient(addr string) *SingleConnRpcClient { function updateMetrics (line 59) | func updateMetrics(c *SingleConnRpcClient, metrics []*model.MetricValue,... function getTransferClient (line 68) | func getTransferClient(addr string) *SingleConnRpcClient { FILE: modules/agent/g/var.go function InitRootDir (line 35) | func InitRootDir() { function lookupRootDir (line 58) | func lookupRootDir(dir string) string { function InitLocalIp (line 78) | func InitLocalIp() { function InitRpcClients (line 96) | func InitRpcClients() { function SendToTransfer (line 105) | func SendToTransfer(metrics []*model.MetricValue) { function ReportUrls (line 155) | func ReportUrls() map[string]string { function SetReportUrls (line 161) | func SetReportUrls(urls map[string]string) { function ReportPorts (line 172) | func ReportPorts() []int64 { function SetReportPorts (line 178) | func SetReportPorts(ports []int64) { function DuPaths (line 189) | func DuPaths() []string { function SetDuPaths (line 195) | func SetDuPaths(paths []string) { function ReportProcs (line 209) | func ReportProcs() map[string]map[int]string { function SetReportProcs (line 215) | func SetReportProcs(procs map[string]map[int]string) { function TrustableIps (line 226) | func TrustableIps() []string { function SetTrustableIps (line 232) | func SetTrustableIps(ipStr string) { function IsTrustable (line 239) | func IsTrustable(remoteAddr string) bool { FILE: modules/agent/g/var_test.go function TestInitRootDir (line 23) | func TestInitRootDir(t *testing.T) { function getCurrentPath (line 39) | func getCurrentPath() string { FILE: modules/agent/http/admin.go function configAdminRoutes (line 25) | func configAdminRoutes() { FILE: modules/agent/http/cpu.go function configCpuRoutes (line 25) | func configCpuRoutes() { FILE: modules/agent/http/df.go function configDfRoutes (line 24) | func configDfRoutes() { FILE: modules/agent/http/health.go function configHealthRoutes (line 22) | func configHealthRoutes() { FILE: modules/agent/http/http.go type Dto (line 25) | type Dto struct function init (line 30) | func init() { function RenderJson (line 45) | func RenderJson(w http.ResponseWriter, v interface{}) { function RenderDataJson (line 56) | func RenderDataJson(w http.ResponseWriter, data interface{}) { function RenderMsgJson (line 60) | func RenderMsgJson(w http.ResponseWriter, msg string) { function AutoRender (line 64) | func AutoRender(w http.ResponseWriter, data interface{}, err error) { function Start (line 73) | func Start() { FILE: modules/agent/http/iostat.go function configIoStatRoutes (line 22) | func configIoStatRoutes() { FILE: modules/agent/http/kernel.go function configKernelRoutes (line 24) | func configKernelRoutes() { FILE: modules/agent/http/memory.go function configMemoryRoutes (line 22) | func configMemoryRoutes() { FILE: modules/agent/http/page.go function configPageRoutes (line 25) | func configPageRoutes() { FILE: modules/agent/http/plugin.go function configPluginRoutes (line 26) | func configPluginRoutes() { FILE: modules/agent/http/push.go function configPushRoutes (line 24) | func configPushRoutes() { FILE: modules/agent/http/run.go function configRunRoutes (line 24) | func configRunRoutes() { FILE: modules/agent/http/system.go function configSystemRoutes (line 25) | func configSystemRoutes() { FILE: modules/agent/main.go function main (line 27) | func main() { FILE: modules/agent/plugins/plugins.go type Plugin (line 17) | type Plugin struct function DelNoUsePlugins (line 29) | func DelNoUsePlugins(newPlugins map[string]*Plugin) { function AddNewPlugins (line 38) | func AddNewPlugins(newPlugins map[string]*Plugin) { function ClearAllPlugins (line 51) | func ClearAllPlugins() { function deletePlugin (line 57) | func deletePlugin(key string) { FILE: modules/agent/plugins/reader.go function ListPlugins (line 27) | func ListPlugins(script_path string) map[string]*Plugin { FILE: modules/agent/plugins/scheduler.go type PluginScheduler (line 33) | type PluginScheduler struct method Schedule (line 46) | func (this *PluginScheduler) Schedule() { method Stop (line 60) | func (this *PluginScheduler) Stop() { function NewPluginScheduler (line 39) | func NewPluginScheduler(p *Plugin) *PluginScheduler { function PluginArgsParse (line 65) | func PluginArgsParse(raw_args string) []string { function PluginRun (line 107) | func PluginRun(plugin *Plugin) { FILE: modules/agent/public/js/base.js function pulseElement (line 50) | function pulseElement(element, times, interval) { function isInArray (line 73) | function isInArray(array, search) FILE: modules/agent/public/js/bootstrap.js function removeElement (line 108) | function removeElement() { function clearMenus (line 603) | function clearMenus() { function hideWithTransition (line 731) | function hideWithTransition() { function hideModal (line 744) | function hideModal( that ) { function backdrop (line 752) | function backdrop( callback ) { function removeBackdrop (line 786) | function removeBackdrop() { function escape (line 791) | function escape() { function removeWithAnimation (line 1006) | function removeWithAnimation() { function ScrollSpy (line 1229) | function ScrollSpy( element, options) { function next (line 1400) | function next() { FILE: modules/agent/public/js/dashboard.js function generate_os_data (line 2) | function generate_os_data(url, element) { function destroy_dataTable (line 13) | function destroy_dataTable(table_id) { function zeroPad (line 81) | function zeroPad(num, places) { FILE: modules/agent/public/js/jquery.js function cy (line 2) | function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.pa... function cu (line 2) | function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.cs... function ct (line 2) | function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),funct... function cs (line 2) | function cs(){cq=b} function cr (line 2) | function cr(){setTimeout(cs,0);return cq=f.now()} function ci (line 2) | function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(... function ch (line 2) | function ch(){try{return new a.XMLHttpRequest}catch(b){}} function cb (line 2) | function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.da... function ca (line 2) | function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i... function b_ (line 2) | function b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a... function b$ (line 2) | function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d... function bZ (line 2) | function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],... function bY (line 2) | function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f... function bB (line 2) | function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b===... function bo (line 2) | function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTM... function bn (line 2) | function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!... function bm (line 2) | function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked... function bl (line 2) | function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getEl... function bk (line 2) | function bk(a,b){var c;b.nodeType===1&&(b.clearAttributes&&b.clearAttrib... function bj (line 2) | function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(... function bi (line 2) | function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tb... function U (line 2) | function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.creat... function T (line 2) | function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d... function S (line 2) | function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11} function K (line 2) | function K(){return!0} function J (line 2) | function J(){return!1} function n (line 2) | function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);... function m (line 2) | function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))conti... function l (line 2) | function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-... function h (line 2) | function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c1?i.call(argument... function l (line 2) | function l(a){return function(c){b[a]=arguments.length>1?i.call(argument... function m (line 2) | function m(){--h||d.resolveWith(e,[e])} function x (line 3) | function x(a,b,c,e,f,g){for(var h=0,i=e.length;h