mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4048] [MERGED] feat: healthcheck for external services #4642
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4642
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4048
Author: @balub
Created: 5/7/2024
Status: ✅ Merged
Merged: 5/7/2024
Merged by: @balub
Base:
release/2024.3.3← Head:feat/healthcheck-db📝 Commits (4)
ff54fd9chore: installed terminus package and scaffolded the health module145465bfeat: added healthcheck for database with prismaff82572chore: renamed label from prisma to database in health check route3b94af8chore: reverted target of hopp-old-backend service to prod📊 Changes
5 files changed (+142 additions, -0 deletions)
View changed files
📝
packages/hoppscotch-backend/package.json(+1 -0)📝
packages/hoppscotch-backend/src/app.module.ts(+2 -0)➕
packages/hoppscotch-backend/src/health/health.controller.ts(+24 -0)➕
packages/hoppscotch-backend/src/health/health.module.ts(+10 -0)📝
pnpm-lock.yaml(+105 -0)📄 Description
Closes HSB-436
Closes #3830
Description
In this PR we are adding health checks to external services used by the hopscotch backend. We introduce a new route
/healthwhich when called will return the status of the service in the following result.Checks
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.