Using CloudWatch metric aliases in a panel title

Is there a way to use an alias, ie - {{ metric }} or {{ stat }} as a panel title variable?

What i’m trying to accomplish is:

Using AWS CloudWatch Datasource with Grafana 6.3 Beta and repeating rows with DocumentDB Clusters.

cluster variable = api-production
metrics = CPUUtilization, Connections, and so on

I’d like the per panel titles to look like (using repeating rows)

$cluster.{{ metric }}:
api-production.CPUUtilization
api-production.Connections

Is this possible? If I try to use {{ metric }} in the panel title it just treats it as a literal and does not expand the same way as a variable

Thanks!

2 Likes