Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
CloudWatch Agent enables you to collect and export host-level metrics and logs on instances running Linux or Windows server.
| Date | Stars |
|---|---|
| 2026-07-31 | 543 |
| 2026-08-06 | 545 |
Today
+2 stars today
This week
— stars this week
This month
— stars this month
Momentum
23.0
growth rate 0.00%/day
# Amazon CloudWatch Agent
The Amazon CloudWatch Agent is software developed for the [CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html)
## Overview
The Amazon CloudWatch Agent enables you to do the following:
- Collect more system-level metrics from Amazon EC2 instances across operating systems. The metrics can include in-guest metrics, in addition to the metrics for EC2 instances. The additional metrics that can be collected are listed in [Metrics Collected by the CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/metrics-collected-by-CloudWatch-agent.html).
- Collect system-level metrics from on-premises servers. These can include servers in a hybrid environment as well as servers not managed by AWS.
- Retrieve custom metrics from your applications or services using the StatsD and collectd protocols. StatsD is supported on both Linux servers and servers running Windows Server. collectd is supported only on Linux servers.
- Collect logs from Amazon EC2 instances and on-premises servers, running either Linux or Windows Server.
- Collect Open Telemetry and AWS X-Ray traces
Amazon CloudWatch Agent uses open-source projects [telegraf](https://github.com/influxdata/telegraf) and [opentelemetry-collector](https://github.com/open-telemetry/opentelemetry-collector) as its dependencies.
It operates by starting an opentelemetry collector and is capable of operating pipelines consisting of both telegraf and opentemetry components in addition to customized components.
### Setup
* [Configuring IAM Roles](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-iam-roles-for-cloudwatch-agent.html)
* [Installation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-EC2-Instance.html)
* [Configuring the CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file.html)
### Troubleshooting
* [Troubleshooting CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/troubleshooting-CloudWatch-Agent.html)
## Building and Running from source
* Install go. For more information, see [Getting started](https://golang.org/doc/install)
* The agent uses go modules for dependency management. For more information, see [Go Modules](https://github.com/golang/go/wiki/Modules)
* Install rpm-build
```
sudo yum install -y rpmdevtools rpm-build
```
* Run `make build` to build the CloudWatch Agent for Linux, Debian, Windows environment.
* Run `make release` to build the agent. This also packages it into a RPM, DEB and ZIP package.
The following folders are generated when the build completes:
```
build/bin/linux/arm64/amazon-cloudwatch-agent.rpm
build/bin/linux/amd64/amazon-cloudwatch-agent.rpm
build/bin/linux/arm64/amazon-cloudwatch-agent.deb
build/bin/linux/amd64/amazon-cloudwatch-agent.deb
build/bin/windows/amd64/amazon-cloudwatch-agent.zip
build/bin/darwin/amd64/amazon-cloudwatch-agent.tar.gz
```
* Install your own build of the agent
1. rpm package
* `rpm -Uvh amazon-cloudwatch-agent.rpm`
1. deb package
* `dpkg -i -E ./amazon-cloudwatch-agent.deb`
1. windows package
* unzip `amazon-cloudwatch-agent.zip`
* `./install.ps1`
1. darwin package
* `tar -xvf amazon-cloudwatch-agent.tar.gz`
* `cp -rf ./opt/aws /opt`
* `cp -rf ./Library/LaunchDaemons/com.amazon.cloudwatch.agent.plist /Library/LaunchDaemons/`
### Building and running container
See [Dockerfiles](amazon-cloudwatch-container-insights/cloudwatch-agent-dockerfile).
### Make Targets
The following targets are available. Each may be run with `make <target>`.
| Make Target | Description |
|:-------------------------|:------------|
| `build` | `build` builds the agent for Linux, Debian and Windows amd64 environment |
| `release` | *(Default)* `releasExcerpt of 7,813 characters
Read on GitHub173
136
114
90
83
81
69
63
60
53
47
44
44
39
39
38
36
36
30
25
Would you bet a product on this? Bounded 0–100 and slow moving.
Not classified yet. Classification runs as part of npm run ingest.