{"action":"created","issue":{"url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/5","repository_url":"https://api.github.com/repos/kamon-io/kamon-datadog","labels_url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/5/comments","events_url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/5/events","html_url":"https://github.com/kamon-io/kamon-datadog/issues/5","id":263415312,"node_id":"MDU6SXNzdWUyNjM0MTUzMTI=","number":5,"title":"Payload is not in the expected format","user":{"login":"ollis","id":488193,"node_id":"MDQ6VXNlcjQ4ODE5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/488193?v=4","gravatar_id":"","url":"https://api.github.com/users/ollis","html_url":"https://github.com/ollis","followers_url":"https://api.github.com/users/ollis/followers","following_url":"https://api.github.com/users/ollis/following{/other_user}","gists_url":"https://api.github.com/users/ollis/gists{/gist_id}","starred_url":"https://api.github.com/users/ollis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollis/subscriptions","organizations_url":"https://api.github.com/users/ollis/orgs","repos_url":"https://api.github.com/users/ollis/repos","events_url":"https://api.github.com/users/ollis/events{/privacy}","received_events_url":"https://api.github.com/users/ollis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-06T11:27:54Z","updated_at":"2018-08-29T21:48:06Z","closed_at":null,"author_association":"NONE","body":"Hi, I experience an error when i try to use the DatadogAPIMetricsSender. It seems like the json body is not correctly formated. The error that is logged is:\r\n`\r\n[ERROR] [10/06/2017 13:18:01.239] [kamon-akka.actor.default-dispatcher-8] [akka://kamon/user/datadog-metrics-sender] Datadog request failed, some metrics may have been dropped: NettyResponse {\r\n\tstatusCode=400\r\n\theaders=\r\n\t\tDate: Fri, 06 Oct 2017 11:18:01 GMT\r\n\t\tContent-Type: text/plain; charset=utf-8\r\n\t\tContent-Length: 80\r\n\t\tConnection: keep-alive\r\n\t\tDD-POOL: propjoe\r\n\t\tX-Content-Type-Options: nosniff\r\n\t\tStrict-Transport-Security: max-age=15724800;\r\n\tbody=\r\nPayload is not in the expected format: invalid character ':' after array element\r\n`\r\n\r\nThe body is like this:\r\n`[\"metric\": \"kamon.system-metric.cpu-idle.min\", \"points\": [\r\n\t[1507288599795, 52.0]\r\n], \"type\": \"gauge\", \"host\": \"xxx\", \"tags\": []], [\"metric\": \"kamon.system-metric.cpu-idle.max\", \"points\": [\r\n\t[1507288599795, 77.0]\r\n], \"type\": \"gauge\", \"host\": \"xxx\", \"tags\": []], ` and so on.\r\n\r\nVersion 0.6.8 is used."},"comment":{"url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/comments/417117376","html_url":"https://github.com/kamon-io/kamon-datadog/issues/5#issuecomment-417117376","issue_url":"https://api.github.com/repos/kamon-io/kamon-datadog/issues/5","id":417117376,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzExNzM3Ng==","user":{"login":"dominics","id":97427,"node_id":"MDQ6VXNlcjk3NDI3","avatar_url":"https://avatars0.githubusercontent.com/u/97427?v=4","gravatar_id":"","url":"https://api.github.com/users/dominics","html_url":"https://github.com/dominics","followers_url":"https://api.github.com/users/dominics/followers","following_url":"https://api.github.com/users/dominics/following{/other_user}","gists_url":"https://api.github.com/users/dominics/gists{/gist_id}","starred_url":"https://api.github.com/users/dominics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominics/subscriptions","organizations_url":"https://api.github.com/users/dominics/orgs","repos_url":"https://api.github.com/users/dominics/repos","events_url":"https://api.github.com/users/dominics/events{/privacy}","received_events_url":"https://api.github.com/users/dominics/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T21:48:06Z","updated_at":"2018-08-29T21:48:06Z","author_association":"NONE","body":"I'm seeing another one of these in version 1.0.0, with a slightly different error response body: `Payload is not in the expected format: invalid character 'M' after array element`. Haven't gone as far as capturing a request body to see what it looks like yet."}}
{"actor":{"display_login":"dominics"}}