move tags to influxdb struct, update all sample configs
This commit is contained in:
@@ -102,7 +102,7 @@ func main() {
|
||||
close(shutdown)
|
||||
}()
|
||||
|
||||
log.Print("InfluxDB Agent running")
|
||||
log.Print("Telegraf Agent running")
|
||||
log.Printf("Loaded outputs: %s", strings.Join(outputs, " "))
|
||||
log.Printf("Loaded plugins: %s", strings.Join(plugins, " "))
|
||||
if ag.Debug {
|
||||
@@ -111,10 +111,6 @@ func main() {
|
||||
ag.Interval, ag.Debug, ag.Hostname)
|
||||
}
|
||||
|
||||
if len(outputs) > 0 {
|
||||
log.Printf("Tags enabled: %v", config.ListTags())
|
||||
}
|
||||
|
||||
if *fPidfile != "" {
|
||||
f, err := os.Create(*fPidfile)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user