heapsterk8s.io/heapster/metrics/sinks/graphite Index | Files

package graphite

import "k8s.io/heapster/metrics/sinks/graphite"

Index

Constants

const (
	DefaultHost   = "localhost"
	DefaultPort   = 2003
	DefaultPrefix = "kubernetes"
)

Functions

func NewGraphiteSink

func NewGraphiteSink(uri *url.URL) (core.DataSink, error)

Types

type Sink

type Sink struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Sink) ExportData

func (s *Sink) ExportData(dataBatch *core.DataBatch)

func (*Sink) Name

func (s *Sink) Name() string

func (*Sink) Stop

func (s *Sink) Stop()

Source Files

driver.go

Version
v1.5.4 (latest)
Published
Jul 26, 2018
Platform
linux/amd64
Imports
9 packages
Last checked
10 hours ago

Tools for package owners.