analytic

package
v0.0.0-...-77baf9d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CpuUserRecord   []Usage
	CpuTotalRecord  []Usage
	NetRecvRecord   []Usage
	NetSentRecord   []Usage
	DiskWriteRecord []Usage
	DiskReadRecord  []Usage
	LastDiskWrites  uint64
	LastDiskReads   uint64
	LastNetSent     uint64
	LastNetRecv     uint64
)

Functions

func RecordServerAnalytic

func RecordServerAnalytic()

Types

type Usage

type Usage struct {
	Time  time.Time   `json:"x"`
	Usage interface{} `json:"y"`
}

Jump to

Keyboard shortcuts

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