stats

package
v0.0.0-...-f307310 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceName    string
	ServiceVersion uint64
	ServiceType    string
	AzName         string
	InstanceID     string
)

Functions

func Get

func Get() *pstats.PlatformStats

func GetEndpoint

func GetEndpoint(ep Endpoint) *pstats.EndpointStats

func Record

func Record(ep Endpoint, err error, d time.Duration)

func RegisterEndpoint

func RegisterEndpoint(ep Endpoint)

func RegisterEndpoints

func RegisterEndpoints(eps []Endpoint)

func Start

func Start()

func Stop

func Stop()

Types

type Endpoint

type Endpoint interface {
	GetName() string
	GetMean() int32
	GetUpper95() int32
}

Jump to

Keyboard shortcuts

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