Class FileIncubatingAttributes

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

public final class FileIncubatingAttributes extends Object
  • Field Details

    • 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_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> FILE_NAME
      Name of the file including the extension, without the directory.
    • 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.