Skip to content
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 disk/weighted_io_time metric (Linux only) #2312

Merged

Conversation

james-bebbington
Copy link
Member

Add disk/weighted_io_time metric (Linux only)

@james-bebbington james-bebbington requested a review from a team as a code owner December 21, 2020 05:15
@project-bot project-bot bot added this to In progress in Collector Dec 21, 2020
@james-bebbington james-bebbington force-pushed the weighted-io-time branch 5 times, most recently from 31c0def to 9791dc0 Compare December 21, 2020 22:28
@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #2312 (63d28e7) into master (7a6598f) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2312      +/-   ##
==========================================
+ Coverage   92.00%   92.03%   +0.02%     
==========================================
  Files         273      273              
  Lines       15332    15384      +52     
==========================================
+ Hits        14106    14158      +52     
  Misses        845      845              
  Partials      381      381              
Impacted Files Coverage Δ
...iver/internal/scraper/diskscraper/disk_metadata.go 100.00% <100.00%> (ø)
...l/scraper/diskscraper/disk_scraper_others_linux.go 100.00% <100.00%> (ø)
internal/processor/filterexpr/matcher.go 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a6598f...63d28e7. Read the comment docs.

@@ -72,7 +72,7 @@ var resourceMetrics = []string{
}

var systemSpecificMetrics = map[string][]string{
"linux": {"system.disk.merged", "system.filesystem.inodes.usage", "system.paging.faults", "system.processes.created", "system.processes.count"},
"linux": {"system.disk.merged", "system.disk.weighted_io_time", "system.filesystem.inodes.usage", "system.paging.faults", "system.processes.created", "system.processes.count"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have specs for this? If no we should at least have an issue to track this in the specs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aabmass This metric, system.disk.weighted_io_time, is specific to Linux, although system.disk.merged is as well, and that is currently in the spec (here).

Should these metrics actually be prefixed with system.linux. as per the guidance here or should we make an exception for these two relatively generic metrics that are not easily measurable on other OSs and add system.disk.weighted_io_time to the specs as well?

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 30, 2020
Collector automation moved this from In progress to Reviewer approved Jan 3, 2021
@bogdandrutu bogdandrutu merged commit 2b25f11 into open-telemetry:master Jan 3, 2021
Collector automation moved this from Reviewer approved to Done Jan 3, 2021
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Collector
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants