[PR #2964] [MERGED] [client] Add pprof build tag #15904

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2964
Author: @pappz
Created: 11/29/2024
Status: Merged
Merged: 12/1/2024
Merged by: @mlsmaycon

Base: mainHead: pprof


📝 Commits (2)

📊 Changes

1 file changed (+33 additions, -0 deletions)

View changed files

client/cmd/pprof.go (+33 -0)

📄 Description

Describe your changes

For the easiest future debugging, prepared the pprof listener. This feature depend from the "pprof" build tag.

go build -tags pprof

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/2964 **Author:** [@pappz](https://github.com/pappz) **Created:** 11/29/2024 **Status:** ✅ Merged **Merged:** 12/1/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `pprof` --- ### 📝 Commits (2) - [`81df855`](https://github.com/netbirdio/netbird/commit/81df855b27900ad773d5d22439e94309552cd182) Add pprof build tag - [`0011e65`](https://github.com/netbirdio/netbird/commit/0011e653652e083f288ecdc274cbc0028f553778) Change env handling ### 📊 Changes **1 file changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `client/cmd/pprof.go` (+33 -0) </details> ### 📄 Description ## Describe your changes For the easiest future debugging, prepared the pprof listener. This feature depend from the "pprof" build tag. ``` go build -tags pprof ``` ## 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:08:38 -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#15904