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 healthcheck endpoint #175

Open
bumi opened this issue Mar 15, 2024 · 2 comments · May be fixed by #971
Open

Add healthcheck endpoint #175

bumi opened this issue Mar 15, 2024 · 2 comments · May be fixed by #971
Assignees
Milestone

Comments

@bumi
Copy link
Contributor

bumi commented Mar 15, 2024

The healthcheck should report if the nwc wallet is fully functioning and can be used internally (on the NWC UI) to show the status in the UI and externally to monitor the app.

  • connected to the relay
  • relay responds to some message
  • node is running
  • node can probe a route
@im-adithya im-adithya transferred this issue from getAlby/nostr-wallet-connect-next Jul 5, 2024
@rolznz rolznz added this to the v1.13.0 milestone Dec 18, 2024
@rolznz
Copy link
Contributor

rolznz commented Jan 6, 2025

@rdmitr I added some extra properties for the Alby Account status which could be used as part of this task #939

@rolznz
Copy link
Contributor

rolznz commented Jan 6, 2025

Current idea: the healthcheck should fail if any of the following are true:

  • Alby Account status is failing / has incidents (above)
  • One or more channels are offline
  • Relay is currently not connected
  • Cannot do a basic request from the node (not sure what is best, the probe command does not give a useful response)

@rolznz rolznz modified the milestones: v1.13.0, v.1.14.0 Jan 7, 2025
@rdmitr rdmitr linked a pull request Jan 10, 2025 that will close this issue
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 a pull request may close this issue.

3 participants