aws-checker
is a long-running application that checks accessibility to various AWS services.
It exposes metrics compliant with the Prometheus exposition format so that you can monitor if the checker, and hence your infrastructure, the platform running it, and the settings provided to the checker, is able to access the AWS services like:
- DynamoDB
- S3
- SQS
- Grab the latest release for your os/arch from releases.
- Extract the tarball:
tar -xzf aws-checker_<version>_<os>_<arch>.tar.gz
- Run the application:
./aws-checker
- The application will start and expose metrics at
http://localhost:8080/metrics
.
You can then use Prometheus or any other compatible monitoring tool to scrape the metrics from this endpoint.
We publish the container images at https://github.com/chatwork/aws-checker/pkgs/container/aws-checker.
Use it for running the aws-checker within a container locally:
docker run -p 8080:8080 ghcr.io/chatwork/aws-checker:canary
Or in a Kubernetes pod.
To run aws-checker
locally, follow these steps:
- Ensure you have Go installed on your machine.
- Clone the repository and navigate to the project directory.
- Build the project:
go build -o aws-checker
- Run the application:
./aws-checker
The application will start and expose metrics at http://localhost:8080/metrics
.
We welcome contributions to aws-checker
!
Before submitting a pull request, we appreciate you to Write an issue describing the feature or bugfix you plan to work on and discuss it with the maintainers.
To contribute code changes, follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/aws-checker.git
- Create a new branch for your feature or bugfix:
git checkout -b my-feature-branch
- Read the LICENSE file to understand the project's licensing terms.
- Make your changes and commit them with descriptive commit messages:
git add . git commit -m "Description of your changes"
- Push your changes to your forked repository:
git push origin my-feature-branch
- Open a pull request on the main repository and describe your changes.
Please ensure your code follows the project's coding standards and includes appropriate tests.