Added rescue block for the test method for the prometheus service
What does this MR do?
Fixes an ongoing issue with testing the prometheus integration with a nonvalid url
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
closes #31451 (closed)