Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for reporting backup events #57

Closed
kaklakariada opened this issue Feb 9, 2022 · 1 comment · Fixed by #58
Closed

Add support for reporting backup events #57

kaklakariada opened this issue Feb 9, 2022 · 1 comment · Fixed by #58
Labels
feature Product feature

Comments

@kaklakariada
Copy link
Collaborator

For administrators it would be helpful to create CloudWatch alerts that indicate if an Exasol backup succeeded or failed.

For that we can add a Metric based on events in the EXA_SYSTEM_EVENTS table. We need to report the following events:

  • BACKUP_START
  • BACKUP_END
  • BACKUP_ABORTED

The user must be able to configure which events should be used.

@kaklakariada kaklakariada changed the title Add support for reporting events like BACKUP_START, BACKUP_END and BACKUP_ABORTED Add support for reporting backup events Feb 9, 2022
@kaklakariada
Copy link
Collaborator Author

We will add the new metrics to the example dashboard in exasol/cloudwatch-dashboard-examples#11

kaklakariada added a commit that referenced this issue Feb 23, 2022
* Update requirement tracing

* #57: Add metrics reader factory for events

* Add unit tests for ExasolEvent

* Refactor existing integration tests, extract mock table

* Implement event metrics reader

* Improve error handling for missing event

The event is missing when the lambda is started manually, not via a scheduled event.

* Add backup duration reader

* Remove workaround for getting the fingerprint

* Add integration tests for backup duration reader

* Add instructions for manually triggering the lambda

* Apply suggestions from code review

Co-authored-by: jakobbraun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant