Plugins 〉CloudWatch Alarm

Data Source
community

CloudWatch Alarm

  • Overview
  • Installation
  • Change log
  • Related content

Grafana CloudWatch Alarm data source

A data source plugin for Grafana which queries for the current state of Amazon Web Services CloudWatch alarms.

This Grafana plugin has been designed to help us to easily create a single dashboard that gives us a quick overview of all alerts/alarms from different monitoring solutions (ex: Grafana and CloudWatch).

Note that it only queries CloudWatch for the current state of alarms, it does not query for the history. As such, this data source is best used with the "table" visualization.

If you would like to create graphs based on the alarm history, it would be better to configure AWS to store the alarm state as custom metrics (the regular alarm history only goes back 14 days). For example by following this guide: Extending and exploring alarm history in Amazon CloudWatch and then using the regular CloudWatch data source that ships with Grafana.

Building this plugin

Frontend

  1. Install dependencies
npm install
  1. Build plugin in development mode
npm run dev
  1. Build plugin in production mode
npm run build

Backend

  1. Update Grafana plugin SDK for Go dependency to the latest minor version:
go get -u github.com/grafana/grafana-plugin-sdk-go
go mod tidy
  1. Build backend plugin binaries for Linux, Windows and Darwin:
mage -v
  1. List all available Mage targets for additional commands:
mage -l

Installing CloudWatch Alarm on Grafana Cloud:

For more information, visit the docs on plugin installation.

Change Log

v1.0.1

  • Change plugin id from "computest-cloudwatch-alarm-datasource" to "computest-cloudwatchalarm-datasource"
  • Different logo
  • Add screenshots
  • Add keywords

v1.0.0

First release