do something like the following:
label_replace(up, "short_hostname", "$1", "instance", "(.+):(\\d+)")
Then put {{short_hostname}} in the legend field in Grafana
do something like the following:
label_replace(up, "short_hostname", "$1", "instance", "(.+):(\\d+)")
Then put {{short_hostname}} in the legend field in Grafana
Use a command similar to the following from a linux command line.
curl -X POST -g 'http://192.168.1.114:9090/api/v1/admin/tsdb/delete_series?match[]={instance="oracle1"}'