WARNING: The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string. WARNING: The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.
Hey @cregev. Yes, I've added more checks for a single ressource. I've seen and tested your example configuration (https://files.gitter.im/5f0b4e52d73408ce4fe963a0/vbww/image.png). When I list the EC2 resource two times like in your example I only get the latest/2nd (in this case ConsumedReadCapacityUnits) metric evaluated. The first doesn't show up in the UI, even though it should.
When I put both metrics in the same ressource, the found instance is listed twice.
Here is my configuration:
metrics: ec2: - description: TA - Network Input enable: true metrics: - name: NetworkIn statistic: Sum period: 24h start_time: 168h # 24h * 7d constraint: operator: "<" value: 10485760 # (10 * 1024 * 1024) = 10 MB - description: CPU utilization enable: true metrics: - name: CPUUtilization statistic: Average period: 24h start_time: 168h # 24h * 7d constraint: operator: "<" value: 10
The result looks like this:
i-01361 is listed twice.