metadata.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. type: sshcheck
  2. status:
  3. class: receiver
  4. stability:
  5. alpha: [metrics]
  6. distributions: [contrib, sumo]
  7. codeowners:
  8. active: [nslaughter, codeboten]
  9. resource_attributes:
  10. ssh.endpoint:
  11. description: Full SSH endpoint
  12. type: string
  13. attributes:
  14. error.message:
  15. description: Error message recorded during check
  16. type: string
  17. metrics:
  18. sshcheck.status:
  19. description: 1 if the SSH client successfully connected, otherwise 0.
  20. enabled: true
  21. sum:
  22. value_type: int
  23. aggregation_temporality: cumulative
  24. monotonic: false
  25. unit: 1
  26. sshcheck.duration:
  27. description: Measures the duration of SSH connection.
  28. enabled: true
  29. gauge:
  30. value_type: int
  31. unit: ms
  32. sshcheck.error:
  33. description: Records errors occurring during SSH check.
  34. enabled: true
  35. sum:
  36. value_type: int
  37. aggregation_temporality: cumulative
  38. monotonic: false
  39. unit: "{error}"
  40. attributes: [error.message]
  41. sshcheck.sftp_status:
  42. description: 1 if the SFTP server replied to request, otherwise 0.
  43. enabled: false
  44. sum:
  45. value_type: int
  46. aggregation_temporality: cumulative
  47. monotonic: false
  48. unit: 1
  49. sshcheck.sftp_duration:
  50. description: Measures SFTP request duration.
  51. enabled: false
  52. gauge:
  53. value_type: int
  54. unit: ms
  55. sshcheck.sftp_error:
  56. description: Records errors occurring during SFTP check.
  57. enabled: false
  58. sum:
  59. value_type: int
  60. aggregation_temporality: cumulative
  61. monotonic: false
  62. unit: "{error}"
  63. attributes: [error.message]