mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4044] [Feature Request] Expose proxy information as prometheus metric #3201
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RobKenis on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4044
Describe the feature request
Add a prometheus metric
frp_server_proxy_info{name, type, client_version}with information that is also exposed in the dashboard. This way I can include the client version in the same Grafana dashboard as my other FRP statistics.Describe alternatives you've considered
Can I create a custom plugin to expose this information?
Affected area
@fatedier commented on GitHub (Mar 7, 2024):
The current implementation is not very elegant. The client_version should not actually be the metadata of the proxy. There should be a separate client/host object, and the proxy should be associated with this object.
We need to rethink the best implementation method here. We did not previously expose the client dimension object to the user, so this change may not be very simple.