testing out a labled gauge on Networks

This commit is contained in:
Grant Limberg 2023-04-19 17:01:36 -07:00
parent bd8f048bef
commit 499ed6d95e
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
2 changed files with 32 additions and 12 deletions

View file

@ -38,6 +38,8 @@
#include "NetworkConfig.hpp"
#include "CertificateOfMembership.hpp"
#include <prometheus/simpleapi.h>
#define ZT_NETWORK_MAX_INCOMING_UPDATES 3
#define ZT_NETWORK_MAX_UPDATE_CHUNKS ((ZT_NETWORKCONFIG_DICT_CAPACITY / 1024) + 1)
@ -46,6 +48,9 @@ namespace ZeroTier {
class RuntimeEnvironment;
class Peer;
/**
* A virtual LAN
*/
@ -474,6 +479,8 @@ private:
Mutex _lock;
AtomicCounter __refCount;
prometheus::simpleapi::gauge_metric_t _multicast_groups_gauge;
};
} // namespace ZeroTier