Help us shape the future of Go! Take the 2026 Go Developer Survey

graphite

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client allows sending batches of Prometheus samples to Graphite.

func NewClient

func NewClient(address string, transport string, timeout time.Duration, prefix string) *Client

NewClient creates a new Client.

func (Client) Name

func (c Client) Name() string

Name identifies the client as a Graphite client.

func (*Client) Write

func (c *Client) Write(samples model.Samples) error

Write sends a batch of samples to Graphite.

Jump to

Keyboard shortcuts

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