graphite

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2014 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

no rounding of timestamps to the nearest interval. Upon ingestion of multiple datapoints for a given key within the same interval (possibly but not necessarily the same timestamp), graphite would use one (the latest received) value with a rounded timestamp representing that interval. We store values for every timestamp we receive (only the latest value for a given metric-timestamp pair) so it's up to the user to feed the data in proper intervals (and use round intervals if you plan to rely on that)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphiteMetric

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

func (*GraphiteMetric) Read

func (self *GraphiteMetric) Read(reader *bufio.Reader) error

type Server

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

func NewServer

func NewServer(config *configuration.Configuration, coord coordinator.Coordinator, clusterConfig *cluster.ClusterConfiguration) *Server

TODO: check that database exists and create it if not

func (*Server) Close

func (self *Server) Close()

func (*Server) ListenAndServe

func (self *Server) ListenAndServe()

func (*Server) Serve

func (self *Server) Serve(listener net.Listener)

Jump to

Keyboard shortcuts

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