Skip to content

Conversation

makazeu
Copy link
Contributor

@makazeu makazeu commented Apr 28, 2025

Add Disk IO time metric (system.disk.io_time) for Windows in ResourceMonitoring.

This is a recommended metric according to OpenTelemetry specs.
image

The metric value represents the real elapsed time (“wall clock”) used in the I/O path (time from operations running in parallel are not counted). Measured as:

This PR provides the Windows implementation for the metric.

Tested in Grafana + Prometheus
438507941-f943d201-b218-413f-af41-fbda7cb7d2d9

And tested in Geneva
image

Linked: #6181 & #5842

Microsoft Reviewers: Open in CodeFlow

@makazeu makazeu marked this pull request as ready for review April 28, 2025 19:29
@makazeu makazeu requested review from a team as code owners April 28, 2025 19:29
@makazeu
Copy link
Contributor Author

makazeu commented Apr 30, 2025

cc @evgenyfedorov2 please help review, thanks

@makazeu makazeu requested a review from evgenyfedorov2 May 4, 2025 06:26
@evgenyfedorov2 evgenyfedorov2 merged commit dccb999 into dotnet:main May 5, 2025
6 checks passed
@makazeu makazeu deleted the win-disk-metrics-iotime branch May 5, 2025 09:36
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants