# CloudWatch

* **A collection of multiple services.**

## CloudWatch Metrics:

* **Represents a time-ordered set of data points.**<br>
* **A variable to monitor, and the data points as representing the values of that variable over time.** <br>
* For example, the **CPU Usage of a particular EC2 instance** is one metric provided by Amazon EC2, another one is **Disk Writes to EBS Volumes.**<br>

## **CloudWatch Logs:**

* **Monitor logs for performance data about AWS services, e.g. EC2, CloudTrail, Route53.**<br>

## **CloudWatch Events:**

* **Trigger something based on a condition**, like an **email being sent when a root user logs in** or **take an EBS snapshot every hour.**<br>

## **CloudWatch Alarms:**

* **Trigger a notification a metric**, like if the **CPU Usage goes above 50%, then do an SNS notification to the owner.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://karansingh.gitbook.io/ccpnotes/monitoring/cloudwatch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
