{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/21","repository_url":"https://api.github.com/repos/stripe/stripe-datadog-checks","labels_url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/21/comments","events_url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/21/events","html_url":"https://github.com/stripe/stripe-datadog-checks/pull/21","id":161320395,"number":21,"title":"Count processed tuples monotonically","user":{"login":"antifuchs","id":11864,"avatar_url":"https://avatars.githubusercontent.com/u/11864?v=3","gravatar_id":"","url":"https://api.github.com/users/antifuchs","html_url":"https://github.com/antifuchs","followers_url":"https://api.github.com/users/antifuchs/followers","following_url":"https://api.github.com/users/antifuchs/following{/other_user}","gists_url":"https://api.github.com/users/antifuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/antifuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antifuchs/subscriptions","organizations_url":"https://api.github.com/users/antifuchs/orgs","repos_url":"https://api.github.com/users/antifuchs/repos","events_url":"https://api.github.com/users/antifuchs/events{/privacy}","received_events_url":"https://api.github.com/users/antifuchs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gphat","id":45159,"avatar_url":"https://avatars.githubusercontent.com/u/45159?v=3","gravatar_id":"","url":"https://api.github.com/users/gphat","html_url":"https://github.com/gphat","followers_url":"https://api.github.com/users/gphat/followers","following_url":"https://api.github.com/users/gphat/following{/other_user}","gists_url":"https://api.github.com/users/gphat/gists{/gist_id}","starred_url":"https://api.github.com/users/gphat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gphat/subscriptions","organizations_url":"https://api.github.com/users/gphat/orgs","repos_url":"https://api.github.com/users/gphat/repos","events_url":"https://api.github.com/users/gphat/events{/privacy}","received_events_url":"https://api.github.com/users/gphat/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-06-20T23:43:18Z","updated_at":"2016-06-21T16:04:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-datadog-checks/pulls/21","html_url":"https://github.com/stripe/stripe-datadog-checks/pull/21","diff_url":"https://github.com/stripe/stripe-datadog-checks/pull/21.diff","patch_url":"https://github.com/stripe/stripe-datadog-checks/pull/21.patch"},"body":"We were emitting them as gauges before, but that's incorrect - the tuples come in as a total over the lifetime of the topology (which means we probably want monotonic counters). This PR adjusts that.\r\n\r\n(Also, fix error reporting as my tests in QA revealed that the cache job can in fact error out (-:)"},"comment":{"url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/comments/227488077","html_url":"https://github.com/stripe/stripe-datadog-checks/pull/21#issuecomment-227488077","issue_url":"https://api.github.com/repos/stripe/stripe-datadog-checks/issues/21","id":227488077,"user":{"login":"gphat","id":45159,"avatar_url":"https://avatars.githubusercontent.com/u/45159?v=3","gravatar_id":"","url":"https://api.github.com/users/gphat","html_url":"https://github.com/gphat","followers_url":"https://api.github.com/users/gphat/followers","following_url":"https://api.github.com/users/gphat/following{/other_user}","gists_url":"https://api.github.com/users/gphat/gists{/gist_id}","starred_url":"https://api.github.com/users/gphat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gphat/subscriptions","organizations_url":"https://api.github.com/users/gphat/orgs","repos_url":"https://api.github.com/users/gphat/repos","events_url":"https://api.github.com/users/gphat/events{/privacy}","received_events_url":"https://api.github.com/users/gphat/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T16:04:04Z","updated_at":"2016-06-21T16:04:04Z","body":"👍 \r\n\r\nI think we do want them here. Amusingly this follows a regular patter for me too:\r\n* Ship an integration\r\n* Look at metrics\r\n* Send a follow-up PR converting things to `monotonic_count`\r\n\r\nI wonder why we always miss them? :)\r\n\r\nAlso, insert joke here about using a dict of `MONOTONIC_COUNTERS` and then you :tableflip:ing about metaprogramming. :)"}}
{"actor":{"display_login":"gphat"}}