{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/pushgateway/issues/18","labels_url":"https://api.github.com/repos/prometheus/pushgateway/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/pushgateway/issues/18/comments","events_url":"https://api.github.com/repos/prometheus/pushgateway/issues/18/events","html_url":"https://github.com/prometheus/pushgateway/issues/18","id":56015205,"number":18,"title":"Consider not assigning an instance label if none is requested","user":{"login":"beorn7","id":5609886,"avatar_url":"https://avatars.githubusercontent.com/u/5609886?v=3","gravatar_id":"","url":"https://api.github.com/users/beorn7","html_url":"https://github.com/beorn7","followers_url":"https://api.github.com/users/beorn7/followers","following_url":"https://api.github.com/users/beorn7/following{/other_user}","gists_url":"https://api.github.com/users/beorn7/gists{/gist_id}","starred_url":"https://api.github.com/users/beorn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beorn7/subscriptions","organizations_url":"https://api.github.com/users/beorn7/orgs","repos_url":"https://api.github.com/users/beorn7/repos","events_url":"https://api.github.com/users/beorn7/events{/privacy}","received_events_url":"https://api.github.com/users/beorn7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T10:08:49Z","updated_at":"2015-01-30T12:09:20Z","closed_at":null,"body":"Currently, we add the ip number:\r\nhttps://github.com/prometheus/pushgateway/blob/master/handler/push.go#L55\r\n\r\nCf. https://github.com/prometheus/prometheus/issues/490"},"comment":{"url":"https://api.github.com/repos/prometheus/pushgateway/issues/comments/72191972","html_url":"https://github.com/prometheus/pushgateway/issues/18#issuecomment-72191972","issue_url":"https://api.github.com/repos/prometheus/pushgateway/issues/18","id":72191972,"user":{"login":"beorn7","id":5609886,"avatar_url":"https://avatars.githubusercontent.com/u/5609886?v=3","gravatar_id":"","url":"https://api.github.com/users/beorn7","html_url":"https://github.com/beorn7","followers_url":"https://api.github.com/users/beorn7/followers","following_url":"https://api.github.com/users/beorn7/following{/other_user}","gists_url":"https://api.github.com/users/beorn7/gists{/gist_id}","starred_url":"https://api.github.com/users/beorn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beorn7/subscriptions","organizations_url":"https://api.github.com/users/beorn7/orgs","repos_url":"https://api.github.com/users/beorn7/repos","events_url":"https://api.github.com/users/beorn7/events{/privacy}","received_events_url":"https://api.github.com/users/beorn7/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T12:09:20Z","updated_at":"2015-01-30T12:09:20Z","body":"Currently, everything in the pushgateway is grouped by job/instance tuples... So not having an instance label needs some thinking. Probably treat an empty instance label as 'no label' (and do not export it in that case) so that all metrics with only a job label are in the same group then."}}