Questions tagged [amazon-cloudwatch-metrics]

172 questions
0
votes
0 answers

AWS Cloudwatch python sdk API not working

I have a root AWS account which is linked with other three sub aws accounts. in my root account I created a Lambda function to get billing metrics from cloudwatch using python SDK and APIs . its working I am using IAM user's access key and secret…
0
votes
1 answer

Delete temporary autoscaling EC2 memory metrics

I am using Immutable deployment. I have included script as mentioned at http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html to monitor ec2 memory at autoscale level. Now while every deployment for temporary autoscale cloudwatch…
0
votes
1 answer

How to get information on which resource actually breached cloudwatch alarm

I have setup a cloudwatch alarm for RDS "By Database Engine" for postgres for "FreeableMemory" metric and assign an alarm when the Free Memory is less than 1GB. When an alarm is raised, is it possible to get the information on which specific RDS…
0
votes
2 answers

API to know the count of objects/keys available in a particular S3 bucket?

Is there any AWS sdk API that would give the total count of objects/keys available in a particular S3 bucket? with out using isTruncated() , listObjects() total iteration.
0
votes
2 answers

Cloudwatch near real time metrics & EC2 sends metric 1 minute periods

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html Based on the above article and the FAQ, is there another article which can I help me better understand the near real time metrics and EC2 sending metric to Cloudwatch in…
0
votes
1 answer

How get capacity of network in Amazon AWS EC2 instances?

I want to get Maximum Capacity for network interfaces in Amazon EC2 Instance? when I used this command: $ sudo lshw -class network the result is: $ sudo lshw -class network *-network description: Ethernet interface physical id: 1 …
0
votes
1 answer

Sampling rate for data returned with boto3 get_metric_statistics()

The documentation is here... http://boto3.readthedocs.io/en/latest/reference/services/cloudwatch.html#CloudWatch.Client.get_metric_statistics Here is our call response = cloudwatch.get_metric_statistics( Namespace='AWS/EC2', …
0
votes
1 answer

AWS SSM AWS.EC2.Windows.CloudWatch.json File Instance Name For Custom Metric

This block of code puts the megabytes of available memory custom metrics into CloudWatch. However I am unable to get it to post the hostname with the metrics. This block is in the AWS.EC2.Windows.CloudWatch.json file within the directory: C:\Program…
0
votes
1 answer

API Gateway Cloudwatch advanced logging

I am trying to get to the point of billing for API calls made to our services, this includes creating metrics for each API Key usage, but before I even start that I would like to understand a certain aspect of the CloudWatch logs first. In this…
0
votes
1 answer

What is the difference between viewing aws custom metrics on aws console vs configuring it on grafana?

What are the advantages we get when custom metrics view on grafana instead of aws cloudwatch console itself?
0
votes
0 answers

Displaying 1XXs and 3XXs in AWS CloudWatch Metrics?

Is it possible to display 1XXs(Count) and 3XXs(Count) in AWS Load Balancer CloudWatch metrics? The reason I want to know them is because I found that Sum Requests (Count) is higher than Sum HTTP 5XXs (Count) + Sum ELB 5XXs (Count) + Sum HTTP 4XXs…
Brian
  • 12,145
  • 20
  • 90
  • 153
0
votes
0 answers

Need help setting up cloudwatch alarm for elb

I am trying to create two cloudwatch alarm on my Elastic LoadBalancer. Suppose there is 3 instance attached to my elb. If one instance goes unhealthy then I should trigger an alarm saying it's a WARNING and if all instance is unhealthy then I should…
0
votes
1 answer

AWS CloudWatch Zero Queue Size For One Week alarm

I am wondering if there is a way to set up a CloudWatch alarm that will alarm if an SQS queue has not received any traffic for 7 days. I currently have a job that runs on my host once a week that is guaranteed to add message to my SQS queue, I…
0
votes
1 answer

AWS SQS - How to check the last poll time?

Is there an option in AWS console to view the timestamps at which polls were requested to SQS? I like to see when was the last time the queue was polled by a client. The closest metric I can see in CloudWatch is NumberOfMessagesReceived, which is…
Muzammil
  • 417
  • 1
  • 4
  • 20
0
votes
1 answer

How to pass map to AWS cloudwatch

I have a metrics map coming from different applications and I want to write them into AWSCloud watch. How can I do that? PS: I tried putting them using metrics name and metrics value after parsing whole map, but that does not looks a good approach…
1 2 3
11
12