datadog

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datadog

type Datadog struct {
	Apikey  string
	Timeout t.Duration
	// contains filtered or unexported fields
}

func NewDatadog

func NewDatadog(apiUrl string) *Datadog

func (*Datadog) Close

func (d *Datadog) Close() error

func (*Datadog) Connect

func (d *Datadog) Connect() error

func (*Datadog) Description added in v0.1.7

func (d *Datadog) Description() string

func (*Datadog) SampleConfig added in v0.1.7

func (d *Datadog) SampleConfig() string

func (*Datadog) Write

func (d *Datadog) Write(bp client.BatchPoints) error

type Metric

type Metric struct {
	Metric string   `json:"metric"`
	Points [1]Point `json:"points"`
	Tags   []string `json:"tags,omitempty"`
}

type Point

type Point [2]float64

type TimeSeries

type TimeSeries struct {
	Series []*Metric `json:"series"`
}

Jump to

Keyboard shortcuts

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