{"action":"created","issue":{"url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/105","labels_url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/105/comments","events_url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/105/events","html_url":"https://github.com/jmxtrans/embedded-jmxtrans/issues/105","id":99158130,"number":105,"title":"StatsDWriter: given data too big","user":{"login":"iliuta","id":4728960,"avatar_url":"https://avatars.githubusercontent.com/u/4728960?v=3","gravatar_id":"","url":"https://api.github.com/users/iliuta","html_url":"https://github.com/iliuta","followers_url":"https://api.github.com/users/iliuta/followers","following_url":"https://api.github.com/users/iliuta/following{/other_user}","gists_url":"https://api.github.com/users/iliuta/gists{/gist_id}","starred_url":"https://api.github.com/users/iliuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliuta/subscriptions","organizations_url":"https://api.github.com/users/iliuta/orgs","repos_url":"https://api.github.com/users/iliuta/repos","events_url":"https://api.github.com/users/iliuta/events{/privacy}","received_events_url":"https://api.github.com/users/iliuta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-05T09:05:22Z","updated_at":"2015-08-06T09:24:34Z","closed_at":"2015-08-06T09:20:41Z","body":"I am trying to use StatsDWriter and for some metrics I get the following warning:\r\n\r\n2015/08/05-11:01:01.339  WARN [jmxtrans-export-1] org.jmxtrans.embedded.output.StatsDWriter - Given data too big (115bytes) for the buffer size (93bytes), skip it: stats.sys.jvm.loc... \r\n\r\nThe metric is the following:\r\nstats.sys.jvm.localhost.mongodb.connection_pools.localhost.27017.55c1d0513e2a02c639c596e2.Statistics.MinSize:0|c\r\n\r\n\r\nI tried to play with bufferSize parameter but the result is the same.\r\n\r\n\"outputWriters\": [\r\n        {\r\n            \"@class\": \"org.jmxtrans.embedded.output.StatsDWriter\",\r\n            \"settings\": {\r\n                \"host\": \"${statsd.host}\",\r\n                \"port\": \"${statsd.port}\",\r\n                \"namePrefix\": \"stats.\",\r\n                \"enabled\": \"${statsd.enabled:true}\",\r\n                \"bufferSize\" : 1024\r\n            }\r\n        }\r\n    ]\r\n\r\nI am using embedded-jmxtrans 1.1.0."},"comment":{"url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/comments/128303715","html_url":"https://github.com/jmxtrans/embedded-jmxtrans/issues/105#issuecomment-128303715","issue_url":"https://api.github.com/repos/jmxtrans/embedded-jmxtrans/issues/105","id":128303715,"user":{"login":"YannRobert","id":1653590,"avatar_url":"https://avatars.githubusercontent.com/u/1653590?v=3","gravatar_id":"","url":"https://api.github.com/users/YannRobert","html_url":"https://github.com/YannRobert","followers_url":"https://api.github.com/users/YannRobert/followers","following_url":"https://api.github.com/users/YannRobert/following{/other_user}","gists_url":"https://api.github.com/users/YannRobert/gists{/gist_id}","starred_url":"https://api.github.com/users/YannRobert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YannRobert/subscriptions","organizations_url":"https://api.github.com/users/YannRobert/orgs","repos_url":"https://api.github.com/users/YannRobert/repos","events_url":"https://api.github.com/users/YannRobert/events{/privacy}","received_events_url":"https://api.github.com/users/YannRobert/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T09:24:34Z","updated_at":"2015-08-06T09:24:34Z","body":":smiley: "}}