{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/4055","repository_url":"https://api.github.com/repos/matrix-org/synapse","labels_url":"https://api.github.com/repos/matrix-org/synapse/issues/4055/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/4055/comments","events_url":"https://api.github.com/repos/matrix-org/synapse/issues/4055/events","html_url":"https://github.com/matrix-org/synapse/issues/4055","id":371427792,"node_id":"MDU6SXNzdWUzNzE0Mjc3OTI=","number":4055,"title":"CPU metrics can sometimes have a negative CPU time (???)","user":{"login":"hawkowl","id":3307100,"node_id":"MDQ6VXNlcjMzMDcxMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/3307100?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkowl","html_url":"https://github.com/hawkowl","followers_url":"https://api.github.com/users/hawkowl/followers","following_url":"https://api.github.com/users/hawkowl/following{/other_user}","gists_url":"https://api.github.com/users/hawkowl/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkowl/subscriptions","organizations_url":"https://api.github.com/users/hawkowl/orgs","repos_url":"https://api.github.com/users/hawkowl/repos","events_url":"https://api.github.com/users/hawkowl/events{/privacy}","received_events_url":"https://api.github.com/users/hawkowl/received_events","type":"User","site_admin":false},"labels":[{"id":121086029,"node_id":"MDU6TGFiZWwxMjEwODYwMjk=","url":"https://api.github.com/repos/matrix-org/synapse/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"hawkowl","id":3307100,"node_id":"MDQ6VXNlcjMzMDcxMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/3307100?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkowl","html_url":"https://github.com/hawkowl","followers_url":"https://api.github.com/users/hawkowl/followers","following_url":"https://api.github.com/users/hawkowl/following{/other_user}","gists_url":"https://api.github.com/users/hawkowl/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkowl/subscriptions","organizations_url":"https://api.github.com/users/hawkowl/orgs","repos_url":"https://api.github.com/users/hawkowl/repos","events_url":"https://api.github.com/users/hawkowl/events{/privacy}","received_events_url":"https://api.github.com/users/hawkowl/received_events","type":"User","site_admin":false},"assignees":[{"login":"hawkowl","id":3307100,"node_id":"MDQ6VXNlcjMzMDcxMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/3307100?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkowl","html_url":"https://github.com/hawkowl","followers_url":"https://api.github.com/users/hawkowl/followers","following_url":"https://api.github.com/users/hawkowl/following{/other_user}","gists_url":"https://api.github.com/users/hawkowl/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkowl/subscriptions","organizations_url":"https://api.github.com/users/hawkowl/orgs","repos_url":"https://api.github.com/users/hawkowl/repos","events_url":"https://api.github.com/users/hawkowl/events{/privacy}","received_events_url":"https://api.github.com/users/hawkowl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-10-18T08:58:55Z","updated_at":"2018-10-20T00:49:54Z","closed_at":"2018-10-19T11:03:50Z","author_association":"CONTRIBUTOR","body":"```\r\nTraceback (most recent call last):\r\n  File \"/home/matrix/synapse/synapse/metrics/__init__.py\", line 64, in collect\r\n    calls = self.caller()\r\n  File \"/home/matrix/synapse/synapse/http/request_metrics.py\", line 131, in _get_in_flight_counts\r\n    rm.update_metrics()\r\n  File \"/home/matrix/synapse/synapse/http/request_metrics.py\", line 225, in update_metrics\r\n    in_flight_requests_ru_utime.labels(self.method, self.name).inc(diff.ru_utime)\r\n  File \"/home/matrix/.synapse-py3/lib/python3.6/site-packages/prometheus_client/core.py\", line 672, in inc\r\n    raise ValueError('Counters can only be incremented by non-negative amounts.')\r\nValueError: Counters can only be incremented by non-negative amounts.\r\n```"},"comment":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/comments/431534868","html_url":"https://github.com/matrix-org/synapse/issues/4055#issuecomment-431534868","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/4055","id":431534868,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTUzNDg2OA==","user":{"login":"hawkowl","id":3307100,"node_id":"MDQ6VXNlcjMzMDcxMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/3307100?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkowl","html_url":"https://github.com/hawkowl","followers_url":"https://api.github.com/users/hawkowl/followers","following_url":"https://api.github.com/users/hawkowl/following{/other_user}","gists_url":"https://api.github.com/users/hawkowl/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkowl/subscriptions","organizations_url":"https://api.github.com/users/hawkowl/orgs","repos_url":"https://api.github.com/users/hawkowl/repos","events_url":"https://api.github.com/users/hawkowl/events{/privacy}","received_events_url":"https://api.github.com/users/hawkowl/received_events","type":"User","site_admin":false},"created_at":"2018-10-20T00:49:54Z","updated_at":"2018-10-20T00:49:54Z","author_association":"CONTRIBUTOR","body":"`max(0, cpu_time)` because TIME ISN'T LINEAR YAYYYY"}}
{"actor":{"display_login":"hawkowl"}}