visheshrwl / Uber-like

2 stars 5 forks source link

Create healthCheck.ts #17

Closed Aryam2121 closed 22 hours ago

Aryam2121 commented 1 day ago

Overall Status: Indicates whether the service is healthy or unhealthy. Service Version: Displays the current version of the service (extracted from the package.json or service configuration). Uptime: Shows the time (in seconds) since the service was started. Dependency Status: Reports the health of critical dependencies such as: Database (e.g., PostgreSQL, MongoDB): Validates the connection and query execution. Cache (e.g., Redis): Checks if the cache is reachable and operational. Message Broker (e.g., Kafka): Ensures the producer and consumer clients are active. solve the issue #3

All Submissions:

Type of change

Please delete options that are not relevant.

After these steps, you're ready to open a pull request.

a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #3  in your comment to auto-close the issue that your PR fixes (if such).