semantic-conventions icon indicating copy to clipboard operation
semantic-conventions copied to clipboard

Need a new metric process.open_file_descriptor.max or process.open_file_descriptor.limit

Open xiangtianyu opened this issue 1 year ago • 1 comments

Area(s)

area:jvm, area:os, area:system

Is your change request related to a problem? Please describe.

Now we have a metric process.open_file_descriptor.count https://github.com/open-telemetry/semantic-conventions/blob/main/docs/system/process-metrics.md#metric-processopen_file_descriptorcount

since jdk provided both getMaxFileDescriptorCount and getOpenFileDescriptorCount https://github.com/eclipse-openj9/openj9/blob/9d6010511102076fb18bfcfe2b3609c4fb9c94f6/jcl/src/jdk.management/share/classes/com/ibm/lang/management/UnixOperatingSystemMXBean.java#L31 We may need a new metric.

Describe the solution you'd like

We may need a new metrics like process.open_file_descriptor.max or process.open_file_descriptor.limit

Describe alternatives you've considered

No response

Additional context

No response

xiangtianyu avatar Jul 24 '24 02:07 xiangtianyu

Is there any update about it?

xiangtianyu avatar Sep 14 '24 07:09 xiangtianyu

related to https://github.com/open-telemetry/semantic-conventions/issues/1838

lmolkova avatar Mar 17 '25 15:03 lmolkova

/cc @open-telemetry/semconv-jvm-approvers

lmolkova avatar Mar 17 '25 15:03 lmolkova

let's solve #1838 first, and then come back to this issue and look at adding the .limit metric

trask avatar Mar 17 '25 22:03 trask