Hi again,
I want to monitor the number of unhealthy hosts in a Load Balancer.
From the AWS-CLI I all datapoints for the specified time period I want
But, from Grafana, the result is empty, indicating that something is wrong in the query.
Here is what I have:
xhrStatus:"complete"
request:Object
method:"POST"
url:"api/tsdb/query"
data:Object
from:"1541023200000"
to:"1543615199999"
queries:Array[1]
0:Object
refId:"A_app/My-Load-Balancer/b7aaeasd36a9d9f0"
intervalMs:21600000
maxDataPoints:100
datasourceId:5
type:"timeSeriesQuery"
namespace:"AWS/ApplicationELB"
metricName:"UnHealthyHostCount"
statistics:Array[1]
0:"Average"
dimensions:Object
LoadBalancer:"app/My-Load-Balancer/b7aaeasd36a9d9f0"
TargetGroup:"{targetgroup/My-TargetGroup/b7asdwsd36a9d9f0}"
period:"1800"
region:"eu-west-1"
id:""
expression:""
returnData:true
highResolution:false
response:Object
results:Object
A_app/My-Load-Balancer/b7aaeasd36a9d9f0:Object
refId:"A_app/My-Load-Balancer/b7aaeasd36a9d9f0"
meta:Object
series:Array[1]
0:Object
name:"UnHealthyHostCount_Average"
points:Array[0]
tags:Object
LoadBalancer:"app/My-Load-Balancer/b7aaeasd36a9d9f0"
TargetGroup:"{targetgroup/My-TargetGroup/b7asdwsd36a9d9f0}"
tables:null
So, effectively, no data.
The query is created as:
However, when I run it with the same data from the CLI I get all data.
Do you see any issue with the query?