Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLoggregatorConfig = LoggregatorConfig{
MetronURL: "localhost:3458",
CACertPath: "/var/vcap/jobs/metric-exporter/config/loggregator.ca_cert.crt",
ClientCertPath: "/var/vcap/jobs/metric-exporter/config/loggregator.client_cert.crt",
ClientKeyPath: "/var/vcap/jobs/metric-exporter/config/loggregator.client_key.key",
}
Functions ¶
func NewLocketConfig ¶
func NewLocketConfig(addr, caCert, clientCert, clientKey *string) locket.ClientLocketConfig
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application is the main application logic
func NewApplication ¶
func NewApplication( config *Config, processors map[sonde_events.Envelope_EventType]processors.Processor, senders []metrics.Sender, ) *Application
NewApplication creates a new application instance
func (*Application) Run ¶
func (a *Application) Run(signals <-chan os.Signal, ready chan<- struct{}) error
func (*Application) Start ¶
func (a *Application) Start(withLock bool)
Click to show internal directories.
Click to hide internal directories.