{"action":"closed","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/2638","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/2638/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/2638/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/2638/events","html_url":"https://github.com/influxdata/telegraf/issues/2638","id":220362686,"number":2638,"title":"Setting agent precision does nothing","user":{"login":"danielnelson","id":1048079,"avatar_url":"https://avatars0.githubusercontent.com/u/1048079?v=3","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"labels":[{"id":561634381,"url":"https://api.github.com/repos/influxdata/telegraf/labels/documentation","name":"documentation","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/influxdata/telegraf/milestones/6","html_url":"https://github.com/influxdata/telegraf/milestone/6","labels_url":"https://api.github.com/repos/influxdata/telegraf/milestones/6/labels","id":2113037,"number":6,"title":"1.3.0","description":"","creator":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars2.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":100,"state":"open","created_at":"2016-11-03T18:48:56Z","updated_at":"2017-04-15T00:24:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-04-08T00:42:28Z","updated_at":"2017-04-15T00:24:19Z","closed_at":"2017-04-15T00:24:19Z","body":"## Bug report\r\n\r\nSetting the agent precision does not work, precision is always at 1s.\r\n\r\n### Relevant telegraf.conf:\r\n```\r\n[agent]\r\n  interval = \"1s\"\r\n  round_interval = true\r\n  collection_jitter = \"0s\"\r\n  precision = \"us\"\r\n\r\n[[inputs.cpu]]\r\n  percpu = false\r\n  totalcpu = true\r\n  collect_cpu_time = false\r\n\r\n```\r\n### System info:\r\n\r\naa722fac9b6585069d405a9bc1772d4900d971b0\r\n\r\n### Steps to reproduce:\r\n\r\n1. `telegraf --config telegraf.conf --input-filter cpu --test`\r\n\r\n### Expected behavior:\r\n\r\n`cpu,cpu=cpu-total usage_system=0.5 1491611824476047000`\r\n\r\n### Actual behavior:\r\n\r\n`cpu,cpu=cpu-total usage_system=0.5 1491611931000000000`\r\n\r\n### Additional info:\r\n\r\nThe units only cannot be parsed by `func (d *Duration) UnmarshalTOML(b []byte) error`, and no error is reported.\r\n"}}
{"actor":{"display_login":"danielnelson"}}