aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Added frontend logger implementation to push logs to CloudWatch through the backend #370

Closed BarcoMasile closed 1 year ago

BarcoMasile commented 1 year ago

Description

After #369 we now introduce a logger implementation on the frontend side that leverages the /logs endpoint implemented in the previous PR. It is possible to use the newly introduced logger to push log entries to the backend in async, so they end up in CloudWatch lambda log streams.

Changes

How Has This Been Tested?

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.