# Using CloudWatch metric aliases in a panel title

**URL:** <https://community.grafana.com/t/using-cloudwatch-metric-aliases-in-a-panel-title/19389>\
**Category:** Grafana\
**Created:** [July 17, 2019, 2:01am UTC](https://community.grafana.com/t/using-cloudwatch-metric-aliases-in-a-panel-title/19389 "2019-07-17T02:01:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaiserbeto](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kaiserbeto](https://community.grafana.com/u/kaiserbeto)\
**Post date:** [July 17, 2019, 2:01am UTC](https://community.grafana.com/t/using-cloudwatch-metric-aliases-in-a-panel-title/19389/1 "2019-07-17T02:01:03Z")

</div>

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!
