[PR #2315] [CLOSED] Fix/metrics init #19213

Open
opened 2026-08-05 05:05:44 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2315
Author: @pappz
Created: 7/24/2024
Status: Closed

Base: mainHead: fix/metrics-init


📝 Commits (10+)

  • 57a89cf Add initial relay code
  • 49dfbc8 Add relay cmd
  • 6ae7a79 Fix buffer handling
  • d4eaec5 Followup messages modification
  • 9ac5a1e Add udp listener and did some change for debug purpose.
  • 1c9c9ae Remove sync.pool
  • 13eb457 Add registration response message to the communication
  • e82c0a5 Set to blocking the message queue
  • 0a05f8b Use buffer pool and protect exported functions
  • 36b2cd1 Remove channel binding logic

📊 Changes

97 files changed (+7312 additions, -1635 deletions)

View changed files

📝 client/cmd/status.go (+15 -12)
📝 client/cmd/testutil_test.go (+1 -1)
📝 client/cmd/up.go (+4 -1)
📝 client/internal/connect.go (+36 -1)
📝 client/internal/engine.go (+56 -161)
📝 client/internal/engine_test.go (+54 -26)
📝 client/internal/peer/conn.go (+487 -551)
📝 client/internal/peer/conn_test.go (+34 -51)
client/internal/peer/handshaker.go (+191 -0)
client/internal/peer/signaler.go (+70 -0)
📝 client/internal/peer/status.go (+180 -8)
📝 client/internal/peer/status_test.go (+5 -5)
📝 client/internal/peer/stdnet.go (+2 -2)
📝 client/internal/peer/stdnet_android.go (+2 -2)
client/internal/peer/worker_ice.go (+459 -0)
client/internal/peer/worker_relay.go (+156 -0)
📝 client/internal/relay/relay.go (+2 -2)
📝 client/internal/routemanager/client.go (+2 -8)
📝 client/internal/routemanager/manager.go (+2 -2)
📝 client/internal/routemanager/server_android.go (+1 -1)

...and 77 more files

📄 Description

Describe your changes

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)
  • Extended the README / documentation, if necessary

🔄 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/2315 **Author:** [@pappz](https://github.com/pappz) **Created:** 7/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/metrics-init` --- ### 📝 Commits (10+) - [`57a89cf`](https://github.com/netbirdio/netbird/commit/57a89cf0cc2c2c54ff65af6a269e2f6181974a71) Add initial relay code - [`49dfbc8`](https://github.com/netbirdio/netbird/commit/49dfbc82d934b0f14a195c5fe83cd60eb94439c2) Add relay cmd - [`6ae7a79`](https://github.com/netbirdio/netbird/commit/6ae7a790f2f0abf588625f37e97ccdaf51cd8202) Fix buffer handling - [`d4eaec5`](https://github.com/netbirdio/netbird/commit/d4eaec5cbd0161234c3624786fa42b02906590cb) Followup messages modification - [`9ac5a1e`](https://github.com/netbirdio/netbird/commit/9ac5a1ed3ff5be4165265bfbcd6cf28bc0407ca5) Add udp listener and did some change for debug purpose. - [`1c9c9ae`](https://github.com/netbirdio/netbird/commit/1c9c9ae47eef3f1474f4c434a15a00d697e0d080) Remove sync.pool - [`13eb457`](https://github.com/netbirdio/netbird/commit/13eb457132e9291559b538b1d55429e94e879e18) Add registration response message to the communication - [`e82c0a5`](https://github.com/netbirdio/netbird/commit/e82c0a55a31e63d673cf4bbbc7750bfd025fac96) Set to blocking the message queue - [`0a05f8b`](https://github.com/netbirdio/netbird/commit/0a05f8b4d417254416c9b56d2bdf97eff2e39c95) Use buffer pool and protect exported functions - [`36b2cd1`](https://github.com/netbirdio/netbird/commit/36b2cd16ccc53350fae358b16917218a50a4753f) Remove channel binding logic ### 📊 Changes **97 files changed** (+7312 additions, -1635 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/status.go` (+15 -12) 📝 `client/cmd/testutil_test.go` (+1 -1) 📝 `client/cmd/up.go` (+4 -1) 📝 `client/internal/connect.go` (+36 -1) 📝 `client/internal/engine.go` (+56 -161) 📝 `client/internal/engine_test.go` (+54 -26) 📝 `client/internal/peer/conn.go` (+487 -551) 📝 `client/internal/peer/conn_test.go` (+34 -51) ➕ `client/internal/peer/handshaker.go` (+191 -0) ➕ `client/internal/peer/signaler.go` (+70 -0) 📝 `client/internal/peer/status.go` (+180 -8) 📝 `client/internal/peer/status_test.go` (+5 -5) 📝 `client/internal/peer/stdnet.go` (+2 -2) 📝 `client/internal/peer/stdnet_android.go` (+2 -2) ➕ `client/internal/peer/worker_ice.go` (+459 -0) ➕ `client/internal/peer/worker_relay.go` (+156 -0) 📝 `client/internal/relay/relay.go` (+2 -2) 📝 `client/internal/routemanager/client.go` (+2 -8) 📝 `client/internal/routemanager/manager.go` (+2 -2) 📝 `client/internal/routemanager/server_android.go` (+1 -1) _...and 77 more files_ </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [x] 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) - [ ] Extended the README / documentation, if necessary --- <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 05:05:44 -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#19213