{"action":"created","issue":{"url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/16","repository_url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle","labels_url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/16/comments","events_url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/16/events","html_url":"https://github.com/jochen-schweizer/express-prom-bundle/issues/16","id":353547424,"node_id":"MDU6SXNzdWUzNTM1NDc0MjQ=","number":16,"title":"Missing support for node cluster","user":{"login":"swimmadude66","id":2327198,"node_id":"MDQ6VXNlcjIzMjcxOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2327198?v=4","gravatar_id":"","url":"https://api.github.com/users/swimmadude66","html_url":"https://github.com/swimmadude66","followers_url":"https://api.github.com/users/swimmadude66/followers","following_url":"https://api.github.com/users/swimmadude66/following{/other_user}","gists_url":"https://api.github.com/users/swimmadude66/gists{/gist_id}","starred_url":"https://api.github.com/users/swimmadude66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swimmadude66/subscriptions","organizations_url":"https://api.github.com/users/swimmadude66/orgs","repos_url":"https://api.github.com/users/swimmadude66/repos","events_url":"https://api.github.com/users/swimmadude66/events{/privacy}","received_events_url":"https://api.github.com/users/swimmadude66/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-23T20:48:02Z","updated_at":"2018-08-23T22:12:45Z","closed_at":null,"author_association":"NONE","body":"When running a node API with [cluster](https://nodejs.org/api/cluster.html#cluster_cluster), the bundle will only report metrics for the worker which served the specific `/metrics` request.\r\n\r\n`prom-client` addressed this in [prom-client#82](https://github.com/siimon/prom-client/issues/82). It seems this middleware should have another config option which indicates usage in a clustered environment, and reports aggregated metrics instead."},"comment":{"url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/comments/415587712","html_url":"https://github.com/jochen-schweizer/express-prom-bundle/issues/16#issuecomment-415587712","issue_url":"https://api.github.com/repos/jochen-schweizer/express-prom-bundle/issues/16","id":415587712,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTU4NzcxMg==","user":{"login":"swimmadude66","id":2327198,"node_id":"MDQ6VXNlcjIzMjcxOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2327198?v=4","gravatar_id":"","url":"https://api.github.com/users/swimmadude66","html_url":"https://github.com/swimmadude66","followers_url":"https://api.github.com/users/swimmadude66/followers","following_url":"https://api.github.com/users/swimmadude66/following{/other_user}","gists_url":"https://api.github.com/users/swimmadude66/gists{/gist_id}","starred_url":"https://api.github.com/users/swimmadude66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swimmadude66/subscriptions","organizations_url":"https://api.github.com/users/swimmadude66/orgs","repos_url":"https://api.github.com/users/swimmadude66/repos","events_url":"https://api.github.com/users/swimmadude66/events{/privacy}","received_events_url":"https://api.github.com/users/swimmadude66/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T22:12:45Z","updated_at":"2018-08-23T22:12:45Z","author_association":"NONE","body":"I am running it currently and it appears to work, but will look in to adding unit tests tomorrow morning. I tried to match your code style, so let me know if you see anything funky.  My PR also has the example given for using it in the readme"}}
{"actor":{"display_login":"swimmadude66"}}