sender

package
v3.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MockMap = nmap.NewSafeMap()
)

Functions

func AddMock

func AddMock(key string, endpoint string, metric string, tags string, ts int64, dstype string, step int64, value interface{})

func CalcGaussOnce

func CalcGaussOnce() int

func SendMockOnce

func SendMockOnce() int

func SendMockOnceAsync

func SendMockOnceAsync()

func Start

func Start()

Types

type GraphHistoryParam

type GraphHistoryParam struct {
	Start            int64                   `json:"start"`
	End              int64                   `json:"end"`
	CF               string                  `json:"cf"`
	EndpointCounters []cmodel.GraphInfoParam `json:"endpoint_counters"`
}

Jump to

Keyboard shortcuts

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