mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1357] [feature request] support prometheus #1077
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#1077
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 @jeffrey4l on GitHub (Aug 6, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1357
frp should export an url like
/metrics, which can be scraped by prometheus server. In this way we can monitor whether frp or the clients works properly.@zyfdegh commented on GitHub (Jan 2, 2020):
There's a typo, corrected:
/metrics@fatedier commented on GitHub (Feb 20, 2020):
#1668
@jeffrey4l commented on GitHub (Mar 19, 2020):
Thanks for the implementation.
I just check the new release binary, seem only some common process metric is exported. Could we add metrics related to each proxy statistics? like tcp traffic in and out in dashboard.
@fatedier commented on GitHub (Mar 19, 2020):
@jeffrey4l https://github.com/fatedier/frp/blob/master/models/metrics/prometheus/server.go#L58
All metrics registered here including net traffic.
@jeffrey4l commented on GitHub (Mar 19, 2020):
yeah, i found it.
seems when the metrics value is 0, it is not show up in
/metricsurl.thanks.