{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/908","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/908/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/908/events","html_url":"https://github.com/prometheus/prometheus/issues/908","id":96161681,"number":908,"title":"Static labels for scape jobs","user":{"login":"mattkanwisher","id":3032,"avatar_url":"https://avatars.githubusercontent.com/u/3032?v=3","gravatar_id":"","url":"https://api.github.com/users/mattkanwisher","html_url":"https://github.com/mattkanwisher","followers_url":"https://api.github.com/users/mattkanwisher/followers","following_url":"https://api.github.com/users/mattkanwisher/following{/other_user}","gists_url":"https://api.github.com/users/mattkanwisher/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkanwisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkanwisher/subscriptions","organizations_url":"https://api.github.com/users/mattkanwisher/orgs","repos_url":"https://api.github.com/users/mattkanwisher/repos","events_url":"https://api.github.com/users/mattkanwisher/events{/privacy}","received_events_url":"https://api.github.com/users/mattkanwisher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-20T21:15:05Z","updated_at":"2015-07-21T14:04:01Z","closed_at":"2015-07-21T14:04:01Z","body":"We do discovery of our scrape jobs by using dns_sd_configs, however whats really awkward is we have some static labels that we want to apply to all the machines in the group. We end up having to do relabeling with some strange regexes when all we wanted was just labels. Would you guys be open to taking a pull request in the future that introduces labels at the job level? Or is the are reason you don't do it?"},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/123320637","html_url":"https://github.com/prometheus/prometheus/issues/908#issuecomment-123320637","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/908","id":123320637,"user":{"login":"mattkanwisher","id":3032,"avatar_url":"https://avatars.githubusercontent.com/u/3032?v=3","gravatar_id":"","url":"https://api.github.com/users/mattkanwisher","html_url":"https://github.com/mattkanwisher","followers_url":"https://api.github.com/users/mattkanwisher/followers","following_url":"https://api.github.com/users/mattkanwisher/following{/other_user}","gists_url":"https://api.github.com/users/mattkanwisher/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkanwisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkanwisher/subscriptions","organizations_url":"https://api.github.com/users/mattkanwisher/orgs","repos_url":"https://api.github.com/users/mattkanwisher/repos","events_url":"https://api.github.com/users/mattkanwisher/events{/privacy}","received_events_url":"https://api.github.com/users/mattkanwisher/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T14:04:01Z","updated_at":"2015-07-21T14:04:01Z","body":"Nice that cleaned up my config a whole lot. I can live this you just posted. It seems strange to me that their are different options in the hierarchy but it doesn't seem worth much more investment at this point. Thanks!"}}