[management, signal] Read pprof listen address from environment#6448
[management, signal] Read pprof listen address from environment#6448bison wants to merge 1 commit into
Conversation
This adds support for configuring the pprof listen address for the standalone management and signal services via the NB_PPROF_ADDR environment variable. The default address and behavior remain the same, i.e. pprof is enabled by default on: `localhost:6060`
📝 WalkthroughWalkthroughBoth ChangesConfigurable pprof address via NB_PPROF_ADDR
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6448 +/- ##
=======================================
Coverage 30.36% 30.36%
=======================================
Files 912 912
Lines 113721 113736 +15
=======================================
+ Hits 34533 34539 +6
- Misses 74619 74620 +1
- Partials 4569 4577 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Describe your changes
This adds support for configuring the pprof listen address for the standalone management and signal services via the
NB_PPROF_ADDRenvironment variable. The default address and behavior remain the same, i.e. pprof is enabled by default on:localhost:6060Issue ticket number and link
Fixes: https://linear.app/netbird/issue/NET-1283
Stack
Checklist
Documentation
Select exactly one:
Docs PR URL (required if "docs added" is checked)
netbirdio/docs#798
Summary by CodeRabbit
NB_PPROF_ADDRenvironment variable, with a default fallback tolocalhost:6060.