-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: runtime error #568
Comments
[tags] dc = "us-east-1"tenant = "xyz" [agent] Default data collection interval for all pluginsinterval = "10s" Rounds collection interval to 'interval'ie, if interval="10s" then always collect on :00, :10, :20, etc.round_interval = true Default data flushing interval for all outputs. You should not set this belowinterval. Maximum flush_interval will be flush_interval + flush_jitterflush_interval = "10s" Jitter the flush interval by a random amount. This is primarily to avoidlarge write spikes for users running a large number of telegraf instances.ie, a jitter of 5s and interval 10s means flushes will happen every 10-15sflush_jitter = "0s" Run telegraf in debug modedebug = false Override default hostname, if empty use os.Hostname()hostname = "" [[outputs.influxdb]] The target database for metrics (telegraf will create it if not exists)database = "linux" # required Precision of writes, valid values are n, u, ms, s, m, and hnote: using second precision greatly helps InfluxDB compressionprecision = "s" pass = [ "cpu", "disk", "mem", "swap", "system", "net" ] [[inputs.cpu]] Whether to report per-cpu stats or notpercpu = false Whether to report total system cpu stats or nottotalcpu = true Comment this line if you want the raw CPU time metricsdrop = ["cpu_time"] [[inputs.disk]] By default, telegraf gather stats for all mountpoints.Setting mountpoints will restrict the stats to the specified mountpoints.Mountpoints=["/"][inputs.disk.tagpass] [[inputs.diskio]] By default, telegraf will gather stats for all devices includingdisk partitions.Setting devices will restrict the stats to the specified devices.Devices=["sda","sdb"]Uncomment the following line if you do not need disk serial numbers.SkipSerialNumber = true [[inputs.mem]] no configuration[[inputs.swap]] no configuration[[inputs.system]] no configuration[[inputs.netstat]] no configuration[[inputs.net]] no configuration |
and in telegraf.d/apache.conf [[outputs.influxdb]] The target database for metrics (telegraf will create it if not exists)database = "apache" # required Precision of writes, valid values are n, u, ms, s, m, and hnote: using second precision greatly helps InfluxDB compressionprecision = "s" Connection timeout (for the connection with InfluxDB), formatted as a string.If not provided, will default to 0 (no timeout)timeout = "5s"username = "telegraf"password = "metricsmetricsmetricsmetrics"Set the user agent for HTTP POSTs (can be useful for log differentiation)user_agent = "telegraf"Set UDP payload size, defaults to InfluxDB UDP Client default (512 bytes)udp_payload = 512pass = [ "apache" ] [[inputs.apache]] |
Also moved some objects out of config.go and put them in their own package, internal/models fixes #568
Thanks for the details @joakimberglund, looks like there was a race condition that could only be tripped when multiple outputs of the same type were specified. PR #570 will fix this, and will go into version 0.10.1 |
Got an instans of telegraf 0.10.0-1 on RHEL6.7 that crashes a couple of times a day...
The text was updated successfully, but these errors were encountered: