open-telemetry / opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
https://opentelemetry.io
Apache License 2.0
739 stars 613 forks source link

opentelemetry-instrumentation-system-metrics: don't report open file descriptors on windows #2946

Closed xrmx closed 2 weeks ago

xrmx commented 3 weeks ago

Description

Don't report open file descriptors on Windows because file descriptors are not available there.

Fixes #2870 Closes #2895

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Does This PR Require a Core Repo Change?

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.