Fix stubbing of Prometheus queries for IPv6 addresses

What does this MR do and why?

On some hosts, localhost may be [::1] instead of ::1. Relax the regular expression to work with either case.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports

Loading