CloudWatch tags as alias


I am building a series of dashboards to monitor some apps from cloudwatch, everything works very well, but I would like to obtain the following, I want a tag to be used in the name of the metrics, and that way I can easily know to which app each instance belongs, is this possible?

No, that’s not possible because CloudWatch metric API doesn’t return tag values.

Thank jangaraj for you time,

Is there any recommended approach? because what I’m using doesn’t like me,
I am using templating, and I have the following:

I am using repeating with rows for each app, but in each row, the instances are repeating. So for example in a row for the xxx application, I’m getting instances for the xxx and yyy application.