-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pitchfork Memory Stats #68
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #68 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 37 38 +1
Lines 833 854 +21
=========================================
+ Hits 833 854 +21 ☔ View full report in Codecov by Sentry. |
e6656bc
to
58c9d9c
Compare
This reverts commit 58c9d9c.
bf44e90
to
4999cbf
Compare
4999cbf
to
c4d5adc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Nice use of rack after reply :)
Introduce Pitchfork Memory Stats. This PR integrates memory statistics collection into the Pitchfork middleware introduced in #66.
pitchfork_mem_rss
: Resident Set Size of the Pitchfork process, representing the total memory used by the process.pitchfork_shared_mem
: Shared memory of the Pitchfork process, indicating memory shared between multiple processes.These metrics provide more detailed insights into memory-sharing efficiency.
Additionally, the PR introduces a
pitchfork_stats_enabled
flag to toggle Pitchfork metrics collection on or off.