Skip to content

Consider adding JVM metric for open file descriptors Semantic Conventions #1838

@schmikei

Description

@schmikei

Propose new conventions

I'd like to add this metric to the java-contrib project.

Image
  - bean: java.lang:type=OperatingSystem
    mapping:
      OpenFileDescriptorCount:
        metric: jvm.fd.open
        unit: 1
        desc: open file descriptors

Happy to discuss naming conventions on these as well but would like to collect this information!

I believe that this metric would be useful for monitoring resource usage and detecting potential file descriptor leaks and should be recommended metric.

Apologies if there was already discussion on adding this metric I just did not see it in the current list found here: https://opentelemetry.io/docs/specs/semconv/runtime/jvm-metrics/

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:jvmenhancementNew feature or requestexperts neededThis issue or pull request is outside an area where general approvers feel they can approvetriage:needs-triage

    Type

    No type

    Projects

    Status

    Need triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions