Prometheus $instance substitution


I’m using a MySQL Overview Dashboard but the OS information doesn’t work.

To display the Load metrics it’s using node_load1{instance="$host"}
But $host is “myhost:9104” and the node_load1 would come from “myhost:9100”

Is there a way to do some sort of regex replace to replace the 9104 with 9100
ie regex(/(.*):(\d{4}/\1:9100)


have you tried changing the variables in the dashboard settings? you should be able to reset them there…