[prometheus-users] Re: job label missing from discoveredLabels (prometheus v2.42.0)

2024-05-31 Thread 'Brian Candler' via Prometheus Users
I don't see this with v2.45.5, and I'm also concerned about why "app": "another-testapp" occurs in one of your discoveredLabels. I suggest you try that, and/or the latests v2.52.1 (you can of course set up a completely separate instance but point it to the same service discovery source) and see

[prometheus-users] job label missing from discoveredLabels (prometheus v2.42.0)

2024-05-31 Thread Vu Nguyen
Hi all, We have a test code that reads target metadata info and job label name from `discoveredLabels` list. That list is included in the response we get from '/api/v1/targets' endpoint. During the test, we noticed that the response from target endpoint is inconsistent: the job label sometimes