[PR #2376] [MERGED] Feature/relay integration metrics #15050

Closed
opened 2026-08-05 03:06:52 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2376
Author: @pappz
Created: 8/2/2024
Status: Merged
Merged: 8/7/2024
Merged by: @pappz

Base: feature/relay-integrationHead: feature/relay-integration-metrics


📝 Commits (8)

📊 Changes

3 files changed (+157 additions, -30 deletions)

View changed files

📝 relay/metrics/realy.go (+123 -8)
📝 relay/server/peer.go (+20 -13)
📝 relay/server/relay.go (+14 -9)

📄 Description

Describe your changes

Extend metrics

  • TransferBytesSent
  • Active/idle peers
  • Connection times

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/2376 **Author:** [@pappz](https://github.com/pappz) **Created:** 8/2/2024 **Status:** ✅ Merged **Merged:** 8/7/2024 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `feature/relay-integration` ← **Head:** `feature/relay-integration-metrics` --- ### 📝 Commits (8) - [`c2823af`](https://github.com/netbirdio/netbird/commit/c2823affc6d2bcd9fadb245ee557f73c1330c61c) Add transfer bytes to metrics - [`c9fe54f`](https://github.com/netbirdio/netbird/commit/c9fe54f62b2a51e78f0db4eadc0e9f4f79ce0d8d) Add more metrics - [`8f092fb`](https://github.com/netbirdio/netbird/commit/8f092fb7849e1dc7f60525076e3b371a11e138b2) Update relay/metrics/realy.go - [`39d9035`](https://github.com/netbirdio/netbird/commit/39d9035a1f10250d7e30198f4ec845112c58e9b5) Update relay/metrics/realy.go - [`26b7b49`](https://github.com/netbirdio/netbird/commit/26b7b496db656628db406b2d294c31459d39ba1a) Typo fix - [`3f8bf27`](https://github.com/netbirdio/netbird/commit/3f8bf27f47f82631f2d60bd91f224de9340e48ed) Fix context usage - [`78884e9`](https://github.com/netbirdio/netbird/commit/78884e90ce65ae0e02d9ebd31713077ff490858e) Fix metrics name - [`6a221b1`](https://github.com/netbirdio/netbird/commit/6a221b19f911fd63d7e941cd25b6676fd1a3e7ab) Do not risk to block in case of low performance in metrics pkg ### 📊 Changes **3 files changed** (+157 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `relay/metrics/realy.go` (+123 -8) 📝 `relay/server/peer.go` (+20 -13) 📝 `relay/server/relay.go` (+14 -9) </details> ### 📄 Description ## Describe your changes Extend metrics - TransferBytesSent - Active/idle peers - Connection times ## Issue ticket number and link ### 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 --- <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 03:06:52 -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#15050