Skip to content

Commit

Permalink
#13: Fix metrics names for backup events (#14)
Browse files Browse the repository at this point in the history
* #13: Fix metrics names for backup events
  • Loading branch information
kaklakariada authored Feb 23, 2022
1 parent e32b553 commit 05638ac
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ To test your dashboard and alarms you can manually inject metrics values by exec
```sh
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Seconds --value 30 --metric-name "BACKUP_DURATION"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "BACKUP_START"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "BACKUP_END"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "BACKUP_ABORTED"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "EVENT_BACKUP_START"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "EVENT_BACKUP_END"
aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=<YOUR DEPLOYMENT NAME>" --unit Count --value 1 --metric-name "EVENT_BACKUP_ABORTED"
```
## Additional Information
Expand Down
1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changes

* [0.2.1](changes_0.2.1.md)
* [0.2.0](changes_0.2.0.md)
* [0.1.1](changes_0.1.1.md)
* [0.1.0](changes_0.1.0.md)
13 changes: 13 additions & 0 deletions doc/changes/changes_0.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# cloudwatch-dashboard-examples 0.2.1, released 2022-02-23

Code name: Bugfix for backup events

## Summary

In this release we fixed and issue that caused backup events not beeing displayed in the dashboard.

## Bugfixes

* #13: Fixed backup events not shown in dashboard

## Dependency Updates
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.exasol</groupId>
<artifactId>cloudwatch-dashboard-examples</artifactId>
<version>0.2.0</version>
<version>0.2.1</version>
<name>cloudwatch-dashboard-examples</name>
<description>Example dashboards for the Exasol database's CloudWatch metrics</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public CloudwatchDashboardExamplesStack(final Construct scope, final String id,
final Metric usersMetric = getExasolMetricBuilder().metricName("USERS").label("Users (5 min MAX)")
.statistic("Maximum").build();

final Metric eventBackupStart = eventMetric("BACKUP_START", "Backup started");
final Metric eventBackupEnd = eventMetric("BACKUP_END", "Backup finished successfully");
final Metric eventBackupAborted = eventMetric("BACKUP_ABORTED", "Backup failed or aborted");
final Metric eventBackupStart = eventMetric("EVENT_BACKUP_START", "Backup started");
final Metric eventBackupEnd = eventMetric("EVENT_BACKUP_END", "Backup finished successfully");
final Metric eventBackupAborted = eventMetric("EVENT_BACKUP_ABORTED", "Backup failed or aborted");

dashboard.addWidgets(//
cpuWidget(), //
Expand Down

0 comments on commit 05638ac

Please sign in to comment.