hashgraph / hedera-exchange-rate-tool

Hedera Exchange Rate Tool to send median of HBAR/USD exchange rate from various Exchanges to Hedera Network
Apache License 2.0
3 stars 4 forks source link

Include ERT log in the CloudWatch Notification. #156

Closed anighanta closed 2 years ago

anighanta commented 3 years ago

Summary Currently None of the ERT CloudWatch alerts give us specific details on the the exchange rate the was pushed on the failure.

Possible resolution We should change the text in the alert. If the ERT does smoothing because the median exchange rate changed too much since midnight, then the alert should include:

Those numbers will help in diagnosing whether there is something actually wrong, or the true exchange rate is simply changing very fast.

anighanta commented 3 years ago

Using SNS service from the code itself rather than through CloudWatch logs/Metric Filters/Alarms would be an easier solution