mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Fix crash from bad instantiation of histogram
This commit is contained in:
parent
3b7883f7bf
commit
ac9a006835
1 changed files with 2 additions and 2 deletions
|
@ -177,8 +177,8 @@ namespace ZeroTier {
|
|||
{ "zt_network_outgoing_packets", "number of outgoing packets per network" };
|
||||
|
||||
// PeerMetrics
|
||||
prometheus::CustomFamily<prometheus::Histogram<uint64_t>> peer_latency
|
||||
{ "zt_peer_latency", "peer latency (ms)", {{}}};
|
||||
prometheus::CustomFamily<prometheus::Histogram<uint64_t>> peer_latency
|
||||
{ "zt_peer_latency", "peer latency (ms)", {}};
|
||||
prometheus::simpleapi::gauge_family_t peer_path_count
|
||||
{ "zt_peer_path_count", "number of paths to peer" };
|
||||
prometheus::simpleapi::counter_family_t peer_incoming_packets
|
||||
|
|
Loading…
Add table
Reference in a new issue