CloudWatch data absent in Grafana

Hi,

I’m trying to build graph on Grafana 5.0.0-11596pre1 and use CloudWatch datasource. Using Grafan for building application log graph I want to combine with AWS metric to get whole picture. When I check data I found that some metrics fetch correct, but some absent. I can build graphs for ECS (domain, not service), ELB, EC2, SQS. But most of data absent - ECS services, CloudFront, DynamoDB, ES, S3. For some services I can see dimensions, it fetch entities name (ES domains for example), for some no even such info. There are no error logs in log files regarding this.

I checked all the CloudWatch data I want to see in Grafana and it’s displayed correctly on in AWS console.

Just as example ECS service level info:

xhrStatus:"complete"
request:Object
method:"POST"
url:"api/tsdb/query"
data:Object
from:"1518093250379"
to:"1518179650379"
queries:Array[1]
0:Object
refId:"A"
intervalMs:60000
maxDataPoints:1367
datasourceId:2
type:"timeSeriesQuery"
dimensions:Object
ServiceName:"Service-7M42HQQCEJ1E"
metricName:"MemoryUtilization"
namespace:"AWS/ECS"
period:"60"
region:"us-west-2"
statistics:Array[1]
0:"Average"
response:Object
results:Object
A:Object
refId:"A"
series:Array[1]
0:Object
name:"MemoryUtilization_Average"
points:Array[0]
tags:Object
ServiceName:"Service-7M42HQQCEJ1E"
tables:null

For ECS domain everything work well. Also there is no data for Dynamo DB, ElasticSearch. Could you help to understand what’s wrong here?

Hi @dimakievua,

I am trying to do graphs for, cloud watch logs, but I am getting error at custom metrics.

what name should I give in custom metrics. (or) custom metrics is not at all a problem.

My keys has full access to cloudwatch logs.

Can you help me on this ?

One more question, do I have to use any database here. (if that’s true we don’t need keys). Just curious.