Skip to content

feat(core): serve status as JSON on the observability server - #159

Closed
andytubeee wants to merge 2 commits into
encodeous:mainfrom
andytubeee:feat/observability-status
Closed

andytubeee wants to merge 2 commits into
encodeous:mainfrom
andytubeee:feat/observability-status

Conversation

@andytubeee

Copy link
Copy Markdown

Adds /status to the observability server. It returns the node's status snapshot (routes, neighbours, endpoints) as JSON, or 503 if the event loop doesn't answer in time. The macOS menu bar app (encodeous/pylon-issues#14) polls this together with /discovery. Docs list the new route.

@encodeous

Copy link
Copy Markdown
Owner

I think its probably better to use the IPC socket when doing work on the local device, since it implicitly also handles access control (through the socket's permission). Check core/ipc_client.go and core/ipc_handler.go

@encodeous encodeous closed this Sep 29, 2026
@andytubeee
andytubeee deleted the feat/observability-status branch September 29, 2026 19:44
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.

2 participants