Skip to content

add support for process.disk.io to opentelemetry-instrumentation-system-metrics #3647

@StephenWithPH

Description

@StephenWithPH

What problem do you want to solve?

I would like to use opentelemetry-instrumentation-system-metrics in its default, auto-instrumented configuration to collect process disk IO (rather than system disk IO).

I am currently unable to do so, because opentelemetry-instrumentation-system-metrics does not support this metric.

Based on the semantic conventions doc, process.disk.io is recommended. It also looks like there is some Python support for this elsewhere in OTEL Python.

Describe the solution you'd like

I'd like to see default support for process.disk.io in https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py .

Describe alternatives you've considered

It's not OTEL, but I considered trying to shim in something like https://github.com/influxdata/telegraf/blob/release-1.35/plugins/inputs/procstat/README.md to get process-level disk stats.

Additional Context

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions