prometheus/prometheus — pull request #134 by bernerdschaefer (2013-04-12 12:53:53+00:00)
Title: Set job label for targets registered through the API

This is set when jobs are statically registered (see
[retrieval/targetmanager.go](https://github.com/prometheus/prometheus/blob/master/retrieval/targetmanager.go#L92)), and should be set here, too.