Commit 515bb4e6 authored by Committed by Yorick Peterse
Check validity of prometheus_service before query
Check validity before querying so that if the dns entry for the api_url has been changed to something invalid after the model was saved and checked for validity, it will not query. This is to solve a toctou (time of check to time of use) issue.
Showing with 53 additions and 19 deletions