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

API endpoint for visor to query uptime tracker #1634

Closed
0pcom opened this issue Jun 26, 2023 · 0 comments
Closed

API endpoint for visor to query uptime tracker #1634

0pcom opened this issue Jun 26, 2023 · 0 comments

Comments

@0pcom
Copy link
Collaborator

0pcom commented Jun 26, 2023

Currently, skywire-cli ut directly queries the uptime tracker.

This was done so that the uptime tracker can be queried without a running visor, however this should be changed in the following ways

  • skywire-cli ut should first attempt to use the running visor to make the query
  • add an api endpoint for the visor to query the uptime tracker for the deployment it is using
  • the uptime tracker should be queried via dmsghttp if the visor is using a dmsghttp-config

in the event that no visor is running or skywire-cli cannot reach the visor at the default (or specified) rpc address

  • skywire-cli should attempt to query the uptime tracker via dmsghttp by default using the hardcoded dmsg address for the service unless one is otherwise specified
  • as a last resort, the uptime tracker should be queried directly via http
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

No branches or pull requests

2 participants