Conversation
e1507d1 to
38b4247
Compare
Contributor
Author
|
cc @ivoanjo you might be interested in the design of this feature. |
|
👀 This is super cool and I've been thinking we might want/need something like this for dd-trace-rb as well! |
38b4247 to
91df406
Compare
91df406 to
08091b4
Compare
08e8d2b to
9bc2643
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
UtilizationMonitorclass that efficiently collects and aggregates utilization metrics from worker processes using shared memory. Workers write metrics directly to shared memory segments, and the supervisor reads and aggregates them by service name.IO::Buffer) for efficient, zero-copy metric collection, minimal overhead for services to publish metrics.Architecture
UtilizationMonitor: Main class that manages worker registration and metric aggregation.SegmentAllocator: Internal class that manages shared memory segment allocation, freeing, and automatic resizing.async-utilizationgem - workers useAsync::Utilization::Observerto write metrics to shared memory.Usage
Types of Changes
Contribution