[PR #6036] [MERGED] [management] add monitoring for nmap update source #28943

Closed
opened 2026-08-05 08:07:11 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6036
Author: @pascal-fischer
Created: 4/30/2026
Status: Merged
Merged: 4/30/2026
Merged by: @pascal-fischer

Base: mainHead: feature/monitor-nmap-source


📝 Commits (1)

  • 42fad79 add monitoring for nmap update source

📊 Changes

28 files changed (+165 additions, -86 deletions)

View changed files

📝 management/internals/controllers/network_map/controller/controller.go (+11 -4)
📝 management/internals/controllers/network_map/interface.go (+2 -2)
📝 management/internals/controllers/network_map/interface_mock.go (+8 -8)
📝 management/internals/modules/peers/ephemeral/manager/ephemeral_test.go (+2 -2)
📝 management/internals/modules/peers/manager.go (+2 -1)
📝 management/internals/modules/reverseproxy/service/manager/l4_port_test.go (+1 -1)
📝 management/internals/modules/reverseproxy/service/manager/manager.go (+9 -8)
📝 management/internals/modules/reverseproxy/service/manager/manager_test.go (+5 -5)
📝 management/internals/modules/zones/manager/manager.go (+3 -2)
📝 management/internals/modules/zones/records/manager/manager.go (+4 -3)
📝 management/server/account.go (+2 -2)
📝 management/server/account/manager.go (+2 -2)
📝 management/server/account/manager_mock.go (+8 -8)
📝 management/server/dns.go (+1 -1)
📝 management/server/group.go (+8 -8)
📝 management/server/mock_server/account_mock.go (+6 -6)
📝 management/server/nameserver.go (+3 -3)
📝 management/server/networks/manager.go (+2 -1)
📝 management/server/networks/resources/manager.go (+3 -3)
📝 management/server/networks/routers/manager.go (+4 -3)

...and 8 more files

📄 Description

Describe your changes

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • Telemetry
    • Added metrics tracking for peer synchronization events. New observability counter records when account peers updates are triggered, capturing details about affected system resources and operation types to improve visibility into network synchronization behavior and system health monitoring.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6036 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 4/30/2026 **Status:** ✅ Merged **Merged:** 4/30/2026 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `feature/monitor-nmap-source` --- ### 📝 Commits (1) - [`42fad79`](https://github.com/netbirdio/netbird/commit/42fad7935a5282ebf3d8e73a80023b05a6c0d140) add monitoring for nmap update source ### 📊 Changes **28 files changed** (+165 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `management/internals/controllers/network_map/controller/controller.go` (+11 -4) 📝 `management/internals/controllers/network_map/interface.go` (+2 -2) 📝 `management/internals/controllers/network_map/interface_mock.go` (+8 -8) 📝 `management/internals/modules/peers/ephemeral/manager/ephemeral_test.go` (+2 -2) 📝 `management/internals/modules/peers/manager.go` (+2 -1) 📝 `management/internals/modules/reverseproxy/service/manager/l4_port_test.go` (+1 -1) 📝 `management/internals/modules/reverseproxy/service/manager/manager.go` (+9 -8) 📝 `management/internals/modules/reverseproxy/service/manager/manager_test.go` (+5 -5) 📝 `management/internals/modules/zones/manager/manager.go` (+3 -2) 📝 `management/internals/modules/zones/records/manager/manager.go` (+4 -3) 📝 `management/server/account.go` (+2 -2) 📝 `management/server/account/manager.go` (+2 -2) 📝 `management/server/account/manager_mock.go` (+8 -8) 📝 `management/server/dns.go` (+1 -1) 📝 `management/server/group.go` (+8 -8) 📝 `management/server/mock_server/account_mock.go` (+6 -6) 📝 `management/server/nameserver.go` (+3 -3) 📝 `management/server/networks/manager.go` (+2 -1) 📝 `management/server/networks/resources/manager.go` (+3 -3) 📝 `management/server/networks/routers/manager.go` (+4 -3) _...and 8 more files_ </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Telemetry** * Added metrics tracking for peer synchronization events. New observability counter records when account peers updates are triggered, capturing details about affected system resources and operation types to improve visibility into network synchronization behavior and system health monitoring. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 08:07:11 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#28943