opentsdbclient

package
v0.1.0-rabo Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAPIURL = "http://locahost/api"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(transporter Poster, prefix string, deployment string, job string, index string, ip string) *Client

func (*Client) AddMetric

func (c *Client) AddMetric(envelope *events.Envelope)

func (*Client) IncrementFirehoseDisconnect

func (c *Client) IncrementFirehoseDisconnect()

func (*Client) PostMetrics

func (c *Client) PostMetrics() error

type Poster

type Poster interface {
	Post([]poster.Metric) error
}

Jump to

Keyboard shortcuts

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