add metric for open tcp connections

This commit is contained in:
Grant Limberg 2024-05-08 12:36:57 -07:00
parent 59b2f73541
commit b71e7bd0ab
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
3 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,8 @@
namespace ZeroTier {
namespace Metrics {
extern prometheus::simpleapi::gauge_metric_t tcp_connections;
extern prometheus::simpleapi::counter_metric_t udp_open_failed;
extern prometheus::simpleapi::counter_metric_t tcp_opened;