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 Windows disk I/O metrics to ResourceMonitoring #6181

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

makazeu
Copy link
Contributor

@makazeu makazeu commented Mar 23, 2025

Closes #5842

Add the below new Windows metrics to the ResourceMonitoring library:

  • system.disk.io
  • system.disk.operations

Will try to support below metrics in the future:

  • system.disk.io_time
  • system.disk.operation_time
  • system.disk.pending_operations

Also, will support Linux in the future

Tested in Grafana + Prometheus with OpenTelemetry.Exporter.Prometheus.HttpListener

image

Tested in Geneva with OpenTelemetry.Exporter.Geneva

image

Microsoft Reviewers: Open in CodeFlow

@makazeu
Copy link
Contributor Author

makazeu commented Mar 23, 2025

cc @evgenyfedorov2

@makazeu makazeu changed the title Add Windows disk metrics to ResourceMonitoring Add Windows disk I/O metrics to ResourceMonitoring Mar 23, 2025
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

Primarily code style related comments.

@evgenyfedorov2
Copy link
Contributor

Hi @makazeu , thanks for pickup up this task!

I am busy with other things right now, could you please don't merge this until I have a chance to review it? Will try to review this or next week.

Thanks!

@makazeu
Copy link
Contributor Author

makazeu commented Mar 25, 2025

Hi @makazeu , thanks for pickup up this task!

I am busy with other things right now, could you please don't merge this until I have a chance to review it? Will try to review this or next week.

Thanks!

Sure, Evgeny. This is still a draft yet, I will not merge it until it has more unit tests and you have reviewed it.

@makazeu makazeu marked this pull request as ready for review March 25, 2025 15:56
@makazeu makazeu requested a review from a team as a code owner March 25, 2025 15:56
@makazeu makazeu requested review from a team as code owners March 25, 2025 15:56
@makazeu
Copy link
Contributor Author

makazeu commented Mar 25, 2025

This PR is now ready for review!

Edit: Add screenshosts for my tests with Grafana + Prometeus, and Geneva.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add disk IO metrics to Resource Monitoring
3 participants