[PR #2675] [MERGED] [relay-server] Relay measure auth time #15455

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2675
Author: @pappz
Created: 9/30/2024
Status: Merged
Merged: 9/30/2024
Merged by: @pappz

Base: relay/fix-handshake-responseHead: relay/measure-auth-time


📝 Commits (4)

  • 93b2870 Add authentication time to metrics
  • dfb459f Fix ms calculation
  • ddf029e Measure store time
  • b1b06c6 adding more granular bucket boundaries

📊 Changes

2 files changed (+51 additions, -6 deletions)

View changed files

📝 relay/metrics/realy.go (+46 -6)
📝 relay/server/relay.go (+5 -0)

📄 Description

Describe your changes

Measure the Relay client's authentication time

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/2675 **Author:** [@pappz](https://github.com/pappz) **Created:** 9/30/2024 **Status:** ✅ Merged **Merged:** 9/30/2024 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `relay/fix-handshake-response` ← **Head:** `relay/measure-auth-time` --- ### 📝 Commits (4) - [`93b2870`](https://github.com/netbirdio/netbird/commit/93b2870121603cbe9304829f59f309fcb9e90d29) Add authentication time to metrics - [`dfb459f`](https://github.com/netbirdio/netbird/commit/dfb459f494207433ea0cdbf7025c6a5f8498d363) Fix ms calculation - [`ddf029e`](https://github.com/netbirdio/netbird/commit/ddf029e39ab037b7949a0d68842a32948b65d3b0) Measure store time - [`b1b06c6`](https://github.com/netbirdio/netbird/commit/b1b06c6d69e15b55801ffe100424ad1e34b4a9e8) adding more granular bucket boundaries ### 📊 Changes **2 files changed** (+51 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `relay/metrics/realy.go` (+46 -6) 📝 `relay/server/relay.go` (+5 -0) </details> ### 📄 Description ## Describe your changes Measure the Relay client's authentication time ## Issue ticket number and link ### 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) - [ ] 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:07:42 -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#15455