Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore errors with LabelNames #449

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

github-antonin-ferrand
Copy link

Hello,

If I am not mistaken there is a missing method to swallow errors from LabelNames.

Without this fix I had this kind of errors in Grafana when doing queries using labels API with a failed server group.

{"status":"error","errorType":"execution","error":"Get \"http://promxy-data:8082/api/v1/labels?end=9223309901257974\u0026start=-9223309901257974\": dial tcp: lookup promxy-data on 172.20.0.10:53: no such host"}

@github-antonin-ferrand github-antonin-ferrand changed the title Ignore errors with LabelNames queries Ignore errors with LabelNames Jul 13, 2021
@jacksontj jacksontj merged commit 94363d6 into jacksontj:master Jul 16, 2021
@jacksontj
Copy link
Owner

Thanks for the fix! I'm changing a few of the classes such that the compiler should catch these in the future -- #450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants