I am looking into upgrading to prometheus 3 and stumbled across an issue with the service discovery UI. For some scrape pools i get the error:
Error: Received target information for an unknown scrape pool, likely the list of scrape pools has changed. Please reload the page.
After digging around a bit in the java-script I suspect that the issue is caused by me setting a `job` label in file_sd configs breaking the `s[u]` lookup in this code since my custom job label is not a valid key.
```
for (const c of n) {
const {job: u} = c.discoveredLabels
, d = s[u];
if (!d)
throw new Error("Received target information for an unknown scrape pool, likely the list of scrape pools has changed. Please reload the page.");
d.total++
}
const o = i.length !==
```
Am I correct with this? If so, is there any way I can use a custom `job` label or is that something that should not be done?
Cheers
Christoph