add metric for open tcp connections
This commit is contained in:
parent
59b2f73541
commit
b71e7bd0ab
3 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
|
||||
namespace ZeroTier {
|
||||
namespace Metrics {
|
||||
prometheus::simpleapi::gauge_metric_t tcp_connections
|
||||
{"tcp_connections", "TCP connections"};
|
||||
|
||||
prometheus::simpleapi::counter_metric_t udp_open_failed
|
||||
{"udp_open_failed", "UDP open failed"};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue