-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change process.open_file_descriptors
#1798
Comments
Marking as GA Blocker since |
nit, since it's an up-down counter we should avoid pluralization semantic-conventions/docs/general/naming.md Lines 252 to 260 in 21c230d
So probably I'm a Windows user, and my subjective and not very-well-though-out reaction is to use the same metric if there are no substantial differences except name. I also wonder if we could be more approachable and just call it |
I think you can have multiple open file descriptors for the same file, so could be misleading?
from https://en.wikipedia.org/wiki/File_descriptor (my emphasis):
I think I'd also be ok with keeping them as separate metrics in order to stay closer to the domain-specific terminology, e.g.
(trying to follow proposed naming guidance in #1708 (comment)) |
Area(s)
area:process
What's missing?
Note: first discussed in #1797
process.open_file_descriptors
has 2 problems:open_
is arguably redundant, since a "file descriptor" is itself a representation of an open file (i.e. there's no such thing as countingclosed_file_descriptors
)Handles
, a distinct windows exclusive concept, rather thanfile_descriptors
.Describe the solution you'd like
I suggest renaming the metric to
process.file_descriptors
, orprocess.unix.file_descriptors
. At first glance I likeunix
being in the name, but this would be the first time we use that as a platform name so we'll need to think a bit about that before making that jump.There will also be a metric called
process.windows.handles
in the future. Hopefully the presence of this metric will alleviate the platform confusion.The text was updated successfully, but these errors were encountered: