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
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/prometheus-users/4b09c6c9-4067-498a-8f89-37ba3c1c55f1n%40googlegroups.com.