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

DPLT-1002 Publish current block height of indexer functions to CloudWatch #88

Conversation

morgsmccauley
Copy link
Collaborator

@morgsmccauley morgsmccauley commented Jun 1, 2023

This PR updates the Lambda Runner so that the current block height for a given indexer is written to CloudWatch Metrics. These metrics will eventually be scraped by Grafana so that we can visualise the status of each user defined function.

I've also moved the hardcoded aws_region to an environment variable as it's being used in multiple places; to instantiate the S3 SDK, and now the CloudWatch SDK.

@morgsmccauley morgsmccauley force-pushed the DPLT-1002-implement-lag-from-lake-metric-per-indexer-in-grafana branch from 02c44a8 to c7a2f7a Compare June 1, 2023 20:34
@morgsmccauley morgsmccauley force-pushed the DPLT-1002-implement-lag-from-lake-metric-per-indexer-in-grafana branch from c0b9f6d to f4578c0 Compare June 6, 2023 03:00
@morgsmccauley morgsmccauley merged commit 96640b3 into main Jun 6, 2023
@morgsmccauley morgsmccauley deleted the DPLT-1002-implement-lag-from-lake-metric-per-indexer-in-grafana branch June 6, 2023 03:00
@roshaans roshaans mentioned this pull request Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants