mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 02:30:57 -08:00
Have lighthouses ack updates to reduce test packet traffic (#851)
This commit is contained in:
parent
b26c13336f
commit
48eb63899f
6 changed files with 101 additions and 85 deletions
|
|
@ -84,6 +84,7 @@ func newLighthouseMetrics() *MessageMetrics {
|
|||
NebulaMeta_HostQueryReply,
|
||||
NebulaMeta_HostUpdateNotification,
|
||||
NebulaMeta_HostPunchNotification,
|
||||
NebulaMeta_HostUpdateNotificationAck,
|
||||
}
|
||||
for _, i := range used {
|
||||
h[i] = []metrics.Counter{metrics.GetOrRegisterCounter(fmt.Sprintf("lighthouse.%s.%s", t, i.String()), nil)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue