I want to do a filter in prometheus based on all labels. Say if my labels in prometheus are instance, cpu, mode for the query node_cpu_seconds_total, i want to do an operation like,
input = ".*abc.*"
node_cpu_seconds_total{instance=~".*abc.*" or mode=~".*abc.*" or cpu=~".*abc.*"}
Basically i want my regex to be compared with all label values . Is there any solution to achieve this?