Stackdriver agent Metrics filtering by instance name rather than ID on GCP compute instances


In the past when i have used stackdriver as a data source i have been able to filter by metric.label.instance_name, However when using Agent as the service i am only able to filter by resource.label.instance_id is there a workaround for this or method to show the instance name alongside the ID as i can see in the stackdriver documentation is the metric in question.


I have the same question, can anyone help please? Thank you.