goreport

package module
v0.0.0-...-2564c1e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2014 License: MIT Imports: 5 Imported by: 4

README

goreporter

Stats reporting library to simplify sending stats.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReporterConfig

func ReporterConfig(url string, timeout int)

New reporter that reports at 5 second intervals

Types

type Reporter

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

Reporter used by clients

func NewReporter

func NewReporter() (r Reporter)

func (*Reporter) AddStat

func (this *Reporter) AddStat(key string, value float64)

Add a basic key value stat

func (*Reporter) AddStatWIndex

func (this *Reporter) AddStatWIndex(key string, value float64, indexKey string)

Add multiple stats into the same graph

func (*Reporter) Close

func (this *Reporter) Close()

Close the reporter and the background thread

func (*Reporter) RegisterStat

func (this *Reporter) RegisterStat(key string)

Add a stat that should be repeated with 0 when not seen

func (*Reporter) RegisterStatWIndex

func (this *Reporter) RegisterStatWIndex(key string, indexKey string)

Add a stat that should be repeated with 0 when not seen

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/gogoprotobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
_workspace/src/github.com/CapillarySoftware/gostat/protoStat
Package protoStat is a generated protocol buffer package.
Package protoStat is a generated protocol buffer package.
_workspace/src/github.com/onsi/ginkgo
Ginkgo is a BDD-style testing framework for Golang
Ginkgo is a BDD-style testing framework for Golang
_workspace/src/github.com/onsi/ginkgo/config
Ginkgo accepts a number of configuration options.
Ginkgo accepts a number of configuration options.
The Ginkgo CLI
_workspace/src/github.com/onsi/ginkgo/internal/remote
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete.
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete.
Ginkgo's Default Reporter
_workspace/src/github.com/onsi/gomega
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
_workspace/src/github.com/onsi/gomega/format
Gomega's format package pretty-prints objects.
Gomega's format package pretty-prints objects.
_workspace/src/github.com/onsi/gomega/gbytes
Package gbytes provides a buffer that supports incrementally detecting input.
Package gbytes provides a buffer that supports incrementally detecting input.
_workspace/src/github.com/onsi/gomega/gexec
Package gexec provides support for testing external processes.
Package gexec provides support for testing external processes.
_workspace/src/github.com/onsi/gomega/ghttp
Package ghttp supports testing HTTP clients by providing a test server (simply a thin wrapper around httptest's server) that supports registering multiple handlers.
Package ghttp supports testing HTTP clients by providing a test server (simply a thin wrapper around httptest's server) that supports registering multiple handlers.
Gomega matchers

Jump to

Keyboard shortcuts

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