metadata.yaml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. type: redis
  2. status:
  3. class: receiver
  4. stability:
  5. beta: [metrics]
  6. distributions: [contrib, splunk, observiq, sumo]
  7. codeowners:
  8. active: [dmitryax, hughesjj]
  9. resource_attributes:
  10. redis.version:
  11. description: Redis server's version.
  12. enabled: true
  13. type: string
  14. server.address:
  15. description: Redis server's address
  16. enabled: false
  17. type: string
  18. server.port:
  19. description: Redis server's port
  20. enabled: false
  21. type: string
  22. attributes:
  23. state:
  24. description: Redis CPU usage state
  25. type: string
  26. # Redis versions < 6.0 have:
  27. # used_cpu_sys: System CPU consumed by the Redis server, which is the sum of system CPU consumed by all threads of the server process (main thread and background threads)
  28. # used_cpu_user: User CPU consumed by the Redis server, which is the sum of user CPU consumed by all threads of the server process (main thread and background threads)
  29. # used_cpu_sys_children: System CPU consumed by the background processes
  30. # used_cpu_user_children: User CPU consumed by the background processes
  31. # Redis versions >= 6.0 have two more:
  32. # used_cpu_sys_main_thread: System CPU consumed by the Redis server main thread
  33. # used_cpu_user_main_thread: User CPU consumed by the Redis server main thread
  34. enum:
  35. - sys
  36. - sys_children
  37. - sys_main_thread
  38. - user
  39. - user_children
  40. - user_main_thread
  41. db:
  42. description: Redis database identifier
  43. type: string
  44. role:
  45. description: Redis node's role
  46. type: string
  47. enum:
  48. - replica
  49. - primary
  50. cmd:
  51. description: Redis command name
  52. type: string
  53. percentile:
  54. description: Percentile
  55. type: string
  56. enum:
  57. - p50
  58. - p99
  59. - p99.9
  60. metrics:
  61. redis.maxmemory:
  62. enabled: false
  63. description: The value of the maxmemory configuration directive
  64. unit: By
  65. gauge:
  66. value_type: int
  67. redis.role:
  68. enabled: false
  69. description: Redis node's role
  70. unit: "{role}"
  71. sum:
  72. value_type: int
  73. monotonic: false
  74. aggregation_temporality: cumulative
  75. attributes: [role]
  76. redis.cmd.calls:
  77. enabled: false
  78. description: Total number of calls for a command
  79. unit: "{call}"
  80. sum:
  81. value_type: int
  82. monotonic: true
  83. aggregation_temporality: cumulative
  84. attributes: [cmd]
  85. redis.cmd.usec:
  86. enabled: false
  87. description: Total time for all executions of this command
  88. unit: us
  89. sum:
  90. value_type: int
  91. monotonic: true
  92. aggregation_temporality: cumulative
  93. attributes: [cmd]
  94. redis.cmd.latency:
  95. enabled: false
  96. description: Command execution latency
  97. unit: s
  98. gauge:
  99. value_type: double
  100. attributes: [cmd, percentile]
  101. redis.uptime:
  102. enabled: true
  103. description: Number of seconds since Redis server start
  104. unit: s
  105. sum:
  106. value_type: int
  107. monotonic: true
  108. aggregation_temporality: cumulative
  109. redis.cpu.time:
  110. enabled: true
  111. description: System CPU consumed by the Redis server in seconds since server start
  112. unit: s
  113. sum:
  114. value_type: double
  115. monotonic: true
  116. aggregation_temporality: cumulative
  117. attributes: [state]
  118. redis.clients.connected:
  119. enabled: true
  120. description: Number of client connections (excluding connections from replicas)
  121. unit: "{client}"
  122. sum:
  123. value_type: int
  124. monotonic: false
  125. aggregation_temporality: cumulative
  126. redis.clients.max_input_buffer:
  127. enabled: true
  128. description: Biggest input buffer among current client connections
  129. unit: "By"
  130. gauge:
  131. value_type: int
  132. redis.clients.max_output_buffer:
  133. enabled: true
  134. description: Longest output list among current client connections
  135. unit: "By"
  136. gauge:
  137. value_type: int
  138. redis.clients.blocked:
  139. enabled: true
  140. description: Number of clients pending on a blocking call
  141. unit: "{client}"
  142. sum:
  143. value_type: int
  144. monotonic: false
  145. aggregation_temporality: cumulative
  146. redis.keys.expired:
  147. enabled: true
  148. description: Total number of key expiration events
  149. unit: "{event}"
  150. sum:
  151. value_type: int
  152. monotonic: true
  153. aggregation_temporality: cumulative
  154. redis.keys.evicted:
  155. enabled: true
  156. description: Number of evicted keys due to maxmemory limit
  157. unit: "{key}"
  158. sum:
  159. value_type: int
  160. monotonic: true
  161. aggregation_temporality: cumulative
  162. redis.connections.received:
  163. enabled: true
  164. description: Total number of connections accepted by the server
  165. unit: "{connection}"
  166. sum:
  167. value_type: int
  168. monotonic: true
  169. aggregation_temporality: cumulative
  170. redis.connections.rejected:
  171. enabled: true
  172. description: Number of connections rejected because of maxclients limit
  173. unit: "{connection}"
  174. sum:
  175. value_type: int
  176. monotonic: true
  177. aggregation_temporality: cumulative
  178. redis.memory.used:
  179. enabled: true
  180. description: Total number of bytes allocated by Redis using its allocator
  181. unit: By
  182. gauge:
  183. value_type: int
  184. redis.memory.peak:
  185. enabled: true
  186. description: Peak memory consumed by Redis (in bytes)
  187. unit: By
  188. gauge:
  189. value_type: int
  190. redis.memory.rss:
  191. enabled: true
  192. description: Number of bytes that Redis allocated as seen by the operating system
  193. unit: By
  194. gauge:
  195. value_type: int
  196. redis.memory.lua:
  197. enabled: true
  198. description: Number of bytes used by the Lua engine
  199. unit: By
  200. gauge:
  201. value_type: int
  202. redis.memory.fragmentation_ratio:
  203. enabled: true
  204. description: Ratio between used_memory_rss and used_memory
  205. unit: 1
  206. gauge:
  207. value_type: double
  208. redis.rdb.changes_since_last_save:
  209. enabled: true
  210. description: Number of changes since the last dump
  211. unit: "{change}"
  212. sum:
  213. value_type: int
  214. monotonic: false
  215. aggregation_temporality: cumulative
  216. redis.commands:
  217. enabled: true
  218. description: Number of commands processed per second
  219. unit: "{ops}/s"
  220. gauge:
  221. value_type: int
  222. redis.commands.processed:
  223. enabled: true
  224. description: Total number of commands processed by the server
  225. unit: "{command}"
  226. sum:
  227. value_type: int
  228. monotonic: true
  229. aggregation_temporality: cumulative
  230. redis.net.input:
  231. enabled: true
  232. description: The total number of bytes read from the network
  233. unit: By
  234. sum:
  235. value_type: int
  236. monotonic: true
  237. aggregation_temporality: cumulative
  238. redis.net.output:
  239. enabled: true
  240. description: The total number of bytes written to the network
  241. unit: By
  242. sum:
  243. value_type: int
  244. monotonic: true
  245. aggregation_temporality: cumulative
  246. redis.keyspace.hits:
  247. enabled: true
  248. description: Number of successful lookup of keys in the main dictionary
  249. unit: "{hit}"
  250. sum:
  251. value_type: int
  252. monotonic: true
  253. aggregation_temporality: cumulative
  254. redis.keyspace.misses:
  255. enabled: true
  256. description: Number of failed lookup of keys in the main dictionary
  257. unit: "{miss}"
  258. sum:
  259. value_type: int
  260. monotonic: true
  261. aggregation_temporality: cumulative
  262. redis.latest_fork:
  263. enabled: true
  264. description: Duration of the latest fork operation in microseconds
  265. unit: us
  266. gauge:
  267. value_type: int
  268. redis.slaves.connected:
  269. enabled: true
  270. description: Number of connected replicas
  271. unit: "{replica}"
  272. sum:
  273. value_type: int
  274. monotonic: false
  275. aggregation_temporality: cumulative
  276. redis.replication.backlog_first_byte_offset:
  277. enabled: true
  278. description: The master offset of the replication backlog buffer
  279. unit: "By"
  280. gauge:
  281. value_type: int
  282. redis.replication.offset:
  283. enabled: true
  284. description: The server's current replication offset
  285. unit: "By"
  286. gauge:
  287. value_type: int
  288. redis.db.keys:
  289. enabled: true
  290. description: "Number of keyspace keys"
  291. unit: "{key}"
  292. gauge:
  293. value_type: int
  294. attributes: [db]
  295. redis.db.expires:
  296. enabled: true
  297. description: "Number of keyspace keys with an expiration"
  298. unit: "{key}"
  299. gauge:
  300. value_type: int
  301. attributes: [db]
  302. redis.db.avg_ttl:
  303. enabled: true
  304. description: "Average keyspace keys TTL"
  305. unit: ms
  306. gauge:
  307. value_type: int
  308. attributes: [db]