payload: {"action":"created","issue":{"url":"https://api.github.com/repos/dask/distributed/issues/2544","repository_url":"https://api.github.com/repos/dask/distributed","labels_url":"https://api.github.com/repos/dask/distributed/issues/2544/labels{/name}","comments_url":"https://api.github.com/repos/dask/distributed/issues/2544/comments","events_url":"https://api.github.com/repos/dask/distributed/issues/2544/events","html_url":"https://github.com/dask/distributed/pull/2544","id":415114584,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2NjcxOTkx","number":2544,"title":"fix double init of prometheus metrics","user":{"login":"crepererum","id":1529400,"node_id":"MDQ6VXNlcjE1Mjk0MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1529400?v=4","gravatar_id":"","url":"https://api.github.com/users/crepererum","html_url":"https://github.com/crepererum","followers_url":"https://api.github.com/users/crepererum/followers","following_url":"https://api.github.com/users/crepererum/following{/other_user}","gists_url":"https://api.github.com/users/crepererum/gists{/gist_id}","starred_url":"https://api.github.com/users/crepererum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crepererum/subscriptions","organizations_url":"https://api.github.com/users/crepererum/orgs","repos_url":"https://api.github.com/users/crepererum/repos","events_url":"https://api.github.com/users/crepererum/events{/privacy}","received_events_url":"https://api.github.com/users/crepererum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-02-27T13:04:57Z","updated_at":"2019-03-04T18:09:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dask/distributed/pulls/2544","html_url":"https://github.com/dask/distributed/pull/2544","diff_url":"https://github.com/dask/distributed/pull/2544.diff","patch_url":"https://github.com/dask/distributed/pull/2544.patch"},"body":"Tornado handlers might be initaliazed multiple times within the same\r\npython interpreter process. Adding new prometheus gauges/counters\r\nevery time leads to `ValueError: Duplicated timeseries` errors because\r\n`prometheus_client` has one single, global registry to track all known\r\nmetrics. Instead, use a class-level singelton instead."},"comment":{"url":"https://api.github.com/repos/dask/distributed/issues/comments/469355607","html_url":"https://github.com/dask/distributed/pull/2544#issuecomment-469355607","issue_url":"https://api.github.com/repos/dask/distributed/issues/2544","id":469355607,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2OTM1NTYwNw==","user":{"login":"mrocklin","id":306380,"node_id":"MDQ6VXNlcjMwNjM4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/306380?v=4","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2019-03-04T18:09:04Z","updated_at":"2019-03-04T18:09:04Z","author_association":"MEMBER","body":"Great.  Thanks @crepererum for the fix and @StephanErb for the review!\r\n\r\nMerging."}}
other: {"actor":{"display_login":"mrocklin"}}