feat: add pressure stall information (PSI) to host instrumentation#8083
Open
alpineQ wants to merge 1 commit intoopen-telemetry:mainfrom
Open
feat: add pressure stall information (PSI) to host instrumentation#8083alpineQ wants to merge 1 commit intoopen-telemetry:mainfrom
alpineQ wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
Author
|
I understand that metric definitions should ideally be managed through the weaver tool and its YAML schema files. However, I noticed that the weaver configuration files are maintained in a separate repository, and I wasn't able to find documentation on the coordinated update process for both the schema definitions and the Go instrumentation code. I'm happy to submit corresponding changes to the weaver repository if needed. If this is the preferred approach, I would appreciate guidance on:
|
This was referenced Oct 28, 2025
3 tasks
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.
Description
This PR adds support for Linux Pressure Stall Information (PSI) metrics to the
instrumentation/hostpackage. PSI metrics provide valuable insights into resource pressure on CPU, memory, and I/O subsystems, available on Linux systems with kernel 4.20+.The implementation adds 20 new metric instruments:
system.psi.cpu.some.*(avg10, avg60, avg300, total)system.psi.memory.some.*andsystem.psi.memory.full.*(avg10, avg60, avg300, total for each)system.psi.io.some.*andsystem.psi.io.full.*(avg10, avg60, avg300, total for each)Where "some" indicates some tasks are stalled and "full" indicates all tasks are stalled. The avg* metrics represent pressure averages over 10, 60, and 300 second windows, while total metrics track cumulative stall time in microseconds.
PSI metrics are automatically collected alongside existing host metrics when running on Linux systems with PSI support. On non-Linux systems or when PSI is unavailable, the implementation gracefully degrades with no impact.
Link to tracking issue
Closes #8082