Class FileIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.FileIncubatingAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 file including the extension, without the directory.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. -
Method Summary
-
Field Details
-
FILE_DIRECTORY
Directory where the file is located. It should include the drive letter, when appropriate. -
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
Name of the file including the extension, without the directory. -
FILE_PATH
Full path to the file, including the file name. It should include the drive letter, when appropriate. -
FILE_SIZE
File size in bytes.
-