Esempio n. 1
0
func init() {
	wcg.RegisterProcessConfig(Pt1Config, "speedland.jobs.recorder.pt1", func(c interface{}) {
		cfg := c.(*pt1Config)
		cfg.Recpt1Path = util.AbsPath(cfg.Recpt1Path)
		cfg.StoragePath = util.AbsPath(cfg.StoragePath)
	})
}
Esempio n. 2
0
File: io.go Progetto: speedland/wcg
func UseFileConfig() {
	wcg.RegisterProcessConfig(LogSinkFileConfig, "wcg.logging.file", func(c interface{}) {
		sink := NewIOLogSinkFromConfig(LogSinkFileConfig)
		if sink != nil {
			wcg.LogConfig.AddSink(sink, LogSinkFileConfig.Level)
		}
	})
}
Esempio n. 3
0
func init() {
	wcg.RegisterProcessConfig(DataStoreConfig, "gae.datastore", nil)
	gae.RegisterLogDataSchema(&DatastoreOperation{})
}
Esempio n. 4
0
func init() {
	wcg.RegisterProcessConfig(AppConfig, "rakugaki", nil)
	wcg.ConfigureProcess("wcg.ini")
	startServer()
}
Esempio n. 5
0
func init() {
	wcg.RegisterProcessConfig(tweetStreamConfig, "speedland.jobs.tweetstream", nil)
}
Esempio n. 6
0
func init() {
	wcg.RegisterProcessConfig(PingConfig, "speedland.jobs.ping", nil)
}
Esempio n. 7
0
func init() {
	wcg.RegisterProcessConfig(StatsdConfig, "speedland.jobs.statsd", nil)
}
Esempio n. 8
0
func init() {
	wcg.RegisterProcessConfig(Config, "speedland", nil)
}
Esempio n. 9
0
func init() {
	wcg.RegisterProcessConfig(AlertConfig, "speedland.alert", nil)
}
Esempio n. 10
0
func init() {
	wcg.RegisterProcessConfig(InfluxConfig, "speedland.models.influxconfig", nil)
	influxSource, _ = os.Hostname()
}
Esempio n. 11
0
func init() {
	wcg.RegisterProcessConfig(TrackingCode, "speedland.tracking", nil)
}
Esempio n. 12
0
func init() {
	wcg.RegisterProcessConfig(MemcacheConfig, "gae.memcache", nil)
	gae.RegisterLogDataSchema(&MemcacheOperation{})
}