Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPort represents the default OpenTSDB port. DefaultPort = 4242 // DefaultDatabaseName is the default OpenTSDB database if none is specified DefaultDatabaseName = "opentsdb" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeriesWriter ¶
type SeriesWriter interface {
WriteSeries(database, retentionPolicy string, points []influxdb.Point) (uint64, error)
}
SeriesWriter defines the interface for the destination of the data.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
An InfluxDB input class to accept OpenTSDB's telnet protocol Each telnet command consists of a line of the form:
put sys.cpu.user 1356998400 42.5 host=webserver01 cpu=0
func (*Server) HandleConnection ¶
func (*Server) HandleListener ¶
func (s *Server) HandleListener(socket *net.TCPListener)
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.