Skip to content

Add health-check endpoint in dbsync#263

Merged
reeshavacharya merged 2 commits into
mainfrom
feat/dbsync-health-check
Dec 3, 2024
Merged

Add health-check endpoint in dbsync#263
reeshavacharya merged 2 commits into
mainfrom
feat/dbsync-health-check

Conversation

@reeshavacharya
Copy link
Copy Markdown
Contributor

  • Add /api/health in dbsync api
  • example response:
    {
        "status": "Healthy",
        "details": {
            "currentTime": "2024-12-03T07:36:31.426Z",
            "latestBlockTime": "2024-12-03T07:36:23.000Z",
            "secondsSinceLastUpdate": 8.426
        }
    }

@reeshavacharya reeshavacharya merged commit e9444bd into main Dec 3, 2024
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.

1 participant