crankshaft

package
v0.0.0-...-910770a Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatsClient

func GetStatsClient() *statsdBackend

func MonitorClusters

func MonitorClusters(conf Config)

Types

type Config

type Config struct {
	Host        string
	Port        int
	TLSEnabled  bool `toml:"tls_enabled"`
	Clusters    []string
	BackendType string
	Statsd      StatsDConfig
	InfluxDB    InfluxDbConfig
}

type EventChannel

type EventChannel chan *TurbineEvent

type InfluxDbConfig

type InfluxDbConfig struct {
	Host     string
	Port     int
	Username string
	Password string
	Database string
}

type StatWriter

type StatWriter interface {
	WriteEvent(event *TurbineEvent)
}

type StatsDConfig

type StatsDConfig struct {
	Host   string
	Port   int
	Prefix string
}

type TurbineEvent

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

Jump to

Keyboard shortcuts

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