metrics_golden_sftp.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. resourceMetrics:
  2. - resource: {}
  3. scopeMetrics:
  4. - metrics:
  5. - description: Measures the duration of SSH connection.
  6. gauge:
  7. dataPoints:
  8. - asInt: "33"
  9. startTimeUnixNano: "1000000"
  10. timeUnixNano: "2000000"
  11. name: sshcheck.duration
  12. unit: ms
  13. - description: Measures SFTP request duration.
  14. gauge:
  15. dataPoints:
  16. - asInt: "52"
  17. startTimeUnixNano: "1000000"
  18. timeUnixNano: "2000000"
  19. name: sshcheck.sftp_duration
  20. unit: ms
  21. - description: 1 if the SFTP server replied to request, otherwise 0.
  22. name: sshcheck.sftp_status
  23. sum:
  24. aggregationTemporality: 2
  25. dataPoints:
  26. - asInt: "1"
  27. startTimeUnixNano: "1000000"
  28. timeUnixNano: "2000000"
  29. unit: "1"
  30. - description: 1 if the SSH client successfully connected, otherwise 0.
  31. name: sshcheck.status
  32. sum:
  33. aggregationTemporality: 2
  34. dataPoints:
  35. - asInt: "1"
  36. startTimeUnixNano: "1000000"
  37. timeUnixNano: "2000000"
  38. unit: "1"
  39. scope:
  40. name: otelcol/sshcheckreceiver
  41. version: latest