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

add /health endpoint #52

Merged
merged 2 commits into from
Nov 29, 2023
Merged

add /health endpoint #52

merged 2 commits into from
Nov 29, 2023

Conversation

shunjizhan
Copy link
Collaborator

@shunjizhan shunjizhan commented Nov 28, 2023

Change

Added /health endpoint that checks relayer balance for both karura and acala, this will be helpful for datadog monitoring.

Test

added test for it and works as expected

@shunjizhan shunjizhan changed the title add health endpoint add /health endpoint Nov 28, 2023
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b0f02a8) 91.05% compared to head (19d6ceb) 91.26%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   91.05%   91.26%   +0.21%     
==========================================
  Files          19       20       +1     
  Lines        1453     1489      +36     
  Branches      127      127              
==========================================
+ Hits         1323     1359      +36     
  Misses        130      130              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shunjizhan shunjizhan marked this pull request as ready for review November 28, 2023 15:28
@shunjizhan shunjizhan requested a review from xlc November 28, 2023 15:28
@shunjizhan shunjizhan merged commit 54fa0a1 into master Nov 29, 2023
3 checks passed
@shunjizhan shunjizhan deleted the health-endpoint branch November 29, 2023 00:25
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.

None yet

2 participants