mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #4864] [CLOSED] feat: add proxy_status metric #5066
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#5066
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/4864
Author: @MelvinHuls
Created: 7/2/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
458a8bafeat: add proxy_status metric📊 Changes
6 files changed (+43 additions, -0 deletions)
View changed files
📝
pkg/metrics/aggregate/server.go(+6 -0)📝
pkg/metrics/mem/server.go(+16 -0)📝
pkg/metrics/mem/types.go(+2 -0)📝
pkg/metrics/prometheus/server.go(+14 -0)📝
server/dashboard_api.go(+3 -0)📝
server/metrics/metrics.go(+2 -0)📄 Description
Added a proxy_status metric that is either 1 (online) or 0 (offline).
WHY
We want to be able to tell when a customers proxy goes offline, and do alerting on it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.