diff --git a/README.md b/README.md index 2ed5e35..d78ce04 100644 --- a/README.md +++ b/README.md @@ -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=" --unit Seconds --value 30 --metric-name "BACKUP_DURATION" -aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "BACKUP_START" -aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "BACKUP_END" -aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "BACKUP_ABORTED" +aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "EVENT_BACKUP_START" +aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "EVENT_BACKUP_END" +aws cloudwatch put-metric-data --namespace "Exasol" --dimensions "Cluster Name=MAIN,Deployment=" --unit Count --value 1 --metric-name "EVENT_BACKUP_ABORTED" ``` ## Additional Information diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 0b998f4..171e3d8 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -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) diff --git a/doc/changes/changes_0.2.1.md b/doc/changes/changes_0.2.1.md new file mode 100644 index 0000000..7853ee0 --- /dev/null +++ b/doc/changes/changes_0.2.1.md @@ -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 diff --git a/pom.xml b/pom.xml index dd0e82f..6004411 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.exasol cloudwatch-dashboard-examples - 0.2.0 + 0.2.1 cloudwatch-dashboard-examples Example dashboards for the Exasol database's CloudWatch metrics diff --git a/src/main/java/com/exasol/cloudwatchexampledashboard/CloudwatchDashboardExamplesStack.java b/src/main/java/com/exasol/cloudwatchexampledashboard/CloudwatchDashboardExamplesStack.java index 06fa976..d57a46c 100644 --- a/src/main/java/com/exasol/cloudwatchexampledashboard/CloudwatchDashboardExamplesStack.java +++ b/src/main/java/com/exasol/cloudwatchexampledashboard/CloudwatchDashboardExamplesStack.java @@ -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(), //