Skip to main content

A tool to create AWS CloudWatch Alarms for your resources with specified name and tags

Project description

alarm-craft for AWS CloudWatch Alarms

Python - Version PyPI - Version PyPI - License CI for alarm-craft aws cloudwatch


With modern architectures such as serverless and microservices, the number of resources managed in the cloud tends to increase, making monitoring a challenging task. alarm-craft is a tool designed to address this problem.

Features

  • Bulk Generation: Generates the necessary monitoring alarms in bulk with a single command.
  • Flexible Alarm Definition: Allows flexible definition of alarm conditions, including metrics and thresholds.
  • Declarative Config: Provides declarative configurations for monitoring targets using resource name or tag.
  • Integration with Your Deployment Pipeline: A CLI tool written in Python that can be seamlessly integrated into the deployment pipeline.
  • DevOps: By leveraging declarative configurations based on the tag strategy and integrating alarm-craft with the deployment pipeline, DevOps teams can automatically monitor newly deployed resources.

Quick Start

  1. Install python (>= 3.9), and install alarm-craft.
    pip install alarm-craft
    
  2. Create a json file like below and save it as alarm-config.yaml
    resources:
      lambda:
        target_resource_type: "lambda:function"
        alarm:
          metrics:
            - Errors
    
  3. Execute the tool.
    alarm-craft
    
    By this execution, the alarm-craft creates Cloudwatch Alarms to detect Errors in all Lambda functions.

Documentation

For detailed instructions and information on configuring the tool, refer to the Wiki.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alarm-craft-1.0.0.tar.gz (21.0 kB view hashes)

Uploaded Source

Built Distribution

alarm_craft-1.0.0-py3-none-any.whl (16.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page