mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1788] [feature request] Add client count metrics broken down by name in prometheus metrics #1414
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#1414
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 @Lilja on GitHub (May 1, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1788
Currently, it is not possible to see which clients are online in a dashboard.
There is currently this:
23bb76397a/models/metrics/prometheus/server.go (L58-L63)Which is an integer of the total amount of clients connected to frps. But I wish that there could be another metric
clientsthat shows the total amount of clients by name. So if I have a service/client like this:Then I would see in
ip_address:7500/metrics:Note the bolded, which are what I would like to achive.
TL;DR: I'm trying to replicate the dashboard page in grafana and I would like to know which clients are online, not how many clients are online.
but the prometheus
/metricspage doesn't.I would love to help by submitting a PR but I have never worked with
golangso I'm afraid I wont be with too much help.