|
3 | 3 | "description": "Performance and health metrics for a single Kafka Broker", |
4 | 4 | "pages": [ |
5 | 5 | { |
6 | | - "name": "Broker Overview", |
| 6 | + "name": "Broker overview", |
7 | 7 | "widgets": [ |
8 | 8 | { |
9 | 9 | "title": "Broker details", |
|
20 | 20 | "nrqlQueries": [ |
21 | 21 | { |
22 | 22 | "accountId": 0, |
23 | | - "query": "SELECT latest(kafka.partition.count) as 'Partitions on this broker' FROM Metric WHERE metricName='kafka.partition.count' facet kafka.cluster.name as 'Kafka cluster name', broker.id as 'Broker Id' limit 1" |
| 23 | + "query": "SELECT latest(kafka.partition.count) as 'Partitions on this broker' FROM Metric WHERE metricName='kafka.partition.count' facet kafka.cluster.name as 'Kafka cluster name', broker.id as 'Broker ID' limit 1" |
24 | 24 | } |
25 | 25 | ] |
26 | 26 | } |
27 | 27 | }, |
28 | 28 | { |
29 | | - "title": "Messages In Per Second", |
| 29 | + "title": "Messages in per second", |
30 | 30 | "layout": { |
31 | 31 | "column": 1, |
32 | 32 | "row": 2, |
|
40 | 40 | "nrqlQueries": [ |
41 | 41 | { |
42 | 42 | "accountId": 0, |
43 | | - "query": "SELECT sum(kafka.message.count) / sum((endTimestamp - timestamp) / 1000) AS `Messages In per Second` FROM Metric WHERE metricName = 'kafka.message.count' TIMESERIES AUTO" |
| 43 | + "query": "SELECT sum(kafka.message.count) / sum((endTimestamp - timestamp) / 1000) AS `Messages in per second` FROM Metric WHERE metricName = 'kafka.message.count' TIMESERIES AUTO" |
44 | 44 | } |
45 | 45 | ] |
46 | 46 | } |
47 | 47 | }, |
48 | 48 | { |
49 | | - "title": "Bytes In and Out", |
| 49 | + "title": "Bytes in and out", |
50 | 50 | "layout": { |
51 | 51 | "column": 7, |
52 | 52 | "row": 2, |
|
60 | 60 | "nrqlQueries": [ |
61 | 61 | { |
62 | 62 | "accountId": 0, |
63 | | - "query": "SELECT filter(sum(kafka.network.io) /sum((endTimestamp - timestamp) / 1000), WHERE (state = 'in' or direction = 'in')) AS `Bytes In`, filter(sum(kafka.network.io) / sum((endTimestamp - timestamp) / 1000), WHERE (state = 'out' or direction = 'out')) AS `Bytes Out` FROM Metric WHERE metricName = 'kafka.network.io' TIMESERIES AUTO" |
| 63 | + "query": "SELECT filter(sum(kafka.network.io) /sum((endTimestamp - timestamp) / 1000), WHERE (state = 'in' or direction = 'in')) AS `Bytes in`, filter(sum(kafka.network.io) / sum((endTimestamp - timestamp) / 1000), WHERE (state = 'out' or direction = 'out')) AS `Bytes out` FROM Metric WHERE metricName = 'kafka.network.io' TIMESERIES AUTO" |
64 | 64 | } |
65 | 65 | ] |
66 | 66 | } |
67 | 67 | }, |
68 | 68 | { |
69 | | - "title": "Under Replicated Partitions", |
| 69 | + "title": "Under replicated partitions", |
70 | 70 | "layout": { |
71 | 71 | "column": 1, |
72 | 72 | "row": 5, |
|
80 | 80 | "nrqlQueries": [ |
81 | 81 | { |
82 | 82 | "accountId": 0, |
83 | | - "query": "SELECT max(kafka.partition.under_replicated) AS 'Under Replicated Partitions' FROM Metric WHERE metricName='kafka.partition.under_replicated' TIMESERIES AUTO" |
| 83 | + "query": "SELECT max(kafka.partition.under_replicated) AS 'Under replicated partitions' FROM Metric WHERE metricName='kafka.partition.under_replicated' TIMESERIES AUTO" |
84 | 84 | } |
85 | 85 | ] |
86 | 86 | } |
87 | 87 | }, |
88 | 88 | { |
89 | | - "title": "Under Min ISR Partitions", |
| 89 | + "title": "Under min ISR partitions", |
90 | 90 | "layout": { |
91 | 91 | "column": 7, |
92 | 92 | "row": 5, |
|
100 | 100 | "nrqlQueries": [ |
101 | 101 | { |
102 | 102 | "accountId": 0, |
103 | | - "query": "SELECT max(kafka.partition.under_min_isr) AS 'Under Min ISR Partitions' FROM Metric WHERE metricName = 'kafka.partition.under_min_isr' TIMESERIES AUTO" |
| 103 | + "query": "SELECT max(kafka.partition.under_min_isr) AS 'Under min ISR partitions' FROM Metric WHERE metricName = 'kafka.partition.under_min_isr' TIMESERIES AUTO" |
104 | 104 | } |
105 | 105 | ] |
106 | 106 | } |
107 | 107 | }, |
108 | 108 | { |
109 | | - "title": "In-Sync Replica Operations (per min)", |
| 109 | + "title": "In-sync replica operations (per min)", |
110 | 110 | "layout": { |
111 | 111 | "column": 1, |
112 | 112 | "row": 8, |
|
120 | 120 | "nrqlQueries": [ |
121 | 121 | { |
122 | 122 | "accountId": 0, |
123 | | - "query": "SELECT rate(sum(kafka.isr.operation.count), 1 minute) AS 'ISR Operations' FROM Metric WHERE metricName = 'kafka.isr.operation.count' TIMESERIES AUTO FACET operation" |
| 123 | + "query": "SELECT rate(sum(kafka.isr.operation.count), 1 minute) AS 'ISR operations' FROM Metric WHERE metricName = 'kafka.isr.operation.count' TIMESERIES AUTO FACET operation" |
124 | 124 | } |
125 | 125 | ] |
126 | 126 | } |
127 | 127 | }, |
128 | 128 | { |
129 | | - "title": "Max Replica Lag (Messages)", |
| 129 | + "title": "Max replica lag (messages)", |
130 | 130 | "layout": { |
131 | 131 | "column": 5, |
132 | 132 | "row": 8, |
|
146 | 146 | } |
147 | 147 | }, |
148 | 148 | { |
149 | | - "title": "Request Latency (99th Percentile) (ms)", |
| 149 | + "title": "Request latency (99th percentile) (ms)", |
150 | 150 | "layout": { |
151 | 151 | "column": 9, |
152 | 152 | "row": 8, |
|
160 | 160 | "nrqlQueries": [ |
161 | 161 | { |
162 | 162 | "accountId": 0, |
163 | | - "query": "SELECT filter(average(`kafka.request.time.99p`), WHERE type='Produce') AS `Produce`, filter(average(`kafka.request.time.99p`), WHERE type = 'FetchConsumer') AS `Consumer Fetch`, filter(average(`kafka.request.time.99p`), WHERE type = 'FetchFollower') AS `Follower Fetch` FROM Metric WHERE metricName = 'kafka.request.time.99p' TIMESERIES AUTO" |
| 163 | + "query": "SELECT filter(average(`kafka.request.time.99p`), WHERE type='Produce') AS `Produce`, filter(average(`kafka.request.time.99p`), WHERE type = 'FetchConsumer') AS `Consumer fetch`, filter(average(`kafka.request.time.99p`), WHERE type = 'FetchFollower') AS `Follower fetch` FROM Metric WHERE metricName = 'kafka.request.time.99p' TIMESERIES AUTO" |
164 | 164 | } |
165 | 165 | ] |
166 | 166 | } |
167 | 167 | }, |
168 | 168 | { |
169 | | - "title": "Requests In Per Second", |
| 169 | + "title": "Requests per second", |
170 | 170 | "layout": { |
171 | 171 | "column": 1, |
172 | 172 | "row": 11, |
|
180 | 180 | "nrqlQueries": [ |
181 | 181 | { |
182 | 182 | "accountId": 0, |
183 | | - "query": "SELECT rate(sum(kafka.request.count), 1 second) AS `Requests Per Second` FROM Metric WHERE metricName = 'kafka.request.count' AND type IN ('fetch', 'produce') TIMESERIES AUTO FACET type" |
| 183 | + "query": "SELECT rate(sum(kafka.request.count), 1 second) AS `Requests per second` FROM Metric WHERE metricName = 'kafka.request.count' AND type IN ('fetch', 'produce') TIMESERIES AUTO FACET type" |
184 | 184 | } |
185 | 185 | ] |
186 | 186 | } |
187 | 187 | }, |
188 | 188 | { |
189 | | - "title": "Request Failures Per Second", |
| 189 | + "title": "Request failures per second", |
190 | 190 | "layout": { |
191 | 191 | "column": 5, |
192 | 192 | "row": 11, |
|
200 | 200 | "nrqlQueries": [ |
201 | 201 | { |
202 | 202 | "accountId": 0, |
203 | | - "query": "SELECT sum(kafka.request.failed) / sum((endTimestamp - timestamp) / 1000) AS `Failed Requests` FROM Metric WHERE metricName = 'kafka.request.failed' TIMESERIES AUTO FACET type" |
| 203 | + "query": "SELECT sum(kafka.request.failed) / sum((endTimestamp - timestamp) / 1000) AS `Failed requests` FROM Metric WHERE metricName = 'kafka.request.failed' TIMESERIES AUTO FACET type" |
204 | 204 | } |
205 | 205 | ] |
206 | 206 | } |
207 | 207 | }, |
208 | 208 | { |
209 | | - "title": "Requests Waiting in Purgatory", |
| 209 | + "title": "Requests waiting in purgatory", |
210 | 210 | "layout": { |
211 | 211 | "column": 9, |
212 | 212 | "row": 11, |
|
220 | 220 | "nrqlQueries": [ |
221 | 221 | { |
222 | 222 | "accountId": 0, |
223 | | - "query": "SELECT average(kafka.purgatory.size) AS `Requests Waiting in Purgatory` FROM Metric WHERE metricName = 'kafka.purgatory.size' facet type TIMESERIES AUTO" |
| 223 | + "query": "SELECT average(kafka.purgatory.size) AS `Requests waiting in purgatory` FROM Metric WHERE metricName = 'kafka.purgatory.size' facet type TIMESERIES AUTO" |
224 | 224 | } |
225 | 225 | ] |
226 | 226 | } |
|
240 | 240 | "nrqlQueries": [ |
241 | 241 | { |
242 | 242 | "accountId": 0, |
243 | | - "query": "SELECT sum(`jvm.gc.collections.count`) AS 'Garbage Collections Count' FROM Metric WHERE metricName = 'jvm.gc.collections.count' TIMESERIES AUTO" |
| 243 | + "query": "SELECT sum(`jvm.gc.collections.count`) AS 'Garbage collections count' FROM Metric WHERE metricName = 'jvm.gc.collections.count' TIMESERIES AUTO" |
244 | 244 | } |
245 | 245 | ] |
246 | 246 | } |
|
260 | 260 | "nrqlQueries": [ |
261 | 261 | { |
262 | 262 | "accountId": 0, |
263 | | - "query": "SELECT average(`jvm.memory.heap.used`) AS `Heap Used in Bytes`, average(`jvm.memory.heap.max`) AS `Heap Max in Bytes` FROM Metric WHERE metricName IN ('jvm.memory.heap.used', 'jvm.memory.heap.max') TIMESERIES AUTO" |
| 263 | + "query": "SELECT average(`jvm.memory.heap.used`) AS `Heap used in bytes`, average(`jvm.memory.heap.max`) AS `Heap max in bytes` FROM Metric WHERE metricName IN ('jvm.memory.heap.used', 'jvm.memory.heap.max') TIMESERIES AUTO" |
264 | 264 | } |
265 | 265 | ] |
266 | 266 | } |
|
280 | 280 | "nrqlQueries": [ |
281 | 281 | { |
282 | 282 | "accountId": 0, |
283 | | - "query": "SELECT average(`jvm.threads.count`) AS `Thread Count` FROM Metric WHERE metricName = 'jvm.threads.count' TIMESERIES AUTO" |
| 283 | + "query": "SELECT average(`jvm.threads.count`) AS `Thread count` FROM Metric WHERE metricName = 'jvm.threads.count' TIMESERIES AUTO" |
284 | 284 | } |
285 | 285 | ] |
286 | 286 | } |
|
0 commit comments