Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxDBConfig ¶
type InfluxDBConfig struct { URL string `long:"influxdb-url" description:"InfluxDB server address to emit points to."` Database string `long:"influxdb-database" description:"InfluxDB database to write points to."` Username string `long:"influxdb-username" description:"InfluxDB server username."` Password string `long:"influxdb-password" description:"InfluxDB server password."` InsecureSkipVerify bool `long:"influxdb-insecure-skip-verify" description:"Skip SSL verification when emitting to InfluxDB."` }
func (*InfluxDBConfig) Description ¶
func (config *InfluxDBConfig) Description() string
func (*InfluxDBConfig) IsConfigured ¶
func (config *InfluxDBConfig) IsConfigured() bool
func (*InfluxDBConfig) NewEmitter ¶
func (config *InfluxDBConfig) NewEmitter() metric.Emitter
type InfluxDBEmitter ¶
type InfluxDBEmitter struct {
// contains filtered or unexported fields
}
type LagerConfig ¶
type LagerConfig struct {
Enabled bool `long:"emit-to-logs" description:"Emit metrics to logs."`
}
func (*LagerConfig) Description ¶
func (config *LagerConfig) Description() string
func (*LagerConfig) IsConfigured ¶
func (config *LagerConfig) IsConfigured() bool
func (*LagerConfig) NewEmitter ¶
func (config *LagerConfig) NewEmitter() metric.Emitter
type LagerEmitter ¶
type LagerEmitter struct{}
type RiemannConfig ¶
type RiemannConfig struct { Host string `long:"riemann-host" description:"Riemann server address to emit metrics to."` Port uint16 `long:"riemann-port" default:"5555" description:"Port of the Riemann server to emit metrics to."` ServicePrefix string `long:"riemann-service-prefix" default:"" description:"An optional prefix for emitted Riemann services"` Tags []string `long:"riemann-tag" description:"Tag to attach to emitted metrics. Can be specified multiple times." value-name:"TAG"` }
func (*RiemannConfig) Description ¶
func (config *RiemannConfig) Description() string
func (*RiemannConfig) IsConfigured ¶
func (config *RiemannConfig) IsConfigured() bool
func (*RiemannConfig) NewEmitter ¶
func (config *RiemannConfig) NewEmitter() metric.Emitter
type RiemannEmitter ¶
type RiemannEmitter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.