|
12 | 12 | <query>`puppet_metrics_index` sourcetype="puppet:metrics" |
13 | 13 | | dedup pe_console |
14 | 14 | | table pe_console</query> |
15 | | - <earliest>$field2.earliest$</earliest> |
16 | | - <latest>$field2.latest$</latest> |
17 | | - </search> |
18 | | - </input> |
19 | | - <input type="dropdown" token="host" searchWhenChanged="true"> |
20 | | - <label>Infrastructure Host</label> |
21 | | - <prefix>host="</prefix> |
22 | | - <suffix>"</suffix> |
23 | | - <fieldForLabel>host</fieldForLabel> |
24 | | - <fieldForValue>host</fieldForValue> |
25 | | - <search> |
26 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" $pe_console$ |
27 | | -| dedup host |
28 | | -| table host</query> |
29 | | - <earliest>$field2.earliest$</earliest> |
30 | | - <latest>$field2.latest$</latest> |
| 15 | + <earliest>-24h@h</earliest> |
| 16 | + <latest>now</latest> |
31 | 17 | </search> |
32 | 18 | </input> |
33 | | - <input type="dropdown" token="field1"> |
| 19 | + <input type="dropdown" token="metric" searchWhenChanged="true"> |
34 | 20 | <label>Metrics</label> |
35 | 21 | <choice value="puppetserver">Puppet Server</choice> |
36 | 22 | <choice value="puppetdb">PuppetDB</choice> |
|
64 | 50 | </condition> |
65 | 51 | </change> |
66 | 52 | </input> |
| 53 | + <input type="dropdown" token="host" searchWhenChanged="true"> |
| 54 | + <label>Infrastructure Host</label> |
| 55 | + <prefix>host="</prefix> |
| 56 | + <suffix>"</suffix> |
| 57 | + <fieldForLabel>host</fieldForLabel> |
| 58 | + <fieldForValue>host</fieldForValue> |
| 59 | + <search> |
| 60 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" $pe_console$ pe_service=$metric$ |
| 61 | +| dedup host |
| 62 | +| table host</query> |
| 63 | + <earliest>$field2.earliest$</earliest> |
| 64 | + <latest>$field2.latest$</latest> |
| 65 | + </search> |
| 66 | + </input> |
67 | 67 | <input type="time" token="field2" searchWhenChanged="true"> |
68 | 68 | <label>Time Range</label> |
69 | 69 | <default> |
|
239 | 239 | <chart> |
240 | 240 | <title>Average Requested JRubies</title> |
241 | 241 | <search> |
242 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver $host$ |
| 242 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver |
243 | 243 | | rename jruby-metrics.status.experimental.metrics.average-requested-jrubies as Requested_JRubies |
244 | | -| timechart span=300s values(Requested_JRubies) as "Requested JRubies"</query> |
| 244 | +| timechart span=300s values(Requested_JRubies) as "Requested JRubies" by host</query> |
245 | 245 | <earliest>$field2.earliest$</earliest> |
246 | 246 | <latest>$field2.latest$</latest> |
247 | 247 | <sampleRatio>1</sampleRatio> |
|
292 | 292 | <chart> |
293 | 293 | <title>Average Borrow / Compile Time</title> |
294 | 294 | <search> |
295 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver $host$ |
| 295 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver |
296 | 296 | | rename jruby-metrics.status.experimental.metrics.average-borrow-time as Borrow_Time, jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-catalog.mean as Compile_Time |
297 | 297 | | eval Borrow_Time=Borrow_Time/1000 |
298 | 298 | | eval Compile_Time=Compile_Time/1000 |
299 | | -| timechart span=300s avg(Borrow_Time) as "Borrow Time" values(Compile_Time) as "Compile Time"</query> |
| 299 | +| timechart span=300s avg(Borrow_Time) as "Borrow Time" values(Compile_Time) as "Compile Time" by host</query> |
300 | 300 | <earliest>$field2.earliest$</earliest> |
301 | 301 | <latest>$field2.latest$</latest> |
302 | 302 | <sampleRatio>1</sampleRatio> |
|
347 | 347 | <chart> |
348 | 348 | <title>Average Free JRubies</title> |
349 | 349 | <search> |
350 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver $host$ |
| 350 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver |
351 | 351 | | rename jruby-metrics.status.experimental.metrics.num-free-jrubies as Free_JRubies |
352 | | -| timechart span=300s avg(Free_JRubies) as "Free JRubies"</query> |
| 352 | +| timechart span=300s avg(Free_JRubies) as "Free JRubies" by host</query> |
353 | 353 | <earliest>$field2.earliest$</earliest> |
354 | 354 | <latest>$field2.latest$</latest> |
355 | 355 | <sampleRatio>1</sampleRatio> |
|
398 | 398 | <chart> |
399 | 399 | <title>Average Wait Time</title> |
400 | 400 | <search> |
401 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver $host$ |
| 401 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetserver |
402 | 402 | | rename jruby-metrics.status.experimental.metrics.average-wait-time as Wait_Time |
403 | 403 | | eval Wait_Time=Wait_Time/1000 |
404 | | -| timechart span=300s values(Wait_Time) as "Wait Time"</query> |
| 404 | +| timechart span=300s values(Wait_Time) as "Wait Time" by host</query> |
405 | 405 | <earliest>$field2.earliest$</earliest> |
406 | 406 | <latest>$field2.latest$</latest> |
407 | 407 | <sampleRatio>1</sampleRatio> |
@@ -1000,10 +1000,10 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1000 | 1000 | <chart> |
1001 | 1001 | <title>Commands Per Second</title> |
1002 | 1002 | <search> |
1003 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1003 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1004 | 1004 | | rename global_processed.FiveMinuteRate as "Commands per Second" |
1005 | 1005 | | eval 'Commands per Second'='Commands per Second'/300 |
1006 | | -| timechart span=300s list('Commands per Second') as "Commands per Second"</query> |
| 1006 | +| timechart span=300s list('Commands per Second') as "Commands per Second" by host</query> |
1007 | 1007 | <earliest>$field2.earliest$</earliest> |
1008 | 1008 | <latest>$field2.latest$</latest> |
1009 | 1009 | <sampleRatio>1</sampleRatio> |
@@ -1051,9 +1051,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1051 | 1051 | <chart> |
1052 | 1052 | <title>Command Processing Time</title> |
1053 | 1053 | <search> |
1054 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1054 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1055 | 1055 | | rename global_processing-time.95thPercentile as "Command Processing Time" |
1056 | | -| timechart span=300s list("Command Processing Time") as "Command Processing Time"</query> |
| 1056 | +| timechart span=300s list("Command Processing Time") as "Command Processing Time" by host</query> |
1057 | 1057 | <earliest>$field2.earliest$</earliest> |
1058 | 1058 | <latest>$field2.latest$</latest> |
1059 | 1059 | <sampleRatio>1</sampleRatio> |
@@ -1103,9 +1103,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1103 | 1103 | <chart> |
1104 | 1104 | <title>Queue Depth</title> |
1105 | 1105 | <search> |
1106 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1106 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1107 | 1107 | | rename puppetdb-status.status.queue_depth as "Queue Depth" |
1108 | | -| timechart span=300s list("Queue Depth") as "Queue Depth"</query> |
| 1108 | +| timechart span=300s list("Queue Depth") as "Queue Depth" by host</query> |
1109 | 1109 | <earliest>$field2.earliest$</earliest> |
1110 | 1110 | <latest>$field2.latest$</latest> |
1111 | 1111 | <sampleRatio>1</sampleRatio> |
@@ -1155,9 +1155,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1155 | 1155 | <chart> |
1156 | 1156 | <title>Replace Catalog Time</title> |
1157 | 1157 | <search> |
1158 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1158 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1159 | 1159 | | rename storage_replace-catalog-time.95thPercentile as "Replace Catalog Time" |
1160 | | -| timechart span=300s list("Replace Catalog Time") as "Replace Catalog Time"</query> |
| 1160 | +| timechart span=300s list("Replace Catalog Time") as "Replace Catalog Time" by host</query> |
1161 | 1161 | <earliest>$field2.earliest$</earliest> |
1162 | 1162 | <latest>$field2.latest$</latest> |
1163 | 1163 | <sampleRatio>1</sampleRatio> |
@@ -1205,9 +1205,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1205 | 1205 | <chart> |
1206 | 1206 | <title>Replace Facts Time</title> |
1207 | 1207 | <search> |
1208 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1208 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1209 | 1209 | | rename storage_replace-facts-time.95thPercentile as "Replace Facts Time" |
1210 | | -| timechart span=300s list("Replace Facts Time") as "Replace Facts Time"</query> |
| 1210 | +| timechart span=300s list("Replace Facts Time") as "Replace Facts Time" by host</query> |
1211 | 1211 | <earliest>$field2.earliest$</earliest> |
1212 | 1212 | <latest>$field2.latest$</latest> |
1213 | 1213 | <sampleRatio>1</sampleRatio> |
@@ -1255,9 +1255,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1255 | 1255 | <chart> |
1256 | 1256 | <title>Store Report Time</title> |
1257 | 1257 | <search> |
1258 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1258 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1259 | 1259 | | rename storage_store-report-time.95thPercentile as "Store Report Time" |
1260 | | -| timechart span=300s list("Store Report Time") as "Store Report Time"</query> |
| 1260 | +| timechart span=300s list("Store Report Time") as "Store Report Time" by host</query> |
1261 | 1261 | <earliest>$field2.earliest$</earliest> |
1262 | 1262 | <latest>$field2.latest$</latest> |
1263 | 1263 | <sampleRatio>1</sampleRatio> |
@@ -1411,9 +1411,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1411 | 1411 | <chart> |
1412 | 1412 | <title>Average Command Persistence Time</title> |
1413 | 1413 | <search> |
1414 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1414 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1415 | 1415 | | rename global_message-persistence-time.95thPercentile as "Command Persistence Time" |
1416 | | -| timechart span=300s avg("Command Persistence Time") as "Average Command Persistence Time"</query> |
| 1416 | +| timechart span=300s avg("Command Persistence Time") as "Average Command Persistence Time" by host</query> |
1417 | 1417 | <earliest>$field2.earliest$</earliest> |
1418 | 1418 | <latest>$field2.latest$</latest> |
1419 | 1419 | <sampleRatio>1</sampleRatio> |
@@ -1463,9 +1463,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1463 | 1463 | <chart> |
1464 | 1464 | <title>Average Read Duration</title> |
1465 | 1465 | <search> |
1466 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1466 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1467 | 1467 | | rename PDBReadPool_pool_Usage.95thPercentile as "Read Duration" |
1468 | | -| timechart span=300s avg("Read Duration") as "Average Read Duration"</query> |
| 1468 | +| timechart span=300s avg("Read Duration") as "Average Read Duration" by host</query> |
1469 | 1469 | <earliest>$field2.earliest$</earliest> |
1470 | 1470 | <latest>$field2.latest$</latest> |
1471 | 1471 | <sampleRatio>1</sampleRatio> |
@@ -1513,9 +1513,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1513 | 1513 | <chart> |
1514 | 1514 | <title>Peak Read Pool Wait</title> |
1515 | 1515 | <search> |
1516 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1516 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1517 | 1517 | | rename PDBReadPool_pool_Wait.999thPercentile as "Read Pool Wait" |
1518 | | -| timechart span=300s values("Read Pool Wait") as "Peak Read Pool Wait"</query> |
| 1518 | +| timechart span=300s values("Read Pool Wait") as "Peak Read Pool Wait" by host</query> |
1519 | 1519 | <earliest>$field2.earliest$</earliest> |
1520 | 1520 | <latest>$field2.latest$</latest> |
1521 | 1521 | <sampleRatio>1</sampleRatio> |
@@ -1563,9 +1563,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1563 | 1563 | <chart> |
1564 | 1564 | <title>Read Pool Pending Connections</title> |
1565 | 1565 | <search> |
1566 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1566 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1567 | 1567 | | rename PDBReadPool_pool_PendingConnections.Value as "Read Pool Pending" |
1568 | | -| timechart span=300s values("Read Pool Pending") as "Read Pool Pending Connections"</query> |
| 1568 | +| timechart span=300s values("Read Pool Pending") as "Read Pool Pending Connections" by host</query> |
1569 | 1569 | <earliest>$field2.earliest$</earliest> |
1570 | 1570 | <latest>$field2.latest$</latest> |
1571 | 1571 | <sampleRatio>1</sampleRatio> |
@@ -1615,9 +1615,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1615 | 1615 | <chart> |
1616 | 1616 | <title>Average Write Duration</title> |
1617 | 1617 | <search> |
1618 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1618 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1619 | 1619 | | rename PDBWritePool_pool_Usage.95thPercentile as "Write Duration" |
1620 | | -| timechart span=300s avg("Write Duration") as "Average Write Duration"</query> |
| 1620 | +| timechart span=300s avg("Write Duration") as "Average Write Duration" by host</query> |
1621 | 1621 | <earliest>$field2.earliest$</earliest> |
1622 | 1622 | <latest>$field2.latest$</latest> |
1623 | 1623 | <sampleRatio>1</sampleRatio> |
@@ -1665,9 +1665,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1665 | 1665 | <chart> |
1666 | 1666 | <title>Peak Write Pool Wait</title> |
1667 | 1667 | <search> |
1668 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1668 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1669 | 1669 | | rename PDBWritePool_pool_Wait.999thPercentile as "Write Pool Wait" |
1670 | | -| timechart span=300s values("Write Pool Wait") as "Peak Write Pool Wait"</query> |
| 1670 | +| timechart span=300s values("Write Pool Wait") as "Peak Write Pool Wait" by host</query> |
1671 | 1671 | <earliest>$field2.earliest$</earliest> |
1672 | 1672 | <latest>$field2.latest$</latest> |
1673 | 1673 | <sampleRatio>1</sampleRatio> |
@@ -1715,9 +1715,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1715 | 1715 | <chart> |
1716 | 1716 | <title>Write Pool Pending Connections</title> |
1717 | 1717 | <search> |
1718 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1718 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1719 | 1719 | | rename PDBWritePool_pool_PendingConnections.Value as "Write Pool Pending" |
1720 | | -| timechart span=300s values("Write Pool Pending") as "Write Pool Pending Connections"</query> |
| 1720 | +| timechart span=300s values("Write Pool Pending") as "Write Pool Pending Connections" by host</query> |
1721 | 1721 | <earliest>$field2.earliest$</earliest> |
1722 | 1722 | <latest>$field2.latest$</latest> |
1723 | 1723 | <sampleRatio>1</sampleRatio> |
@@ -1767,9 +1767,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1767 | 1767 | <chart> |
1768 | 1768 | <title>Global Discards</title> |
1769 | 1769 | <search> |
1770 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1770 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1771 | 1771 | | rename global_discarded.OneMinuteRate as "Global Discards" |
1772 | | -| timechart span=300s values("Global Discards") as "Global Discards"</query> |
| 1772 | +| timechart span=300s values("Global Discards") as "Global Discards" by host</query> |
1773 | 1773 | <earliest>$field2.earliest$</earliest> |
1774 | 1774 | <latest>$field2.latest$</latest> |
1775 | 1775 | <sampleRatio>1</sampleRatio> |
@@ -1817,9 +1817,9 @@ jruby-metrics.status.experimental.metrics.borrow-timers.puppet-v3-node.rate as N |
1817 | 1817 | <chart> |
1818 | 1818 | <title>Global Fatals</title> |
1819 | 1819 | <search> |
1820 | | - <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb $host$ |
| 1820 | + <query>`puppet_metrics_index` sourcetype="puppet:metrics" pe_service=puppetdb |
1821 | 1821 | | rename global_fatal.OneMinuteRate as "Global Fatals" |
1822 | | -| timechart span=300s values("Global Fatals") as "Global Fatals"</query> |
| 1822 | +| timechart span=300s values("Global Fatals") as "Global Fatals" by host</query> |
1823 | 1823 | <earliest>$field2.earliest$</earliest> |
1824 | 1824 | <latest>$field2.latest$</latest> |
1825 | 1825 | <sampleRatio>1</sampleRatio> |
|
0 commit comments