Skip to content

refactor enhanced metrics monitoring#901

Merged
shreyamalpani merged 12 commits into
mainfrom
shreya.malpani/refactor-monitoring-proc-metrics
Oct 24, 2025
Merged

refactor enhanced metrics monitoring#901
shreyamalpani merged 12 commits into
mainfrom
shreya.malpani/refactor-monitoring-proc-metrics

Conversation

@shreyamalpani

Copy link
Copy Markdown
Contributor

Use a long-running task that resumes at the start of an invocation, instead of spawning a new task on each invocation. Uses a channel-based service to pause and resume monitoring.

Tested with a function that opens a large number of file descriptors to make sure it still captures data accurately. Tested with self-monitoring as well (new implementation, previous implementation):
Screenshot 2025-10-20 at 4 16 47 PM

@shreyamalpani
shreyamalpani marked this pull request as ready for review October 21, 2025 16:49
@shreyamalpani
shreyamalpani requested a review from a team as a code owner October 21, 2025 16:49
Comment thread bottlecap/src/metrics/enhanced/usage_metrics.rs Outdated
Comment thread bottlecap/src/lifecycle/invocation/processor.rs Outdated
Comment thread bottlecap/src/metrics/enhanced/usage_metrics.rs Outdated
Comment thread bottlecap/src/metrics/enhanced/usage_metrics.rs Outdated
@shreyamalpani
shreyamalpani merged commit 7fd8db7 into main Oct 24, 2025
39 checks passed
@shreyamalpani
shreyamalpani deleted the shreya.malpani/refactor-monitoring-proc-metrics branch October 24, 2025 14:56
shreyamalpani added a commit that referenced this pull request Nov 19, 2025
## Overview
Adds back the `tmp_free` metric after the refactor in #901
lym953 pushed a commit that referenced this pull request Nov 21, 2025
## Overview
Adds back the `tmp_free` metric after the refactor in #901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants