File Attributes

2 attributes in this category. 2 stable

2 attributes

Stable Attributes

file.path

string Scrub: Auto Visibility: Public OTel: True

Path to the file.

Scrubbing Reason File paths can contain end-user paths (e.g. from stack traces) that may be sensitive.
Example /home/user/example.txt
Changelog
v0.17.0 #458 Added file.path attribute
Raw JSON
{
  "key": "file.path",
  "brief": "Path to the file.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto",
    "reason": "File paths can contain end-user paths (e.g. from stack traces) that may be sensitive."
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "/home/user/example.txt",
  "changelog": [
    {
      "version": "0.17.0",
      "prs": [
        458
      ],
      "description": "Added file.path attribute"
    }
  ]
}

file.size

integer Scrub: Manual Visibility: Public OTel: True

File size in bytes.

Example 1024
Changelog
v0.17.0 #458 Added file.size attribute
Raw JSON
{
  "key": "file.size",
  "brief": "File size in bytes.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": 1024,
  "changelog": [
    {
      "version": "0.17.0",
      "prs": [
        458
      ],
      "description": "Added file.size attribute"
    }
  ]
}