[GH-ISSUE #636] Feature request: dashboard_api for getting a client status by name #495

Closed
opened 2026-05-05 12:19:23 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @miwee on GitHub (Feb 16, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/636

At present there is api/proxy/traffic/:name but it does not have info whether client is online or offline. The only workaround is to use /api/proxy/tcp (or udp, http etc.) and get full data for all clients and parse specific info from this combined data.

From monitoring purpose, it is useful to have an api similar to api/proxy/status/:name, which simply tells the current status and last known online time.

thanks

Originally created by @miwee on GitHub (Feb 16, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/636 At present there is `api/proxy/traffic/:name` but it does not have info whether client is online or offline. The only workaround is to use `/api/proxy/tcp` (or udp, http etc.) and get full data for all clients and parse specific info from this combined data. From monitoring purpose, it is useful to have an api similar to `api/proxy/status/:name`, which simply tells the current status and last known online time. thanks
gitea-mirror 2026-05-05 12:19:23 -06:00
  • closed this issue
  • added the
    todo
    label
Author
Owner

@miwee commented on GitHub (Apr 3, 2018):

I have changed and tested this feature. I'm attaching the patch.
I was trying to use github workflow, but I couldn't compile my forked repository. It was giving some error related to hardcoded paths github.com/fatedier
Hope this should be ok.
0001-dashboard_api-for-getting-a-client-status-by-name.txt

<!-- gh-comment-id:378377569 --> @miwee commented on GitHub (Apr 3, 2018): I have changed and tested this feature. I'm attaching the patch. I was trying to use github workflow, but I couldn't compile my forked repository. It was giving some error related to hardcoded paths github.com/fatedier Hope this should be ok. [0001-dashboard_api-for-getting-a-client-status-by-name.txt](https://github.com/fatedier/frp/files/1873139/0001-dashboard_api-for-getting-a-client-status-by-name.txt)
Author
Owner

@fatedier commented on GitHub (Apr 4, 2018):

Could you send a pr to dev branch? I will review it conveniently.

<!-- gh-comment-id:378460568 --> @fatedier commented on GitHub (Apr 4, 2018): Could you send a pr to dev branch? I will review it conveniently.
Author
Owner

@fatedier commented on GitHub (Apr 4, 2018):

Just change directory name miwee to fatedier to compile it.

<!-- gh-comment-id:378460904 --> @fatedier commented on GitHub (Apr 4, 2018): Just change directory name `miwee` to `fatedier` to compile it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#495
No description provided.