 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package stats provides runtime stats
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	DefaultStats = NewStats()
)
    Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat struct {
	// Timestamp of recording
	Timestamp int64
	// Start time as unix timestamp
	Started int64
	// Uptime in seconds
	Uptime int64
	// Memory usage in bytes
	Memory uint64
	// Threads aka go routines
	Threads uint64
	// Garbage collection in nanoseconds
	GC uint64
	// Total requests
	Requests uint64
	// Total errors
	Errors uint64
}
    A runtime stat
 Click to show internal directories. 
   Click to hide internal directories.