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

chore: Improve observability #88

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

khorolets
Copy link
Member

This PR aims to improve the observability of the node by adding metrics:

  • near_lake_block_retry_count_total Total number of retries for storing indexing blocks to S3
  • near_lake_block_done_total Total number of indexed blocks

The first can be used to determine whether the service was restarted (e.g., killed by OOM). The second can help determine whether the node is healthy and what the retry rate is.

Additionally, I have added near_lake_build_info similar to the existing near_build_info, but I cannot reuse that since it's private. It will expose the build info. Example:

near_lake_build_info{build="1.37.1",release="0.1.29",rustc_version="1.75.0"}

@khorolets khorolets merged commit d51cbda into main Mar 12, 2024
2 checks passed
@khorolets khorolets deleted the chore/observability-improvements branch March 12, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant