{"action":"created","issue":{"url":"https://api.github.com/repos/python-diamond/Diamond/issues/446","repository_url":"https://api.github.com/repos/python-diamond/Diamond","labels_url":"https://api.github.com/repos/python-diamond/Diamond/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/python-diamond/Diamond/issues/446/comments","events_url":"https://api.github.com/repos/python-diamond/Diamond/issues/446/events","html_url":"https://github.com/python-diamond/Diamond/issues/446","id":145129846,"number":446,"title":"Float values ","user":{"login":"Fullmetal8ender","id":5425701,"avatar_url":"https://avatars.githubusercontent.com/u/5425701?v=3","gravatar_id":"","url":"https://api.github.com/users/Fullmetal8ender","html_url":"https://github.com/Fullmetal8ender","followers_url":"https://api.github.com/users/Fullmetal8ender/followers","following_url":"https://api.github.com/users/Fullmetal8ender/following{/other_user}","gists_url":"https://api.github.com/users/Fullmetal8ender/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullmetal8ender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullmetal8ender/subscriptions","organizations_url":"https://api.github.com/users/Fullmetal8ender/orgs","repos_url":"https://api.github.com/users/Fullmetal8ender/repos","events_url":"https://api.github.com/users/Fullmetal8ender/events{/privacy}","received_events_url":"https://api.github.com/users/Fullmetal8ender/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T09:15:13Z","updated_at":"2016-04-01T13:40:23Z","closed_at":null,"body":"Hi/ I have a problem with getting float values. I have a metric with value 0.001, but diamond always return 0.0 \r\nTo send metric I use self.publish(key, metrics[key], None, 1).\r\nWhat did I do wrong?"},"comment":{"url":"https://api.github.com/repos/python-diamond/Diamond/issues/comments/204399928","html_url":"https://github.com/python-diamond/Diamond/issues/446#issuecomment-204399928","issue_url":"https://api.github.com/repos/python-diamond/Diamond/issues/446","id":204399928,"user":{"login":"Fullmetal8ender","id":5425701,"avatar_url":"https://avatars.githubusercontent.com/u/5425701?v=3","gravatar_id":"","url":"https://api.github.com/users/Fullmetal8ender","html_url":"https://github.com/Fullmetal8ender","followers_url":"https://api.github.com/users/Fullmetal8ender/followers","following_url":"https://api.github.com/users/Fullmetal8ender/following{/other_user}","gists_url":"https://api.github.com/users/Fullmetal8ender/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullmetal8ender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullmetal8ender/subscriptions","organizations_url":"https://api.github.com/users/Fullmetal8ender/orgs","repos_url":"https://api.github.com/users/Fullmetal8ender/repos","events_url":"https://api.github.com/users/Fullmetal8ender/events{/privacy}","received_events_url":"https://api.github.com/users/Fullmetal8ender/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T13:40:23Z","updated_at":"2016-04-01T13:40:23Z","body":"Thank You!\n\n2016-04-01 19:08 GMT+06:00 Iurii Polishchuk <notifications@github.com>:\n\n> Yes, you're right. Then try precision=3.\n> https://github.com/python-diamond/Diamond/blob/master/src/diamond/metric.py#L28\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/python-diamond/Diamond/issues/446#issuecomment-204391611>\n>\n"}}