On Wednesday, June 22, 2016 at 4:56:31 AM UTC+3, Quick Query wrote: > Hi There, > > > I am using a Docker containerized telegraf and running it with the "-debug" > option. > I see that ALL of "Input" logs missing. Only "Output" logs are seen in my > Telegraf logs. > > > > This is how my log file looks like: > > > > > > > > > > 2016/06/22 01:49:30 Output [influxdb] wrote batch of 71 metrics in 20.586192ms > > 2016/06/22 01:49:40 Output [influxdb] buffer fullness: 71 / 10000 metrics. > Total gathered metrics: 11296. Total dropped metrics: 0. > > 2016/06/22 01:49:40 Output [influxdb] wrote batch of 71 metrics in 13.21957ms > > 2016/06/22 01:49:50 Output [influxdb] buffer fullness: 66 / 10000 metrics. > Total gathered metrics: 11362. Total dropped metrics: 0. > > 2016/06/22 01:49:50 Output [influxdb] wrote batch of 66 metrics in 13.933466ms > > 2016/06/22 01:50:00 Output [influxdb] buffer fullness: 76 / 10000 metrics. > Total gathered metrics: 11438. Total dropped metrics: 0. > > 2016/06/22 01:50:00 Output [influxdb] wrote batch of 76 metrics in 78.292919ms > > > Any pointers to get the -debug to show the "Input" logs? > > > (Note: My localhost Influx shows all the logs - [Input and Output] without > any issues. Log sample shared below.) > Local host logs look like: > 2016/06/21 18:54:40 Input [exec] gathered metrics, (10s interval) in > 11.778001ms > 2016/06/21 18:54:40 Input [swap] gathered metrics, (10s interval) in > 14.159942ms > 2016/06/21 18:54:40 Input [processes] gathered metrics, (10s interval) in > 19.897147ms > 2016/06/21 18:54:40 Input [system] gathered metrics, (10s interval) in > 21.605779ms > 2016/06/21 18:54:40 Output [influxdb] buffer fullness: 6 / 10000 metrics. > Total gathered metrics: 342. Total dropped metrics: 0. > > > > > > > > > > > > > > > 2016/06/21 18:54:40 Output [influxdb] wrote batch of 6 metrics in 3.835361ms > > > Cheers!
Hi, Can you please share the command that you are using to start the Telegraf container? I was not able to reproduce this issue with the officially supported images from Dockerhub (https://hub.docker.com/_/telegraf/) root@kubuntu:~/influxdata-docker/telegraf/1.0# docker run -v $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro telegraf -debug 2016/06/23 12:01:47 Using config file: /etc/telegraf/telegraf.conf 2016/06/23 12:01:47 Attempting connection to output: influxdb 2016/06/23 12:01:47 Successfully connected to output: influxdb 2016/06/23 12:01:47 Starting Telegraf (version 0.13.1) 2016/06/23 12:01:47 Loaded outputs: influxdb 2016/06/23 12:01:47 Loaded inputs: diskio kernel mem processes swap system cpu disk 2016/06/23 12:01:47 Tags enabled: host=63c678e38bfc 2016/06/23 12:01:47 Agent Config: Interval:10s, Debug:true, Quiet:false, Hostname:"63c678e38bfc", Flush Interval:10s 2016/06/23 12:01:50 Input [processes] gathered metrics, (10s interval) in 285.315µs 2016/06/23 12:01:50 Input [disk] gathered metrics, (10s interval) in 2.088531ms 2016/06/23 12:01:50 Input [swap] gathered metrics, (10s interval) in 294.529µs 2016/06/23 12:01:50 Input [system] gathered metrics, (10s interval) in 644.009µs 2016/06/23 12:01:50 Input [cpu] gathered metrics, (10s interval) in 506.066µs 2016/06/23 12:01:50 Input [kernel] gathered metrics, (10s interval) in 298.892µs 2016/06/23 12:01:50 Input [mem] gathered metrics, (10s interval) in 237.358µs 2016/06/23 12:01:50 Input [diskio] gathered metrics, (10s interval) in 9.651767ms Thanks, Kostas -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/816b2454-3082-44a3-82af-73cdb1368e34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
