Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. docker_images:
  2. - cassandra
  3.  
  4. instances:
  5. - host: "%%host%%"
  6. port: 7199
  7. cassandra_aliasing: true
  8. # user: username
  9. # password: password
  10. # process_name_regex: .*process_name.* # Instead of specifying a host, and port. The agent can connect using the attach api.
  11. # # This requires the JDK to be installed and the path to tools.jar to be set below.
  12. # tools_jar_path: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar # To be set when process_name_regex is set
  13. # name: cassandra_instance
  14. # # java_bin_path: /path/to/java # Optional, should be set if the agent cannot find your java executable
  15. # # java_options: "-Xmx200m -Xms50m" # Optional, Java JVM options
  16. # # trust_store_path: /path/to/trustStore.jks # Optional, should be set if ssl is enabled
  17. # # trust_store_password: password
  18. # tags:
  19. # env: stage
  20. # newTag: test
  21.  
  22. init_config:
  23. # List of metrics to be collected by the integration
  24. # Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
  25. conf:
  26. - include:
  27. domain: org.apache.cassandra.metrics
  28. # If you are using cassandra 2, you should replace 'type: Table' by 'type: ColumnFamily'
  29. # type: ColumnFamily
  30. type: Table
  31. bean_regex:
  32. - .*keyspace=.*
  33. name:
  34. - KeyCacheHitRate
  35. - RowCacheHitOutOfRange
  36. - RowCacheHit
  37. - RowCacheMiss
  38. - MaxPartitionSize
  39. - MeanPartitionSize
  40. - MemtableOnHeapSize
  41. - MemtableOffHeapSize
  42. - PendingCompactions
  43. - PendingFlushes
  44. - SpeculativeRetries
  45. - TotalDiskSpaceUsed
  46. - BloomFilterDiskSpaceUsed
  47. - BloomFilterFalsePositives
  48. - BloomFilterFalseRatio
  49. - CompressionRatio
  50. - LiveDiskSpaceUsed
  51. - LiveSSTableCount
  52. - MemtableColumnsCount
  53. - MemtableLiveDataSize
  54. - MemtableSwitchCount
  55. - ReadLatency
  56. - WriteLatency
  57. - SSTablesPerReadHistogram
  58. - TombstoneScannedHistogram
  59. - EstimatedPartitionSizeHistogram
  60. attribute:
  61. - Value
  62. - Count
  63. - Mean
  64. - 50thPercentile
  65. - 75thPercentile
  66. - 95thPercentile
  67. - 99thPercentile
  68. - OneMinuteRate
  69. - Max
  70. exclude:
  71. keyspace:
  72. - OpsCenter
  73. - system
  74. - system_auth
  75. - system_distributed
  76. - system_schema
  77. - system_traces
  78. - include:
  79. domain: org.apache.cassandra.metrics
  80. type: ClientRequest
  81. scope:
  82. - Read
  83. - Write
  84. name:
  85. - Latency
  86. - Timeouts
  87. - Unavailables
  88. attribute:
  89. - Count
  90. - OneMinuteRate
  91. - include:
  92. domain: org.apache.cassandra.metrics
  93. type: ClientRequest
  94. scope:
  95. - Read
  96. - Write
  97. name:
  98. - TotalLatency
  99. - include:
  100. domain: org.apache.cassandra.metrics
  101. type: ClientRequest
  102. scope:
  103. - Read
  104. - Write
  105. name:
  106. - Latency
  107. attribute:
  108. - 50thPercentile
  109. - 75thPercentile
  110. - 95thPercentile
  111. - 99thPercentile
  112. - OneMinuteRate
  113. - include:
  114. domain: org.apache.cassandra.metrics
  115. type: Client
  116. name:
  117. - connectedNativeClients
  118. - include:
  119. domain: org.apache.cassandra.metrics
  120. type: DroppedMessage
  121. scope:
  122. - READ
  123. - MUTATION
  124. - BINARY
  125. - REQUEST_RESPONSE
  126. name:
  127. - Dropped
  128. attribute:
  129. - OneMinuteRate
  130. - include:
  131. domain: org.apache.cassandra.metrics
  132. type: ThreadPools
  133. scope:
  134. - MutationStage
  135. - ReadStage
  136. - RequestResponseStage
  137. - ReadRepairStage
  138. name:
  139. - ActiveTasks
  140. - TotalBlockedTasks
  141. - PendingTasks
  142. - CurrentlyBlockedTasks
  143. path:
  144. - request
  145. - include:
  146. domain: org.apache.cassandra.metrics
  147. type: ThreadPools
  148. scope:
  149. - MemtableFlushWriter
  150. name:
  151. - ActiveTasks
  152. - TotalBlockedTasks
  153. - PendingTasks
  154. - CurrentlyBlockedTasks
  155. path:
  156. - internal
  157. - include:
  158. domain: org.apache.cassandra.metrics
  159. type: Storage
  160. name:
  161. - Load
  162. - Exceptions
  163. - TotalHints
  164. - include:
  165. domain: org.apache.cassandra.metrics
  166. type:
  167. - ColumnFamily
  168. bean_regex:
  169. - .*keyspace=.*
  170. name:
  171. - MaxRowSize
  172. - MeanRowSize
  173. - MinRowSize
  174. attribute:
  175. - Value
  176. - Count
  177. - Mean
  178. - 99thPercentile
  179. - Max
  180. exclude:
  181. keyspace:
  182. - OpsCenter
  183. - system
  184. - system_auth
  185. - system_distributed
  186. - system_schema
  187. - system_traces
  188. - include:
  189. domain: org.apache.cassandra.metrics
  190. type: Cache
  191. name:
  192. - Capacity
  193. - Size
  194. attribute:
  195. - Value
  196. - include:
  197. domain: org.apache.cassandra.metrics
  198. type: Cache
  199. scope: KeyCache
  200. name:
  201. - Hits
  202. - Requests
  203. - HitRate
  204. attribute:
  205. - Count
  206. - include:
  207. domain: org.apache.cassandra.metrics
  208. type: CommitLog
  209. name:
  210. - PendingTasks
  211. - TotalCommitLogSize
  212. attribute:
  213. - Value
  214. - include:
  215. domain: org.apache.cassandra.metrics
  216. type: ThreadPools
  217. path: request
  218. name:
  219. - ActiveTasks
  220. - CompletedTasks
  221. - PendingTasks
  222. - CurrentlyBlockedTasks
  223. - include:
  224. domain: org.apache.cassandra.db
  225. attribute:
  226. - UpdateInterval
  227. - include:
  228. domain: org.apache.cassandra.metrics
  229. type: Compaction
  230. name:
  231. - PendingTasks
  232. attribute:
  233. - Value
  234. - include:
  235. domain: org.apache.cassandra.net
  236. type: FailureDetector
  237. attribute:
  238. DownEndpointCount:
  239. alias: cassandra.db.downendpoints
  240. # Young Gen Collectors (Minor Collections)
  241. - include:
  242. domain: java.lang
  243. type: GarbageCollector
  244. name: Copy
  245. attribute:
  246. CollectionCount:
  247. metric_type: counter
  248. alias: jmx.gc.minor_collection_count
  249. CollectionTime:
  250. metric_type: counter
  251. alias: jmx.gc.minor_collection_time
  252. - include:
  253. domain: java.lang
  254. type: GarbageCollector
  255. name: PS Scavenge
  256. attribute:
  257. CollectionCount:
  258. metric_type: counter
  259. alias: jmx.gc.minor_collection_count
  260. CollectionTime:
  261. metric_type: counter
  262. alias: jmx.gc.minor_collection_time
  263. - include:
  264. domain: java.lang
  265. type: GarbageCollector
  266. name: ParNew
  267. attribute:
  268. CollectionCount:
  269. metric_type: counter
  270. alias: jmx.gc.minor_collection_count
  271. CollectionTime:
  272. metric_type: counter
  273. alias: jmx.gc.minor_collection_time
  274. - include:
  275. domain: java.lang
  276. type: GarbageCollector
  277. name: G1 Young Generation
  278. attribute:
  279. CollectionCount:
  280. metric_type: counter
  281. alias: jmx.gc.minor_collection_count
  282. CollectionTime:
  283. metric_type: counter
  284. alias: jmx.gc.minor_collection_time
  285. # Old Gen Collectors (Major collections)
  286. - include:
  287. domain: java.lang
  288. type: GarbageCollector
  289. name: MarkSweepCompact
  290. attribute:
  291. CollectionCount:
  292. metric_type: counter
  293. alias: jmx.gc.major_collection_count
  294. CollectionTime:
  295. metric_type: counter
  296. alias: jmx.gc.major_collection_time
  297. - include:
  298. domain: java.lang
  299. type: GarbageCollector
  300. name: PS MarkSweep
  301. attribute:
  302. CollectionCount:
  303. metric_type: counter
  304. alias: jmx.gc.major_collection_count
  305. CollectionTime:
  306. metric_type: counter
  307. alias: jmx.gc.major_collection_time
  308. - include:
  309. domain: java.lang
  310. type: GarbageCollector
  311. name: ConcurrentMarkSweep
  312. attribute:
  313. CollectionCount:
  314. metric_type: counter
  315. alias: jmx.gc.major_collection_count
  316. CollectionTime:
  317. metric_type: counter
  318. alias: jmx.gc.major_collection_time
  319. - include:
  320. domain: java.lang
  321. type: GarbageCollector
  322. name: G1 Mixed Generation
  323. attribute:
  324. CollectionCount:
  325. metric_type: counter
  326. alias: jmx.gc.major_collection_count
  327. CollectionTime:
  328. metric_type: counter
  329. alias: jmx.gc.major_collection_time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement