v3_config_expected_metrics.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. resourceMetrics:
  2. - resource: {}
  3. scopeMetrics:
  4. - metrics:
  5. - description: System services
  6. gauge:
  7. dataPoints:
  8. - asInt: "72"
  9. attributes:
  10. - key: snmp.test.attribute.two.enum
  11. value:
  12. stringValue: out
  13. timeUnixNano: "1667455279299978000"
  14. name: snmp.test.metric.sysservices
  15. unit: by
  16. - description: System uptime
  17. gauge:
  18. dataPoints:
  19. - asInt: "398079874"
  20. attributes:
  21. - key: test
  22. value:
  23. stringValue: sysuptime_test
  24. timeUnixNano: "1667455279299978000"
  25. - asInt: "398079840"
  26. timeUnixNano: "1667455279299978000"
  27. name: snmp.test.metric.sysuptime
  28. unit: by
  29. scope:
  30. name: otelcol/snmpreceiver
  31. version: latest
  32. - resource:
  33. attributes:
  34. - key: ra1
  35. value:
  36. stringValue: p.1
  37. - key: url
  38. value:
  39. stringValue: Load-1
  40. scopeMetrics:
  41. - metrics:
  42. - description: SNMP get responses
  43. name: snmp.test.column.out.get.reponses
  44. sum:
  45. aggregationTemporality: 2
  46. dataPoints:
  47. - asInt: "1"
  48. attributes:
  49. - key: mood
  50. value:
  51. stringValue: happy
  52. timeUnixNano: "1667455279299978000"
  53. isMonotonic: true
  54. unit: By
  55. scope:
  56. name: otelcol/snmpreceiver
  57. version: latest
  58. - resource:
  59. attributes:
  60. - key: ra1
  61. value:
  62. stringValue: p.2
  63. - key: url
  64. value:
  65. stringValue: Load-2
  66. scopeMetrics:
  67. - metrics:
  68. - description: SNMP get responses
  69. name: snmp.test.column.out.get.reponses
  70. sum:
  71. aggregationTemporality: 2
  72. dataPoints:
  73. - asInt: "2"
  74. attributes:
  75. - key: mood
  76. value:
  77. stringValue: happy
  78. timeUnixNano: "1667455279299978000"
  79. isMonotonic: true
  80. unit: By
  81. scope:
  82. name: otelcol/snmpreceiver
  83. version: latest
  84. - resource:
  85. attributes:
  86. - key: ra1
  87. value:
  88. stringValue: p.3
  89. - key: url
  90. value:
  91. stringValue: Load-3
  92. scopeMetrics:
  93. - metrics:
  94. - description: SNMP get responses
  95. name: snmp.test.column.out.get.reponses
  96. sum:
  97. aggregationTemporality: 2
  98. dataPoints:
  99. - asInt: "3"
  100. attributes:
  101. - key: mood
  102. value:
  103. stringValue: happy
  104. timeUnixNano: "1667455279299978000"
  105. isMonotonic: true
  106. unit: By
  107. scope:
  108. name: otelcol/snmpreceiver
  109. version: latest