benchclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

Internal metrics of the client for gobench

Collect metrics that support by go runtime package https://golang.org/pkg/runtime

  • cpu.count
  • cpu.cgo_calls
  • cpu.goroutines
  • mem.alloc
  • mem.frees
  • mem.gc.count
  • mem.gc.last
  • mem.gc.next
  • mem.gc.pause
  • mem.gc.pause_total
  • mem.gc.sys
  • mem.heap.alloc
  • mem.heap.idle
  • mem.heap.inuse
  • mem.heap.objects
  • mem.heap.released
  • mem.heap.sys
  • mem.stack.inuse
  • mem.stack.sys
  • mem.stack.mcache_inuse
  • mem.stack.mcache_sys
  • mem.stack.mspan_inuse
  • mem.stack.mspan_sys
  • mem.lookups
  • mem.malloc
  • mem.othersys
  • mem.sys
  • mem.total

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalMonitor

func InternalMonitor()

InternalMonitor start the gobench client metrics collection should be run in a goroutine

Types

type InternalClient

type InternalClient struct {
	// contains filtered or unexported fields
}

func NewInternalClient

func NewInternalClient(ctx *context.Context) (InternalClient, error)

func (*InternalClient) Start

func (c *InternalClient) Start() error

func (*InternalClient) Stop

func (c *InternalClient) Stop() error

Jump to

Keyboard shortcuts

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