{"action":"created","issue":{"url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/30","repository_url":"https://api.github.com/repos/deadtrickster/prometheus.erl","labels_url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/30/comments","events_url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/30/events","html_url":"https://github.com/deadtrickster/prometheus.erl/pull/30","id":174922765,"number":30,"title":"Version 3","user":{"login":"deadtrickster","id":172311,"avatar_url":"https://avatars.githubusercontent.com/u/172311?v=3","gravatar_id":"","url":"https://api.github.com/users/deadtrickster","html_url":"https://github.com/deadtrickster","followers_url":"https://api.github.com/users/deadtrickster/followers","following_url":"https://api.github.com/users/deadtrickster/following{/other_user}","gists_url":"https://api.github.com/users/deadtrickster/gists{/gist_id}","starred_url":"https://api.github.com/users/deadtrickster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadtrickster/subscriptions","organizations_url":"https://api.github.com/users/deadtrickster/orgs","repos_url":"https://api.github.com/users/deadtrickster/repos","events_url":"https://api.github.com/users/deadtrickster/events{/privacy}","received_events_url":"https://api.github.com/users/deadtrickster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/deadtrickster/prometheus.erl/milestones/2","html_url":"https://github.com/deadtrickster/prometheus.erl/milestones/Version%203","labels_url":"https://api.github.com/repos/deadtrickster/prometheus.erl/milestones/2/labels","id":1940888,"number":2,"title":"Version 3","description":"API polishing\r\nErrors\r\nTests coverage\r\nDocs","creator":{"login":"deadtrickster","id":172311,"avatar_url":"https://avatars.githubusercontent.com/u/172311?v=3","gravatar_id":"","url":"https://api.github.com/users/deadtrickster","html_url":"https://github.com/deadtrickster","followers_url":"https://api.github.com/users/deadtrickster/followers","following_url":"https://api.github.com/users/deadtrickster/following{/other_user}","gists_url":"https://api.github.com/users/deadtrickster/gists{/gist_id}","starred_url":"https://api.github.com/users/deadtrickster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadtrickster/subscriptions","organizations_url":"https://api.github.com/users/deadtrickster/orgs","repos_url":"https://api.github.com/users/deadtrickster/repos","events_url":"https://api.github.com/users/deadtrickster/events{/privacy}","received_events_url":"https://api.github.com/users/deadtrickster/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2016-08-14T13:51:16Z","updated_at":"2016-09-06T11:24:28Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2016-09-03T23:27:40Z","updated_at":"2016-09-13T17:39:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deadtrickster/prometheus.erl/pulls/30","html_url":"https://github.com/deadtrickster/prometheus.erl/pull/30","diff_url":"https://github.com/deadtrickster/prometheus.erl/pull/30.diff","patch_url":"https://github.com/deadtrickster/prometheus.erl/pull/30.patch"},"body":"### Breaking Changes:\r\n - `invalid_metric_arity` tuple changed. Added metric real arity to `invalid_metric_arity` error tuple;\r\n - fix `histogram,summary:observe_duration` arguments order (Registry now goes first);\r\n - changed `collect_mf/3,2` args order;\r\n - default collectors env key changed to 'collectors';\r\n - default instrumenters env key changed to 'instrumenters';\r\n - `prometheus_buckets` removed deprecations:\r\n   generate_linear/3,\r\n   generate_exponential/3;\r\n - prometheus_histogram: removed deprecated bounds config support,\r\n - tweak histogram_invalid_buckets error tuple. It always has three elements now;\r\n \r\n### Deprecations:\r\n - deprecate prometheus_collector:register/deregister;\r\n - deprecate metric:new,declare/2.\r\n\r\n### What's new:\r\n - added metric real arity to invalid_metric_arity error tuple;\r\n - `<metric>:value` returns undefined for unknown label set;\r\n - `<metric>:set,reset,value` raise unknown_metric|invalid_metric_arity;\r\n - `<metric>:observe,observe_duration,track_inprogress` raise unknown_metric|invalid_metric_arity;\r\n - `<metric>:d*` functions raise unknown_metric|invalid_metric_arity before gen_server:cast;\r\n - `<metric>:new,declare/1` accept registry key;\r\n - `prometheus_registry:register_collector(s),deregister_collector/1`;\r\n - `prometheus_registry:collector_registeredp/1`;\r\n - `gauge:set` accepts `undefined` which is interpreted as NaN;\r\n - new error messages;\r\n - track_inprogress/observe_duration raise `invalid_value` error when Fun is not a function;\r\n - `gauge (d)inc/(d)dec`;\r\n - `gauge:set_duration`;\r\n - `<metric>:remove` - can remove series for a given label set;\r\n - untyped metric support;\r\n - linear buckets generator supports float start and step;\r\n - new time intervals measuring system based on native units (see https://github.com/deadtrickster/prometheus.erl/issues/32)\r\n \r\n### Other:\r\n - rebar3 updated;\r\n - coveralls integration;\r\n - tests code checked by elvis too.\r\n\r\nWhat's missing: \r\n - [ ] gpb update https://github.com/deadtrickster/prometheus.erl/issues/28\r\n - [ ] documentation https://github.com/deadtrickster/prometheus.erl/issues/4"},"comment":{"url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/comments/246761915","html_url":"https://github.com/deadtrickster/prometheus.erl/pull/30#issuecomment-246761915","issue_url":"https://api.github.com/repos/deadtrickster/prometheus.erl/issues/30","id":246761915,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T17:39:42Z","updated_at":"2016-09-13T17:39:42Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7867714/badge)](https://coveralls.io/builds/7867714)\n\nChanges Unknown when pulling **c7737c64be8a08e9a5bc5f4a6e1e62625b3c5f97 on version-3** into ** on master**.\n"}}
{"actor":{"display_login":"coveralls"}}