Improve synthetic monitoring and alerting of RPC methods #3789
Labels
devops
Developer Operations
high priority
high priority issue with customer impact
mainnet
rpc
RPC or API
Using AWS synthetic canary tests, we can simulate typical user experiences as it relates to RPC request and response flows. This will not only allow us to monitor response times but will also allow us to perform regression testing by ensuring response schemas are in tact and accurate returned values are present. Refer to this issue for a list of methods to be tested.

3. Add a new HTTP request
4. Add request URL, headers, and request body. Make sure to select "Capture headers and response body"
5. Using the script editor, use Javascript to inspect the response. For example, ensure a 2xx status code is returned and inspect the response payload to ensure certain fields are present and they match expected results.
6. Specify the frequency of your test
7. Finally, enable alarms for when success rates or endpoint response times fall below/above an acceptable thresholdYou can now use the alarm like any other Cloudwatch alarm. It can trigger an email, send a message to PagerDuty and update https://status.harmony.one
The text was updated successfully, but these errors were encountered: