mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-12 08:06:35 -07:00
testing out a labled gauge on Networks
This commit is contained in:
parent
bd8f048bef
commit
499ed6d95e
2 changed files with 32 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue