librato-metrics-taps 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +42 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +46 -0
- data/LICENSE.txt +20 -0
- data/README.md +145 -0
- data/Rakefile +1 -0
- data/VERSION +1 -0
- data/bin/librato-metrics-tap-jmxbeans +209 -0
- data/examples/cassandra/cfstats-0_7_6-2.yaml +18 -0
- data/examples/cassandra/cfstats-0_8_1.yaml +20 -0
- data/examples/cassandra/cfstats-0_8_8.yaml +20 -0
- data/examples/cassandra/cfstats-1_1_6.yaml +29 -0
- data/examples/cassandra/tpstats-0_7_6-2.yaml +70 -0
- data/examples/cassandra/tpstats-0_8_1.yaml +62 -0
- data/examples/cassandra/tpstats-0_8_8.yaml +82 -0
- data/examples/cassandra/tpstats-1_1_6.yaml +137 -0
- data/examples/java-lang.yaml +21 -0
- data/lib/librato-metrics-taps.rb +0 -0
- data/lib/librato/metrics/taps.rb +24 -0
- data/lib/librato/metrics/taps/jmx.rb +141 -0
- data/lib/librato/metrics/taps/publisher.rb +88 -0
- data/librato-metrics-taps.gemspec +30 -0
- data/temp_sensors/check_em01.c +657 -0
- data/temp_sensors/report-em01b.rb +90 -0
- data/test/helper.rb +18 -0
- data/test/test_librato-metrics-taps.rb +7 -0
- metadata +199 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
# Set of attributes to grab for each CF.
|
2
|
+
# TODO: Add comment description for each
|
3
|
+
#
|
4
|
+
---
|
5
|
+
LiveDiskSpaceUsed:
|
6
|
+
LiveSSTableCount:
|
7
|
+
MaxRowSize:
|
8
|
+
MeanRowSize:
|
9
|
+
MinRowSize:
|
10
|
+
MemtableSwitchCount: counter
|
11
|
+
PendingTasks:
|
12
|
+
ReadCount: counter
|
13
|
+
RecentReadLatencyMicros:
|
14
|
+
RecentWriteLatencyMicros:
|
15
|
+
TotalDiskSpaceUsed:
|
16
|
+
TotalReadLatencyMicros: counter
|
17
|
+
TotalWriteLatencyMicros: counter
|
18
|
+
WriteCount: counter
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Set of attributes to grab for each CF.
|
2
|
+
# TODO: Add comment description for each
|
3
|
+
#
|
4
|
+
---
|
5
|
+
LiveDiskSpaceUsed:
|
6
|
+
LiveSSTableCount:
|
7
|
+
MaxRowSize:
|
8
|
+
MeanRowSize:
|
9
|
+
MinRowSize:
|
10
|
+
MemtableColumnsCount: counter
|
11
|
+
MemtableDataSize:
|
12
|
+
MemtableSwitchCount: counter
|
13
|
+
PendingTasks:
|
14
|
+
ReadCount: counter
|
15
|
+
RecentReadLatencyMicros:
|
16
|
+
RecentWriteLatencyMicros:
|
17
|
+
TotalDiskSpaceUsed:
|
18
|
+
TotalReadLatencyMicros: counter
|
19
|
+
TotalWriteLatencyMicros: counter
|
20
|
+
WriteCount: counter
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Set of attributes to grab for each CF.
|
2
|
+
# TODO: Add comment description for each
|
3
|
+
#
|
4
|
+
---
|
5
|
+
LiveDiskSpaceUsed:
|
6
|
+
LiveSSTableCount:
|
7
|
+
MaxRowSize:
|
8
|
+
MeanRowSize:
|
9
|
+
MinRowSize:
|
10
|
+
MemtableColumnsCount: counter
|
11
|
+
MemtableDataSize:
|
12
|
+
MemtableSwitchCount: counter
|
13
|
+
PendingTasks:
|
14
|
+
ReadCount: counter
|
15
|
+
RecentReadLatencyMicros:
|
16
|
+
RecentWriteLatencyMicros:
|
17
|
+
TotalDiskSpaceUsed: counter
|
18
|
+
TotalReadLatencyMicros: counter
|
19
|
+
TotalWriteLatencyMicros: counter
|
20
|
+
WriteCount: counter
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Set of attributes to grab for each CF.
|
2
|
+
# TODO: Add comment description for each
|
3
|
+
#
|
4
|
+
---
|
5
|
+
BloomFilterDiskSpaceUsed: counter
|
6
|
+
BloomFilterFalsePositives: counter
|
7
|
+
BloomFilterFalseRatio:
|
8
|
+
CompressionRatio:
|
9
|
+
LiveDiskSpaceUsed:
|
10
|
+
LiveSSTableCount:
|
11
|
+
MaxRowSize:
|
12
|
+
MeanRowSize:
|
13
|
+
MinRowSize:
|
14
|
+
MaximumCompactionThreshold:
|
15
|
+
MinimumCompactionThreshold:
|
16
|
+
MemtableColumnsCount: counter
|
17
|
+
MemtableDataSize:
|
18
|
+
MemtableSwitchCount: counter
|
19
|
+
PendingTasks:
|
20
|
+
ReadCount: counter
|
21
|
+
RecentBloomFilterFalsePositives:
|
22
|
+
RecentBloomFilterFalseRatio:
|
23
|
+
RecentReadLatencyMicros:
|
24
|
+
RecentWriteLatencyMicros:
|
25
|
+
TotalDiskSpaceUsed: counter
|
26
|
+
TotalReadLatencyMicros: counter
|
27
|
+
TotalWriteLatencyMicros: counter
|
28
|
+
UnleveledSSTables:
|
29
|
+
WriteCount: counter
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Set of non-CF specific Cassandra JMX knobs
|
2
|
+
#
|
3
|
+
---
|
4
|
+
org.apache.cassandra.internal:type=AntiEntropyStage:
|
5
|
+
ActiveCount:
|
6
|
+
CompletedTasks: counter
|
7
|
+
PendingTasks:
|
8
|
+
org.apache.cassandra.internal:type=FlushSorter:
|
9
|
+
ActiveCount:
|
10
|
+
CompletedTasks: counter
|
11
|
+
PendingTasks:
|
12
|
+
org.apache.cassandra.internal:type=FlushWriter:
|
13
|
+
ActiveCount:
|
14
|
+
CompletedTasks: counter
|
15
|
+
PendingTasks:
|
16
|
+
org.apache.cassandra.internal:type=GossipStage:
|
17
|
+
ActiveCount:
|
18
|
+
CompletedTasks: counter
|
19
|
+
PendingTasks:
|
20
|
+
org.apache.cassandra.internal:type=HintedHandoff:
|
21
|
+
ActiveCount:
|
22
|
+
CompletedTasks: counter
|
23
|
+
PendingTasks:
|
24
|
+
org.apache.cassandra.internal:type=InternalResponseStage:
|
25
|
+
ActiveCount:
|
26
|
+
CompletedTasks: counter
|
27
|
+
PendingTasks:
|
28
|
+
org.apache.cassandra.internal:type=MemtablePostFlusher:
|
29
|
+
ActiveCount:
|
30
|
+
CompletedTasks: counter
|
31
|
+
PendingTasks:
|
32
|
+
org.apache.cassandra.internal:type=MigrationStage:
|
33
|
+
ActiveCount:
|
34
|
+
CompletedTasks: counter
|
35
|
+
PendingTasks:
|
36
|
+
org.apache.cassandra.internal:type=MiscStage:
|
37
|
+
ActiveCount:
|
38
|
+
CompletedTasks: counter
|
39
|
+
PendingTasks:
|
40
|
+
org.apache.cassandra.internal:type=StreamStage:
|
41
|
+
ActiveCount:
|
42
|
+
CompletedTasks: counter
|
43
|
+
PendingTasks:
|
44
|
+
org.apache.cassandra.db:type=Commitlog:
|
45
|
+
ActiveCount:
|
46
|
+
CompletedTasks: counter
|
47
|
+
PendingTasks:
|
48
|
+
org.apache.cassandra.db:type=CompactionManager:
|
49
|
+
BytesCompacted: counter
|
50
|
+
BytesTotalInProgress:
|
51
|
+
CompletedTasks: counter
|
52
|
+
PendingTasks:
|
53
|
+
org.apache.cassandra.db:type=StorageService:
|
54
|
+
- Load
|
55
|
+
org.apache.cassandra.request:type=MutationStage:
|
56
|
+
ActiveCount:
|
57
|
+
CompletedTasks: counter
|
58
|
+
PendingTasks:
|
59
|
+
org.apache.cassandra.request:type=ReadRepairStage:
|
60
|
+
ActiveCount:
|
61
|
+
CompletedTasks: counter
|
62
|
+
PendingTasks:
|
63
|
+
org.apache.cassandra.request:type=ReadStage:
|
64
|
+
ActiveCount:
|
65
|
+
CompletedTasks: counter
|
66
|
+
PendingTasks:
|
67
|
+
org.apache.cassandra.request:type=RequestResponseStage:
|
68
|
+
ActiveCount:
|
69
|
+
CompletedTasks: counter
|
70
|
+
PendingTasks:
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Set of non-CF specific Cassandra JMX knobs
|
2
|
+
#
|
3
|
+
---
|
4
|
+
org.apache.cassandra.internal:type=AntiEntropyStage:
|
5
|
+
ActiveCount:
|
6
|
+
CompletedTasks: counter
|
7
|
+
PendingTasks:
|
8
|
+
org.apache.cassandra.internal:type=FlushSorter:
|
9
|
+
ActiveCount:
|
10
|
+
CompletedTasks: counter
|
11
|
+
PendingTasks:
|
12
|
+
org.apache.cassandra.internal:type=FlushWriter:
|
13
|
+
ActiveCount:
|
14
|
+
CompletedTasks: counter
|
15
|
+
PendingTasks:
|
16
|
+
org.apache.cassandra.internal:type=GossipStage:
|
17
|
+
ActiveCount:
|
18
|
+
CompletedTasks: counter
|
19
|
+
PendingTasks:
|
20
|
+
org.apache.cassandra.internal:type=HintedHandoff:
|
21
|
+
ActiveCount:
|
22
|
+
CompletedTasks: counter
|
23
|
+
PendingTasks:
|
24
|
+
org.apache.cassandra.internal:type=InternalResponseStage:
|
25
|
+
ActiveCount:
|
26
|
+
CompletedTasks: counter
|
27
|
+
PendingTasks:
|
28
|
+
org.apache.cassandra.internal:type=MemtablePostFlusher:
|
29
|
+
ActiveCount:
|
30
|
+
CompletedTasks: counter
|
31
|
+
PendingTasks:
|
32
|
+
org.apache.cassandra.internal:type=MigrationStage:
|
33
|
+
ActiveCount:
|
34
|
+
CompletedTasks: counter
|
35
|
+
PendingTasks:
|
36
|
+
org.apache.cassandra.internal:type=MiscStage:
|
37
|
+
ActiveCount:
|
38
|
+
CompletedTasks: counter
|
39
|
+
PendingTasks:
|
40
|
+
org.apache.cassandra.internal:type=StreamStage:
|
41
|
+
ActiveCount:
|
42
|
+
CompletedTasks: counter
|
43
|
+
PendingTasks:
|
44
|
+
org.apache.cassandra.db:type=Commitlog:
|
45
|
+
ActiveCount:
|
46
|
+
CompletedTasks: counter
|
47
|
+
PendingTasks:
|
48
|
+
org.apache.cassandra.db:type=CompactionManager:
|
49
|
+
CompletedTasks: counter
|
50
|
+
PendingTasks:
|
51
|
+
org.apache.cassandra.db:type=StorageService:
|
52
|
+
Load:
|
53
|
+
org.apache.cassandra.db:type=StorageProxy:
|
54
|
+
RecentRangeLatencyMicros:
|
55
|
+
RecentReadLatencyMicros:
|
56
|
+
RecentWriteLatencyMicros:
|
57
|
+
TotalRangeLatencyMicros: counter
|
58
|
+
TotalReadLatencyMicros: counter
|
59
|
+
TotalWriteLatencyMicros: counter
|
60
|
+
RangeOperations:
|
61
|
+
ReadOperations:
|
62
|
+
WriteOperations:
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Set of non-CF specific Cassandra JMX knobs
|
2
|
+
#
|
3
|
+
---
|
4
|
+
org.apache.cassandra.internal:type=AntiEntropyStage:
|
5
|
+
ActiveCount:
|
6
|
+
CompletedTasks: counter
|
7
|
+
PendingTasks:
|
8
|
+
org.apache.cassandra.internal:type=FlushSorter:
|
9
|
+
ActiveCount:
|
10
|
+
CompletedTasks: counter
|
11
|
+
PendingTasks:
|
12
|
+
org.apache.cassandra.internal:type=FlushWriter:
|
13
|
+
ActiveCount:
|
14
|
+
CompletedTasks: counter
|
15
|
+
PendingTasks:
|
16
|
+
org.apache.cassandra.internal:type=GossipStage:
|
17
|
+
ActiveCount:
|
18
|
+
CompletedTasks: counter
|
19
|
+
PendingTasks:
|
20
|
+
org.apache.cassandra.internal:type=HintedHandoff:
|
21
|
+
ActiveCount:
|
22
|
+
CompletedTasks: counter
|
23
|
+
PendingTasks:
|
24
|
+
org.apache.cassandra.internal:type=InternalResponseStage:
|
25
|
+
ActiveCount:
|
26
|
+
CompletedTasks: counter
|
27
|
+
PendingTasks:
|
28
|
+
org.apache.cassandra.internal:type=MemtablePostFlusher:
|
29
|
+
ActiveCount:
|
30
|
+
CompletedTasks: counter
|
31
|
+
PendingTasks:
|
32
|
+
org.apache.cassandra.internal:type=MigrationStage:
|
33
|
+
ActiveCount:
|
34
|
+
CompletedTasks: counter
|
35
|
+
PendingTasks:
|
36
|
+
org.apache.cassandra.internal:type=MiscStage:
|
37
|
+
ActiveCount:
|
38
|
+
CompletedTasks: counter
|
39
|
+
PendingTasks:
|
40
|
+
org.apache.cassandra.internal:type=StreamStage:
|
41
|
+
ActiveCount:
|
42
|
+
CompletedTasks: counter
|
43
|
+
PendingTasks:
|
44
|
+
org.apache.cassandra.db:type=Commitlog:
|
45
|
+
ActiveCount:
|
46
|
+
CompletedTasks: counter
|
47
|
+
PendingTasks:
|
48
|
+
org.apache.cassandra.db:type=CompactionManager:
|
49
|
+
CompletedTasks: counter
|
50
|
+
PendingTasks:
|
51
|
+
org.apache.cassandra.db:type=StorageService:
|
52
|
+
Load:
|
53
|
+
org.apache.cassandra.db:type=StorageProxy:
|
54
|
+
RecentRangeLatencyMicros:
|
55
|
+
RecentReadLatencyMicros:
|
56
|
+
RecentWriteLatencyMicros:
|
57
|
+
TotalRangeLatencyMicros: counter
|
58
|
+
TotalReadLatencyMicros: counter
|
59
|
+
TotalWriteLatencyMicros: counter
|
60
|
+
RangeOperations: counter
|
61
|
+
ReadOperations: counter
|
62
|
+
WriteOperations: counter
|
63
|
+
org.apache.cassandra.request:type=MutationStage:
|
64
|
+
ActiveCount:
|
65
|
+
CompletedTasks: counter
|
66
|
+
PendingTasks:
|
67
|
+
org.apache.cassandra.request:type=ReadRepairStage:
|
68
|
+
ActiveCount:
|
69
|
+
CompletedTasks: counter
|
70
|
+
PendingTasks:
|
71
|
+
org.apache.cassandra.request:type=ReadStage:
|
72
|
+
ActiveCount:
|
73
|
+
CompletedTasks: counter
|
74
|
+
PendingTasks:
|
75
|
+
org.apache.cassandra.request:type=ReplicateOnWriteStage:
|
76
|
+
ActiveCount:
|
77
|
+
CompletedTasks: counter
|
78
|
+
PendingTasks:
|
79
|
+
org.apache.cassandra.request:type=RequestResponseStage:
|
80
|
+
ActiveCount:
|
81
|
+
CompletedTasks: counter
|
82
|
+
PendingTasks:
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# Set of non-CF specific Cassandra JMX knobs
|
2
|
+
#
|
3
|
+
---
|
4
|
+
org.apache.cassandra.db:type=Caches:
|
5
|
+
KeyCacheCapacityInBytes:
|
6
|
+
KeyCacheEntries:
|
7
|
+
KeyCacheHits: counter
|
8
|
+
KeyCacheRecentHitRate:
|
9
|
+
KeyCacheRequests: counter
|
10
|
+
KeyCacheSize:
|
11
|
+
org.apache.cassandra.db:type=Commitlog:
|
12
|
+
ActiveCount:
|
13
|
+
CompletedTasks: counter
|
14
|
+
PendingTasks:
|
15
|
+
org.apache.cassandra.db:type=CompactionManager:
|
16
|
+
CompletedTasks: counter
|
17
|
+
PendingTasks:
|
18
|
+
TotalBytesCompacted: counter
|
19
|
+
TotalCompactionsCompleted: counter
|
20
|
+
org.apache.cassandra.db:type=StorageService:
|
21
|
+
Load:
|
22
|
+
CompactionThroughputMbPerSec:
|
23
|
+
ExceptionCount:
|
24
|
+
StreamThroughputMbPerSec:
|
25
|
+
org.apache.cassandra.db:type=StorageProxy:
|
26
|
+
HintsInProgress:
|
27
|
+
RecentRangeLatencyMicros:
|
28
|
+
RecentReadLatencyMicros:
|
29
|
+
RecentWriteLatencyMicros:
|
30
|
+
TotalRangeLatencyMicros: counter
|
31
|
+
TotalReadLatencyMicros: counter
|
32
|
+
TotalWriteLatencyMicros: counter
|
33
|
+
TotalHints: counter
|
34
|
+
RangeOperations: counter
|
35
|
+
ReadOperations: counter
|
36
|
+
WriteOperations: counter
|
37
|
+
org.apache.cassandra.internal:type=AntiEntropyStage:
|
38
|
+
ActiveCount:
|
39
|
+
CompletedTasks: counter
|
40
|
+
PendingTasks:
|
41
|
+
CurrentlyBlockedTasks:
|
42
|
+
TotalBlockedTasks: counter
|
43
|
+
org.apache.cassandra.internal:type=FlushWriter:
|
44
|
+
ActiveCount:
|
45
|
+
CompletedTasks: counter
|
46
|
+
PendingTasks:
|
47
|
+
CurrentlyBlockedTasks:
|
48
|
+
TotalBlockedTasks: counter
|
49
|
+
org.apache.cassandra.internal:type=GossipStage:
|
50
|
+
ActiveCount:
|
51
|
+
CompletedTasks: counter
|
52
|
+
PendingTasks:
|
53
|
+
CurrentlyBlockedTasks:
|
54
|
+
TotalBlockedTasks: counter
|
55
|
+
org.apache.cassandra.internal:type=HintedHandoff:
|
56
|
+
ActiveCount:
|
57
|
+
CompletedTasks: counter
|
58
|
+
PendingTasks:
|
59
|
+
CurrentlyBlockedTasks:
|
60
|
+
TotalBlockedTasks: counter
|
61
|
+
org.apache.cassandra.internal:type=InternalResponseStage:
|
62
|
+
ActiveCount:
|
63
|
+
CompletedTasks: counter
|
64
|
+
PendingTasks:
|
65
|
+
CurrentlyBlockedTasks:
|
66
|
+
TotalBlockedTasks: counter
|
67
|
+
org.apache.cassandra.internal:type=MemtablePostFlusher:
|
68
|
+
ActiveCount:
|
69
|
+
CompletedTasks: counter
|
70
|
+
PendingTasks:
|
71
|
+
CurrentlyBlockedTasks:
|
72
|
+
TotalBlockedTasks: counter
|
73
|
+
org.apache.cassandra.internal:type=MigrationStage:
|
74
|
+
ActiveCount:
|
75
|
+
CompletedTasks: counter
|
76
|
+
PendingTasks:
|
77
|
+
CurrentlyBlockedTasks:
|
78
|
+
TotalBlockedTasks: counter
|
79
|
+
org.apache.cassandra.internal:type=MiscStage:
|
80
|
+
ActiveCount:
|
81
|
+
CompletedTasks: counter
|
82
|
+
PendingTasks:
|
83
|
+
CurrentlyBlockedTasks:
|
84
|
+
TotalBlockedTasks: counter
|
85
|
+
org.apache.cassandra.internal:type=PendingRangeCalculator:
|
86
|
+
ActiveCount:
|
87
|
+
CompletedTasks: counter
|
88
|
+
PendingTasks:
|
89
|
+
CurrentlyBlockedTasks:
|
90
|
+
TotalBlockedTasks: counter
|
91
|
+
org.apache.cassandra.internal:type=StreamStage:
|
92
|
+
ActiveCount:
|
93
|
+
CompletedTasks: counter
|
94
|
+
PendingTasks:
|
95
|
+
CurrentlyBlockedTasks:
|
96
|
+
TotalBlockedTasks: counter
|
97
|
+
org.apache.cassandra.request:type=MutationStage:
|
98
|
+
ActiveCount:
|
99
|
+
CompletedTasks: counter
|
100
|
+
PendingTasks:
|
101
|
+
CurrentlyBlockedTasks:
|
102
|
+
TotalBlockedTasks: counter
|
103
|
+
org.apache.cassandra.request:type=ReadRepairStage:
|
104
|
+
ActiveCount:
|
105
|
+
CompletedTasks: counter
|
106
|
+
PendingTasks:
|
107
|
+
CurrentlyBlockedTasks:
|
108
|
+
TotalBlockedTasks: counter
|
109
|
+
org.apache.cassandra.request:type=ReadStage:
|
110
|
+
ActiveCount:
|
111
|
+
CompletedTasks: counter
|
112
|
+
PendingTasks:
|
113
|
+
CurrentlyBlockedTasks:
|
114
|
+
TotalBlockedTasks: counter
|
115
|
+
org.apache.cassandra.request:type=ReplicateOnWriteStage:
|
116
|
+
ActiveCount:
|
117
|
+
CompletedTasks: counter
|
118
|
+
PendingTasks:
|
119
|
+
CurrentlyBlockedTasks:
|
120
|
+
TotalBlockedTasks: counter
|
121
|
+
org.apache.cassandra.request:type=RequestResponseStage:
|
122
|
+
ActiveCount:
|
123
|
+
CompletedTasks: counter
|
124
|
+
PendingTasks:
|
125
|
+
CurrentlyBlockedTasks:
|
126
|
+
TotalBlockedTasks: counter
|
127
|
+
org.apache.cassandra.net:type=MessagingService:
|
128
|
+
RecentTotalTimouts:
|
129
|
+
TotalTimeouts: counter
|
130
|
+
org.apache.cassandra.metrics:type=ClientRequestMetrics,name=ReadTimeouts:
|
131
|
+
Count: counter
|
132
|
+
org.apache.cassandra.metrics:type=ClientRequestMetrics,name=ReadUnavailables:
|
133
|
+
Count: counter
|
134
|
+
org.apache.cassandra.metrics:type=ClientRequestMetrics,name=WriteTimeouts:
|
135
|
+
Count: counter
|
136
|
+
org.apache.cassandra.metrics:type=ClientRequestMetrics,name=WriteUnavailables:
|
137
|
+
Count: counter
|