metadata.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. type: filestats
  2. status:
  3. class: receiver
  4. stability:
  5. beta: [metrics]
  6. distributions: [contrib, sumo]
  7. codeowners:
  8. active: [atoulme]
  9. resource_attributes:
  10. file.name:
  11. description: The name of the file
  12. enabled: true
  13. type: string
  14. file.path:
  15. description: The absolute path of the file
  16. enabled: false
  17. type: string
  18. attributes:
  19. file.permissions:
  20. description: the permissions associated with the file, using an octal format.
  21. type: string
  22. metrics:
  23. file.mtime:
  24. description: Elapsed time since the last modification of the file or folder, in seconds since Epoch.
  25. enabled: true
  26. sum:
  27. monotonic: false
  28. aggregation_temporality: cumulative
  29. value_type: int
  30. unit: "s"
  31. file.ctime:
  32. description: Elapsed time since the last change of the file or folder, in seconds since Epoch. In addition to `file.mtime`, this metric tracks metadata changes such as permissions or renaming the file.
  33. enabled: false
  34. sum:
  35. monotonic: false
  36. aggregation_temporality: cumulative
  37. value_type: int
  38. unit: "s"
  39. attributes:
  40. - file.permissions
  41. file.atime:
  42. description: Elapsed time since last access of the file or folder, in seconds since Epoch.
  43. enabled: false
  44. sum:
  45. monotonic: false
  46. aggregation_temporality: cumulative
  47. value_type: int
  48. unit: "s"
  49. file.size:
  50. description: The size of the file or folder, in bytes.
  51. enabled: true
  52. gauge:
  53. value_type: int
  54. unit: "b"