mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 15:43:23 -06:00
Merge pull request #9753 from mtanda/cw_period
(cloudwatch) add period alias
This commit is contained in:
commit
c783bdac39
@ -287,6 +287,7 @@ func formatAlias(query *CloudWatchQuery, stat string, dimensions map[string]stri
|
||||
data["namespace"] = query.Namespace
|
||||
data["metric"] = query.MetricName
|
||||
data["stat"] = stat
|
||||
data["period"] = strconv.Itoa(query.Period)
|
||||
for k, v := range dimensions {
|
||||
data[k] = v
|
||||
}
|
||||
|
@ -49,6 +49,7 @@
|
||||
<li>{{stat}}</li>
|
||||
<li>{{namespace}}</li>
|
||||
<li>{{region}}</li>
|
||||
<li>{{period}}</li>
|
||||
<li>{{YOUR_DIMENSION_NAME}}</li>
|
||||
</ul>
|
||||
</info-popover>
|
||||
|
Loading…
Reference in New Issue
Block a user