Class FileIncubatingAttributes

java.lang.Object
io.opentelemetry.semconv.incubating.FileIncubatingAttributes

public final class FileIncubatingAttributes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.opentelemetry.api.common.AttributeKey<String>
    Time when the file was last accessed, in ISO 8601 format.
    static final io.opentelemetry.api.common.AttributeKey<List<String>>
    Array of file attributes.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Time when the file attributes or metadata was last changed, in ISO 8601 format.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Time when the file was created, in ISO 8601 format.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Directory where the file is located.
    static final io.opentelemetry.api.common.AttributeKey<String>
    File extension, excluding the leading dot.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Name of the fork.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Primary Group ID (GID) of the file.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Primary group name of the file.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Inode representing the file in the filesystem.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Mode of the file in octal representation.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Time when the file content was last modified, in ISO 8601 format.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Name of the file including the extension, without the directory.
    static final io.opentelemetry.api.common.AttributeKey<String>
    The user ID (UID) or security identifier (SID) of the file owner.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Username of the file owner.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Full path to the file, including the file name.
    static final io.opentelemetry.api.common.AttributeKey<Long>
    File size in bytes.
    static final io.opentelemetry.api.common.AttributeKey<String>
    Path to the target of a symbolic link.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FILE_ACCESSED

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_ACCESSED
      Time when the file was last accessed, in ISO 8601 format.

      Notes:

      This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS, etc.

    • FILE_ATTRIBUTES

      public static final io.opentelemetry.api.common.AttributeKey<List<String>> FILE_ATTRIBUTES
      Array of file attributes.

      Notes:

      Attributes names depend on the OS or file system. Here’s a non-exhaustive list of values expected for this attribute: archive, compressed, directory, encrypted, execute, hidden, immutable, journaled, read, readonly, symbolic link, system, temporary, write.

    • FILE_CHANGED

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_CHANGED
      Time when the file attributes or metadata was last changed, in ISO 8601 format.

      Notes:

      file.changed captures the time when any of the file's properties or attributes (including the content) are changed, while file.modified captures the timestamp when the file content is modified.

    • FILE_CREATED

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_CREATED
      Time when the file was created, in ISO 8601 format.

      Notes:

      This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS, etc.

    • FILE_DIRECTORY

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_DIRECTORY
      Directory where the file is located. It should include the drive letter, when appropriate.
    • FILE_EXTENSION

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_EXTENSION
      File extension, excluding the leading dot.

      Notes:

      When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz").

    • FILE_FORK_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_FORK_NAME
      Name of the fork. A fork is additional data associated with a filesystem object.

      Notes:

      On Linux, a resource fork is used to store additional data with a filesystem object. A file always has at least one fork for the data portion, and additional forks may exist. On NTFS, this is analogous to an Alternate Data Stream (ADS), and the default data stream for a file is just called $DATA. Zone.Identifier is commonly used by Windows to track contents downloaded from the Internet. An ADS is typically of the form: C:\path\to\filename.extension:some_fork_name, and some_fork_name is the value that should populate fork_name. filename.extension should populate file.name, and extension should populate file.extension. The full path, file.path, will include the fork name.

    • FILE_GROUP_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_GROUP_ID
      Primary Group ID (GID) of the file.
    • FILE_GROUP_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_GROUP_NAME
      Primary group name of the file.
    • FILE_INODE

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_INODE
      Inode representing the file in the filesystem.
    • FILE_MODE

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_MODE
      Mode of the file in octal representation.
    • FILE_MODIFIED

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_MODIFIED
      Time when the file content was last modified, in ISO 8601 format.
    • FILE_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_NAME
      Name of the file including the extension, without the directory.
    • FILE_OWNER_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_OWNER_ID
      The user ID (UID) or security identifier (SID) of the file owner.
    • FILE_OWNER_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_OWNER_NAME
      Username of the file owner.
    • FILE_PATH

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_PATH
      Full path to the file, including the file name. It should include the drive letter, when appropriate.
    • FILE_SIZE

      public static final io.opentelemetry.api.common.AttributeKey<Long> FILE_SIZE
      File size in bytes.