mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
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#4412
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?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/1589
Author: @zyfdegh
Created: 1/3/2020
Status: ❌ Closed
Base:
master← Head:zyfdegh/iss-1357📝 Commits (1)
2477dc0implement API /metrics (#1357)📊 Changes
6 files changed (+74 additions, -0 deletions)
View changed files
📝
cmd/frps/root.go(+3 -0)📝
conf/frps_full.ini(+3 -0)📝
go.mod(+1 -0)📝
models/config/server_common.go(+7 -0)📝
server/service.go(+6 -0)➕
server/stats/metrics.go(+54 -0)📄 Description
@fatedier Hi, I've drafted an example on how to expose
/metricsAPI in frps. Please take a look and I'm willing to make more pushes.Then
client_countsinGET /api/serverinfowill be shown as Prometheus server🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.