Have lighthouses ack updates to reduce test packet traffic (#851)

This commit is contained in:
Nate Brown
2023-05-05 14:44:03 -05:00
committed by GitHub
parent b26c13336f
commit 48eb63899f
6 changed files with 101 additions and 85 deletions

View File

@@ -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)}