{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13","id":230259923,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMjU5OTIz","html_url":"https://github.com/sapcc/mosquitto-exporter/pull/13","diff_url":"https://github.com/sapcc/mosquitto-exporter/pull/13.diff","patch_url":"https://github.com/sapcc/mosquitto-exporter/pull/13.patch","issue_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/13","number":13,"state":"open","locked":false,"title":"Replacing dash in metrics name","user":{"login":"tomac","id":130437,"node_id":"MDQ6VXNlcjEzMDQzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/130437?v=4","gravatar_id":"","url":"https://api.github.com/users/tomac","html_url":"https://github.com/tomac","followers_url":"https://api.github.com/users/tomac/followers","following_url":"https://api.github.com/users/tomac/following{/other_user}","gists_url":"https://api.github.com/users/tomac/gists{/gist_id}","starred_url":"https://api.github.com/users/tomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomac/subscriptions","organizations_url":"https://api.github.com/users/tomac/orgs","repos_url":"https://api.github.com/users/tomac/repos","events_url":"https://api.github.com/users/tomac/events{/privacy}","received_events_url":"https://api.github.com/users/tomac/received_events","type":"User","site_admin":false},"body":"Mosquitto allows the use of the '-' character in topic names. We have a topic name with a '-' and the mosquitto exporter fails when creating the Prometheus metric because it does allow the '-' character.","created_at":"2018-11-12T20:32:31Z","updated_at":"2018-11-12T20:32:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13/commits","review_comments_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13/comments","review_comment_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/13/comments","statuses_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/statuses/5836fc67e0fe9735773504a432e7cd1b1398f6ba","head":{"label":"tomac:master","ref":"master","sha":"5836fc67e0fe9735773504a432e7cd1b1398f6ba","user":{"login":"tomac","id":130437,"node_id":"MDQ6VXNlcjEzMDQzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/130437?v=4","gravatar_id":"","url":"https://api.github.com/users/tomac","html_url":"https://github.com/tomac","followers_url":"https://api.github.com/users/tomac/followers","following_url":"https://api.github.com/users/tomac/following{/other_user}","gists_url":"https://api.github.com/users/tomac/gists{/gist_id}","starred_url":"https://api.github.com/users/tomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomac/subscriptions","organizations_url":"https://api.github.com/users/tomac/orgs","repos_url":"https://api.github.com/users/tomac/repos","events_url":"https://api.github.com/users/tomac/events{/privacy}","received_events_url":"https://api.github.com/users/tomac/received_events","type":"User","site_admin":false},"repo":{"id":157272555,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyNzI1NTU=","name":"mosquitto-exporter","full_name":"tomac/mosquitto-exporter","private":false,"owner":{"login":"tomac","id":130437,"node_id":"MDQ6VXNlcjEzMDQzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/130437?v=4","gravatar_id":"","url":"https://api.github.com/users/tomac","html_url":"https://github.com/tomac","followers_url":"https://api.github.com/users/tomac/followers","following_url":"https://api.github.com/users/tomac/following{/other_user}","gists_url":"https://api.github.com/users/tomac/gists{/gist_id}","starred_url":"https://api.github.com/users/tomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomac/subscriptions","organizations_url":"https://api.github.com/users/tomac/orgs","repos_url":"https://api.github.com/users/tomac/repos","events_url":"https://api.github.com/users/tomac/events{/privacy}","received_events_url":"https://api.github.com/users/tomac/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tomac/mosquitto-exporter","description":"Prometheus metrics exporter for the Mosquitto message broker","fork":true,"url":"https://api.github.com/repos/tomac/mosquitto-exporter","forks_url":"https://api.github.com/repos/tomac/mosquitto-exporter/forks","keys_url":"https://api.github.com/repos/tomac/mosquitto-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomac/mosquitto-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomac/mosquitto-exporter/teams","hooks_url":"https://api.github.com/repos/tomac/mosquitto-exporter/hooks","issue_events_url":"https://api.github.com/repos/tomac/mosquitto-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/tomac/mosquitto-exporter/events","assignees_url":"https://api.github.com/repos/tomac/mosquitto-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/tomac/mosquitto-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/tomac/mosquitto-exporter/tags","blobs_url":"https://api.github.com/repos/tomac/mosquitto-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomac/mosquitto-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomac/mosquitto-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomac/mosquitto-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomac/mosquitto-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/tomac/mosquitto-exporter/languages","stargazers_url":"https://api.github.com/repos/tomac/mosquitto-exporter/stargazers","contributors_url":"https://api.github.com/repos/tomac/mosquitto-exporter/contributors","subscribers_url":"https://api.github.com/repos/tomac/mosquitto-exporter/subscribers","subscription_url":"https://api.github.com/repos/tomac/mosquitto-exporter/subscription","commits_url":"https://api.github.com/repos/tomac/mosquitto-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomac/mosquitto-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomac/mosquitto-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomac/mosquitto-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomac/mosquitto-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/tomac/mosquitto-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomac/mosquitto-exporter/merges","archive_url":"https://api.github.com/repos/tomac/mosquitto-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomac/mosquitto-exporter/downloads","issues_url":"https://api.github.com/repos/tomac/mosquitto-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/tomac/mosquitto-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/tomac/mosquitto-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/tomac/mosquitto-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomac/mosquitto-exporter/labels{/name}","releases_url":"https://api.github.com/repos/tomac/mosquitto-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/tomac/mosquitto-exporter/deployments","created_at":"2018-11-12T20:29:26Z","updated_at":"2018-11-12T20:31:13Z","pushed_at":"2018-11-12T20:31:11Z","git_url":"git://github.com/tomac/mosquitto-exporter.git","ssh_url":"git@github.com:tomac/mosquitto-exporter.git","clone_url":"https://github.com/tomac/mosquitto-exporter.git","svn_url":"https://github.com/tomac/mosquitto-exporter","homepage":"","size":296,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sapcc:master","ref":"master","sha":"4357b2d042a55891f08a15581ca06465bdac6e4b","user":{"login":"sapcc","id":4242847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNDI4NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/4242847?v=4","gravatar_id":"","url":"https://api.github.com/users/sapcc","html_url":"https://github.com/sapcc","followers_url":"https://api.github.com/users/sapcc/followers","following_url":"https://api.github.com/users/sapcc/following{/other_user}","gists_url":"https://api.github.com/users/sapcc/gists{/gist_id}","starred_url":"https://api.github.com/users/sapcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapcc/subscriptions","organizations_url":"https://api.github.com/users/sapcc/orgs","repos_url":"https://api.github.com/users/sapcc/repos","events_url":"https://api.github.com/users/sapcc/events{/privacy}","received_events_url":"https://api.github.com/users/sapcc/received_events","type":"Organization","site_admin":false},"repo":{"id":82043529,"node_id":"MDEwOlJlcG9zaXRvcnk4MjA0MzUyOQ==","name":"mosquitto-exporter","full_name":"sapcc/mosquitto-exporter","private":false,"owner":{"login":"sapcc","id":4242847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNDI4NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/4242847?v=4","gravatar_id":"","url":"https://api.github.com/users/sapcc","html_url":"https://github.com/sapcc","followers_url":"https://api.github.com/users/sapcc/followers","following_url":"https://api.github.com/users/sapcc/following{/other_user}","gists_url":"https://api.github.com/users/sapcc/gists{/gist_id}","starred_url":"https://api.github.com/users/sapcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapcc/subscriptions","organizations_url":"https://api.github.com/users/sapcc/orgs","repos_url":"https://api.github.com/users/sapcc/repos","events_url":"https://api.github.com/users/sapcc/events{/privacy}","received_events_url":"https://api.github.com/users/sapcc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sapcc/mosquitto-exporter","description":"Prometheus metrics exporter for the Mosquitto message broker","fork":false,"url":"https://api.github.com/repos/sapcc/mosquitto-exporter","forks_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/forks","keys_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/teams","hooks_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/hooks","issue_events_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/events","assignees_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/tags","blobs_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/languages","stargazers_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/stargazers","contributors_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/contributors","subscribers_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/subscribers","subscription_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/subscription","commits_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/merges","archive_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/downloads","issues_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/labels{/name}","releases_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/sapcc/mosquitto-exporter/deployments","created_at":"2017-02-15T09:31:28Z","updated_at":"2018-11-09T15:06:20Z","pushed_at":"2018-06-11T11:21:32Z","git_url":"git://github.com/sapcc/mosquitto-exporter.git","ssh_url":"git@github.com:sapcc/mosquitto-exporter.git","clone_url":"https://github.com/sapcc/mosquitto-exporter.git","svn_url":"https://github.com/sapcc/mosquitto-exporter","homepage":"","size":296,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13"},"html":{"href":"https://github.com/sapcc/mosquitto-exporter/pull/13"},"issue":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/13"},"comments":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/sapcc/mosquitto-exporter/statuses/5836fc67e0fe9735773504a432e7cd1b1398f6ba"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"tomac"}}