diff --git a/web/mock/system/cluster.js b/web/mock/cluster/cluster.js similarity index 100% rename from web/mock/system/cluster.js rename to web/mock/cluster/cluster.js diff --git a/web/mock/cluster/metrics.js b/web/mock/cluster/metrics.js new file mode 100644 index 00000000..b166f983 --- /dev/null +++ b/web/mock/cluster/metrics.js @@ -0,0 +1,2591 @@ +export default { + 'GET /_search-center/cluster/:id/metrics': function(req, res){ + res.send({ + "summary" : { + "status" : "green", + "used_store_bytes" : 2440421140, + "max_store_bytes" : 4440421140, + "uptime" : 23367057, + "used_jvm_bytes" : 7466051200, + "max_jvm_bytes" : 16106127360, + "indices_count" : 24000, + "document_count" : 143430000000, + "total_shards" : 101000, + "primary_shards" : 51000, + "version" : [ + "7.9.0" + ], + "nodes_count" : 300, + "unassigned_shards" : 0 + }, + "metrics" : { + "cluster_throughput" : { + "axis":[ + { + "id":"indexing", + "position":"left", + "group":"group-1", + "title":"indexing", + "formatType":"num", + "labelFormat":"0,0", + "tickFormat":"0,0.[00]", + "ticks":"5", + "showGridLines":true, + },{ + "id":"searching", + "position":"right", + "group":"group-2", + "title":"searching", + "formatType":"num", + "labelFormat":"0,0", + "tickFormat":"0,0.[00]", + "showGridLines":false, + } + ], + "lines":[ + { + "timeRange" : { + "min" : 1613898824192, + "max" : 1613902424192 + }, + "metric" : { + "metricAgg" : "max", + "format" : "0,0.[00]", + "app" : "elasticsearch", + "hasCalculation" : false, + "title" : "Indexing Rate", + "isDerivative" : true, + "field" : "indices_stats._all.total.indexing.index_total", + "label" : "Total Indexing", + "description" : "Number of documents being indexed for primary and replica shards.", + "units" : "/s", + "formatType":"num", + "tickFormat":"0,0.[00]", + "group" : "group-1" + }, + "data" : [ + [ + 1613898840000, + 16.800000000000001 + ], + [ + 1613898870000, + 16.600000000000001 + ], + [ + 1613898900000, + 16.800000000000001 + ], + [ + 1613898930000, + 16.600000000000001 + ], + [ + 1613898960000, + 16.800000000000001 + ], + [ + 1613898990000, + 16.600000000000001 + ], + [ + 1613899020000, + 16.800000000000001 + ], + [ + 1613899050000, + 16.533333333333335 + ], + [ + 1613899080000, + 16.800000000000001 + ], + [ + 1613899110000, + 16.600000000000001 + ], + [ + 1613899140000, + 16.800000000000001 + ], + [ + 1613899170000, + 16.600000000000001 + ], + [ + 1613899200000, + 16.800000000000001 + ], + [ + 1613899230000, + 16.600000000000001 + ], + [ + 1613899260000, + 16.800000000000001 + ], + [ + 1613899290000, + 16.600000000000001 + ], + [ + 1613899320000, + 16.800000000000001 + ], + [ + 1613899350000, + 16.733333333333334 + ], + [ + 1613899380000, + 16.600000000000001 + ], + [ + 1613899410000, + 16.800000000000001 + ], + [ + 1613899440000, + 16.600000000000001 + ], + [ + 1613899470000, + 16.800000000000001 + ], + [ + 1613899500000, + 16.666666666666668 + ], + [ + 1613899530000, + 16.733333333333334 + ], + [ + 1613899560000, + 16.600000000000001 + ], + [ + 1613899590000, + 16.800000000000001 + ], + [ + 1613899620000, + 16.600000000000001 + ], + [ + 1613899650000, + 16.800000000000001 + ], + [ + 1613899680000, + 16.600000000000001 + ], + [ + 1613899710000, + 16.833333333333332 + ], + [ + 1613899740000, + 16.633333333333333 + ], + [ + 1613899770000, + 16.933333333333334 + ], + [ + 1613899800000, + 16.533333333333335 + ], + [ + 1613899830000, + 16.866666666666667 + ], + [ + 1613899860000, + 16.600000000000001 + ], + [ + 1613899890000, + 16.800000000000001 + ], + [ + 1613899920000, + 16.600000000000001 + ], + [ + 1613899950000, + 16.866666666666667 + ], + [ + 1613899980000, + 16.666666666666668 + ], + [ + 1613900010000, + 16.600000000000001 + ], + [ + 1613900040000, + 16.800000000000001 + ], + [ + 1613900070000, + 16.600000000000001 + ], + [ + 1613900100000, + 16.800000000000001 + ], + [ + 1613900130000, + 16.600000000000001 + ], + [ + 1613900160000, + 16.800000000000001 + ], + [ + 1613900190000, + 16.600000000000001 + ], + [ + 1613900220000, + 16.800000000000001 + ], + [ + 1613900250000, + 16.600000000000001 + ], + [ + 1613900280000, + 16.800000000000001 + ], + [ + 1613900310000, + 16.600000000000001 + ], + [ + 1613900340000, + 16.800000000000001 + ], + [ + 1613900370000, + 16.600000000000001 + ], + [ + 1613900400000, + 16.800000000000001 + ], + [ + 1613900430000, + 16.600000000000001 + ], + [ + 1613900460000, + 16.800000000000001 + ], + [ + 1613900490000, + 16.600000000000001 + ], + [ + 1613900520000, + 16.800000000000001 + ], + [ + 1613900550000, + 16.600000000000001 + ], + [ + 1613900580000, + 16.800000000000001 + ], + [ + 1613900610000, + 16.600000000000001 + ], + [ + 1613900640000, + 16.600000000000001 + ], + [ + 1613900670000, + 16.800000000000001 + ], + [ + 1613900700000, + 16.600000000000001 + ], + [ + 1613900730000, + 16.800000000000001 + ], + [ + 1613900760000, + 16.666666666666668 + ], + [ + 1613900790000, + 16.800000000000001 + ], + [ + 1613900820000, + 16.600000000000001 + ], + [ + 1613900850000, + 16.800000000000001 + ], + [ + 1613900880000, + 16.600000000000001 + ], + [ + 1613900910000, + 16.800000000000001 + ], + [ + 1613900940000, + 16.600000000000001 + ], + [ + 1613900970000, + 16.800000000000001 + ], + [ + 1613901000000, + 16.600000000000001 + ], + [ + 1613901030000, + 16.800000000000001 + ], + [ + 1613901060000, + 16.600000000000001 + ], + [ + 1613901090000, + 16.800000000000001 + ], + [ + 1613901120000, + 16.600000000000001 + ], + [ + 1613901150000, + 16.800000000000001 + ], + [ + 1613901180000, + 16.600000000000001 + ], + [ + 1613901210000, + 16.800000000000001 + ], + [ + 1613901240000, + 16.600000000000001 + ], + [ + 1613901270000, + 16.600000000000001 + ], + [ + 1613901300000, + 16.800000000000001 + ], + [ + 1613901330000, + 16.600000000000001 + ], + [ + 1613901360000, + 16.800000000000001 + ], + [ + 1613901390000, + 16.600000000000001 + ], + [ + 1613901420000, + 16.800000000000001 + ], + [ + 1613901450000, + 16.600000000000001 + ], + [ + 1613901480000, + 16.800000000000001 + ], + [ + 1613901510000, + 16.600000000000001 + ], + [ + 1613901540000, + 16.800000000000001 + ], + [ + 1613901570000, + 16.600000000000001 + ], + [ + 1613901600000, + 16.800000000000001 + ], + [ + 1613901630000, + 16.600000000000001 + ], + [ + 1613901660000, + 16.800000000000001 + ], + [ + 1613901690000, + 16.600000000000001 + ], + [ + 1613901720000, + 16.800000000000001 + ], + [ + 1613901750000, + 16.600000000000001 + ], + [ + 1613901780000, + 16.800000000000001 + ], + [ + 1613901810000, + 16.600000000000001 + ], + [ + 1613901840000, + 16.800000000000001 + ], + [ + 1613901870000, + 16.600000000000001 + ], + [ + 1613901900000, + 16.600000000000001 + ], + [ + 1613901930000, + 16.800000000000001 + ], + [ + 1613901960000, + 16.600000000000001 + ], + [ + 1613901990000, + 16.766666666666666 + ], + [ + 1613902020000, + 16.600000000000001 + ], + [ + 1613902050000, + 16.833333333333332 + ], + [ + 1613902080000, + 16.899999999999999 + ], + [ + 1613902110000, + 16.833333333333332 + ], + [ + 1613902140000, + 16.533333333333335 + ], + [ + 1613902170000, + 16.800000000000001 + ], + [ + 1613902200000, + 16.600000000000001 + ], + [ + 1613902230000, + 16.866666666666667 + ], + [ + 1613902260000, + 16.600000000000001 + ], + [ + 1613902290000, + 16.800000000000001 + ], + [ + 1613902320000, + 16.600000000000001 + ], + [ + 1613902350000, + 16.766666666666666 + ], + [ + 1613902380000, + 16.699999999999999 + ] + ], + "bucket_size" : "30 seconds" + }, + { + "timeRange" : { + "min" : 1613898824192, + "max" : 1613902424192 + }, + "metric" : { + "metricAgg" : "max", + "format" : "0,0.[00]", + "app" : "elasticsearch", + "hasCalculation" : false, + "title" : "Indexing Rate", + "isDerivative" : true, + "field" : "indices_stats._all.primaries.indexing.index_total", + "label" : "Primary Indexing", + "description" : "Number of documents being indexed for primary shards.", + "units" : "/s", + "formatType":"num", + "tickFormat":"0,0.[00]", + "group" : "group-1" + }, + "data" : [ + [ + 1613898840000, + 5998.4000000000000004 + ], + [ + 1613898870000, + 5990.3000000000000007 + ], + [ + 1613898900000, + 5898.4000000000000004 + ], + [ + 1613898930000, + 5798.3000000000000007 + ], + [ + 1613898960000, + 8.4000000000000004 + ], + [ + 1613898990000, + 8.3000000000000007 + ], + [ + 1613899020000, + 8.4000000000000004 + ], + [ + 1613899050000, + 8.2666666666666675 + ], + [ + 1613899080000, + 8.4000000000000004 + ], + [ + 1613899110000, + 8.3000000000000007 + ], + [ + 1613899140000, + 8.4000000000000004 + ], + [ + 1613899170000, + 8.3000000000000007 + ], + [ + 1613899200000, + 8.4000000000000004 + ], + [ + 1613899230000, + 8.3000000000000007 + ], + [ + 1613899260000, + 8.4000000000000004 + ], + [ + 1613899290000, + 8.3000000000000007 + ], + [ + 1613899320000, + 8.4000000000000004 + ], + [ + 1613899350000, + 8.3666666666666671 + ], + [ + 1613899380000, + 8.3000000000000007 + ], + [ + 1613899410000, + 8.4000000000000004 + ], + [ + 1613899440000, + 8.3000000000000007 + ], + [ + 1613899470000, + 8.4000000000000004 + ], + [ + 1613899500000, + 8.3333333333333339 + ], + [ + 1613899530000, + 8.3666666666666671 + ], + [ + 1613899560000, + 8.3000000000000007 + ], + [ + 1613899590000, + 8.4000000000000004 + ], + [ + 1613899620000, + 8.3000000000000007 + ], + [ + 1613899650000, + 8.4000000000000004 + ], + [ + 1613899680000, + 8.3000000000000007 + ], + [ + 1613899710000, + 8.4333333333333336 + ], + [ + 1613899740000, + 8.3000000000000007 + ], + [ + 1613899770000, + 8.4666666666666668 + ], + [ + 1613899800000, + 8.2666666666666675 + ], + [ + 1613899830000, + 8.4333333333333336 + ], + [ + 1613899860000, + 8.3000000000000007 + ], + [ + 1613899890000, + 8.4000000000000004 + ], + [ + 1613899920000, + 8.3000000000000007 + ], + [ + 1613899950000, + 8.4333333333333336 + ], + [ + 1613899980000, + 8.3333333333333339 + ], + [ + 1613900010000, + 8.3000000000000007 + ], + [ + 1613900040000, + 8.4000000000000004 + ], + [ + 1613900070000, + 8.3000000000000007 + ], + [ + 1613900100000, + 8.4000000000000004 + ], + [ + 1613900130000, + 8.3000000000000007 + ], + [ + 1613900160000, + 8.4000000000000004 + ], + [ + 1613900190000, + 8.3000000000000007 + ], + [ + 1613900220000, + 8.4000000000000004 + ], + [ + 1613900250000, + 8.3000000000000007 + ], + [ + 1613900280000, + 8.4000000000000004 + ], + [ + 1613900310000, + 8.3000000000000007 + ], + [ + 1613900340000, + 8.4000000000000004 + ], + [ + 1613900370000, + 8.3000000000000007 + ], + [ + 1613900400000, + 8.4000000000000004 + ], + [ + 1613900430000, + 8.3000000000000007 + ], + [ + 1613900460000, + 8.4000000000000004 + ], + [ + 1613900490000, + 8.3000000000000007 + ], + [ + 1613900520000, + 8.4000000000000004 + ], + [ + 1613900550000, + 8.3000000000000007 + ], + [ + 1613900580000, + 8.4000000000000004 + ], + [ + 1613900610000, + 8.3000000000000007 + ], + [ + 1613900640000, + 8.3000000000000007 + ], + [ + 1613900670000, + 8.4000000000000004 + ], + [ + 1613900700000, + 8.3000000000000007 + ], + [ + 1613900730000, + 8.4000000000000004 + ], + [ + 1613900760000, + 8.3333333333333339 + ], + [ + 1613900790000, + 8.4000000000000004 + ], + [ + 1613900820000, + 8.3000000000000007 + ], + [ + 1613900850000, + 8.4000000000000004 + ], + [ + 1613900880000, + 8.3000000000000007 + ], + [ + 1613900910000, + 8.4000000000000004 + ], + [ + 1613900940000, + 8.3000000000000007 + ], + [ + 1613900970000, + 8.4000000000000004 + ], + [ + 1613901000000, + 8.3000000000000007 + ], + [ + 1613901030000, + 8.4000000000000004 + ], + [ + 1613901060000, + 8.3000000000000007 + ], + [ + 1613901090000, + 8.4000000000000004 + ], + [ + 1613901120000, + 8.3000000000000007 + ], + [ + 1613901150000, + 8.4000000000000004 + ], + [ + 1613901180000, + 8.3000000000000007 + ], + [ + 1613901210000, + 8.4000000000000004 + ], + [ + 1613901240000, + 8.3000000000000007 + ], + [ + 1613901270000, + 8.3000000000000007 + ], + [ + 1613901300000, + 8.4000000000000004 + ], + [ + 1613901330000, + 8.3000000000000007 + ], + [ + 1613901360000, + 8.4000000000000004 + ], + [ + 1613901390000, + 8.3000000000000007 + ], + [ + 1613901420000, + 8.4000000000000004 + ], + [ + 1613901450000, + 8.3000000000000007 + ], + [ + 1613901480000, + 8.4000000000000004 + ], + [ + 1613901510000, + 8.3000000000000007 + ], + [ + 1613901540000, + 8.4000000000000004 + ], + [ + 1613901570000, + 8.3000000000000007 + ], + [ + 1613901600000, + 8.4000000000000004 + ], + [ + 1613901630000, + 8.3000000000000007 + ], + [ + 1613901660000, + 8.4000000000000004 + ], + [ + 1613901690000, + 8.3000000000000007 + ], + [ + 1613901720000, + 8.4000000000000004 + ], + [ + 1613901750000, + 8.3000000000000007 + ], + [ + 1613901780000, + 8.4000000000000004 + ], + [ + 1613901810000, + 8.3000000000000007 + ], + [ + 1613901840000, + 8.4000000000000004 + ], + [ + 1613901870000, + 8.3000000000000007 + ], + [ + 1613901900000, + 8.3000000000000007 + ], + [ + 1613901930000, + 8.4000000000000004 + ], + [ + 1613901960000, + 8.3000000000000007 + ], + [ + 1613901990000, + 8.4000000000000004 + ], + [ + 1613902020000, + 8.3000000000000007 + ], + [ + 1613902050000, + 8.4000000000000004 + ], + [ + 1613902080000, + 8.4666666666666668 + ], + [ + 1613902110000, + 8.4000000000000004 + ], + [ + 1613902140000, + 8.2666666666666675 + ], + [ + 1613902170000, + 8.4000000000000004 + ], + [ + 1613902200000, + 8.3000000000000007 + ], + [ + 1613902230000, + 8.4333333333333336 + ], + [ + 1613902260000, + 8.3000000000000007 + ], + [ + 1613902290000, + 8.4000000000000004 + ], + [ + 1613902320000, + 8.3000000000000007 + ], + [ + 1613902350000, + 8.4000000000000004 + ], + [ + 1613902380000, + 8.3333333333333339 + ] + ], + "bucket_size" : "30 seconds" + }, + { + "timeRange" : { + "min" : 1613898824192, + "max" : 1613902424192 + }, + "metric" : { + "metricAgg" : "max", + "format" : "0,0.[00]", + "app" : "elasticsearch", + "hasCalculation" : false, + "title" : "Search Rate", + "isDerivative" : true, + "field" : "indices_stats._all.total.search.query_total", + "label" : "Total Searching", + "description" : "Number of search requests being executed across primary and replica shards. A single search can run against multiple shards!", + "units" : "/s", + "formatType":"num", + "tickFormat":"0,0.[00]", + "group" : "group-2" + }, + "data" : [ + [ + 1613898840000, + 5.2333333333333334 + ], + [ + 1613898870000, + 5.1333333333333337 + ], + [ + 1613898900000, + 3.6333333333333333 + ], + [ + 1613898930000, + 5.166666666666667 + ], + [ + 1613898960000, + 3.6333333333333333 + ], + [ + 1613898990000, + 5.166666666666667 + ], + [ + 1613899020000, + 5.2000000000000002 + ], + [ + 1613899050000, + 3.5666666666666669 + ], + [ + 1613899080000, + 5.2333333333333334 + ], + [ + 1613899110000, + 3.5666666666666669 + ], + [ + 1613899140000, + 5.2333333333333334 + ], + [ + 1613899170000, + 5.0999999999999996 + ], + [ + 1613899200000, + 3.6333333333333333 + ], + [ + 1613899230000, + 5.166666666666667 + ], + [ + 1613899260000, + 3.6333333333333333 + ], + [ + 1613899290000, + 5.166666666666667 + ], + [ + 1613899320000, + 5.2333333333333334 + ], + [ + 1613899350000, + 3.5666666666666669 + ], + [ + 1613899380000, + 5.1333333333333337 + ], + [ + 1613899410000, + 3.6000000000000001 + ], + [ + 1613899440000, + 5.166666666666667 + ], + [ + 1613899470000, + 3.6333333333333333 + ], + [ + 1613899500000, + 5.166666666666667 + ], + [ + 1613899530000, + 3.6333333333333333 + ], + [ + 1613899560000, + 5.0999999999999996 + ], + [ + 1613899590000, + 5.2333333333333334 + ], + [ + 1613899620000, + 3.5666666666666669 + ], + [ + 1613899650000, + 5.2333333333333334 + ], + [ + 1613899680000, + 3.5666666666666669 + ], + [ + 1613899710000, + 5.2333333333333334 + ], + [ + 1613899740000, + 6.2666666666666666 + ], + [ + 1613899770000, + 18.466666666666665 + ], + [ + 1613899800000, + 8.5666666666666664 + ], + [ + 1613899830000, + 12.733333333333333 + ], + [ + 1613899860000, + 8.5666666666666664 + ], + [ + 1613899890000, + 12.733333333333333 + ], + [ + 1613899920000, + 12.666666666666666 + ], + [ + 1613899950000, + 8.6333333333333329 + ], + [ + 1613899980000, + 12.666666666666666 + ], + [ + 1613900010000, + 8.5666666666666664 + ], + [ + 1613900040000, + 12.733333333333333 + ], + [ + 1613900070000, + 8.5666666666666664 + ], + [ + 1613900100000, + 12.733333333333333 + ], + [ + 1613900130000, + 8.5666666666666664 + ], + [ + 1613900160000, + 12.733333333333333 + ], + [ + 1613900190000, + 8.5666666666666664 + ], + [ + 1613900220000, + 12.733333333333333 + ], + [ + 1613900250000, + 8.4666666666666668 + ], + [ + 1613900280000, + 8.6333333333333329 + ], + [ + 1613900310000, + 12.666666666666666 + ], + [ + 1613900340000, + 8.6333333333333329 + ], + [ + 1613900370000, + 12.666666666666666 + ], + [ + 1613900400000, + 8.5999999999999996 + ], + [ + 1613900430000, + 8.6333333333333329 + ], + [ + 1613900460000, + 12.666666666666666 + ], + [ + 1613900490000, + 8.5666666666666664 + ], + [ + 1613900520000, + 8.6333333333333329 + ], + [ + 1613900550000, + 12.666666666666666 + ], + [ + 1613900580000, + 8.6333333333333329 + ], + [ + 1613900610000, + 12.666666666666666 + ], + [ + 1613900640000, + 12.666666666666666 + ], + [ + 1613900670000, + 8.6666666666666661 + ], + [ + 1613900700000, + 12.666666666666666 + ], + [ + 1613900730000, + 8.6333333333333329 + ], + [ + 1613900760000, + 12.666666666666666 + ], + [ + 1613900790000, + 12.733333333333333 + ], + [ + 1613900820000, + 8.5666666666666664 + ], + [ + 1613900850000, + 12.733333333333333 + ], + [ + 1613900880000, + 12.666666666666666 + ], + [ + 1613900910000, + 8.6333333333333329 + ], + [ + 1613900940000, + 12.666666666666666 + ], + [ + 1613900970000, + 8.6333333333333329 + ], + [ + 1613901000000, + 12.666666666666666 + ], + [ + 1613901030000, + 8.6333333333333329 + ], + [ + 1613901060000, + 12.666666666666666 + ], + [ + 1613901090000, + 8.6333333333333329 + ], + [ + 1613901120000, + 8.5666666666666664 + ], + [ + 1613901150000, + 12.733333333333333 + ], + [ + 1613901180000, + 8.5666666666666664 + ], + [ + 1613901210000, + 12.733333333333333 + ], + [ + 1613901240000, + 12.666666666666666 + ], + [ + 1613901270000, + 8.5666666666666664 + ], + [ + 1613901300000, + 12.733333333333333 + ], + [ + 1613901330000, + 8.5666666666666664 + ], + [ + 1613901360000, + 12.733333333333333 + ], + [ + 1613901390000, + 8.5666666666666664 + ], + [ + 1613901420000, + 12.733333333333333 + ], + [ + 1613901450000, + 8.5666666666666664 + ], + [ + 1613901480000, + 12.733333333333333 + ], + [ + 1613901510000, + 8.5666666666666664 + ], + [ + 1613901540000, + 12.733333333333333 + ], + [ + 1613901570000, + 8.5666666666666664 + ], + [ + 1613901600000, + 12.699999999999999 + ], + [ + 1613901630000, + 8.5666666666666664 + ], + [ + 1613901660000, + 8.6333333333333329 + ], + [ + 1613901690000, + 8.5666666666666664 + ], + [ + 1613901720000, + 8.6333333333333329 + ], + [ + 1613901750000, + 12.633333333333333 + ], + [ + 1613901780000, + 12.733333333333333 + ], + [ + 1613901810000, + 8.5 + ], + [ + 1613901840000, + 8.6333333333333329 + ], + [ + 1613901870000, + 12.666666666666666 + ], + [ + 1613901900000, + 8.5666666666666664 + ], + [ + 1613901930000, + 12.733333333333333 + ], + [ + 1613901960000, + 8.5666666666666664 + ], + [ + 1613901990000, + 12.733333333333333 + ], + [ + 1613902020000, + 12.666666666666666 + ], + [ + 1613902050000, + 8.6333333333333329 + ], + [ + 1613902080000, + 12.666666666666666 + ], + [ + 1613902110000, + 8.6333333333333329 + ], + [ + 1613902140000, + 12.666666666666666 + ], + [ + 1613902170000, + 12.733333333333333 + ], + [ + 1613902200000, + 8.5 + ], + [ + 1613902230000, + 12.733333333333333 + ], + [ + 1613902260000, + 8.5666666666666664 + ], + [ + 1613902290000, + 12.733333333333333 + ], + [ + 1613902320000, + 8.5666666666666664 + ], + [ + 1613902350000, + 12.733333333333333 + ], + [ + 1613902380000, + 8.5666666666666664 + ] + ], + "bucket_size" : "30 seconds" + } + ] + }, + "cluster_latency" :{ + "axis":[ + { + "id":"indexing", + "position":"left", + "group":"group-1", + "title":"indexing", + "formatType":"num", + "labelFormat":"0,0.[00]", + "tickFormat":"0,0.[00]", + "ticks":"5", + "showGridLines":true, + }, + { + "id":"searching", + "position":"right", + "group":"group-2", + "title":"searching", + "formatType":"num", + "labelFormat":"0,0.[00]", + "tickFormat":"0,0.[00]", + "ticks":"5", + "showGridLines":false, + } + ], + "lines": [ + { + "timeRange" : { + "min" : 1613898824192, + "max" : 1613902424192 + }, + "metric" : { + "metricAgg" : "sum", + "app" : "elasticsearch", + "hasCalculation" : true, + "isDerivative" : false, + "field" : "indices_stats._all.primaries.indexing.index_total", + "group" : "group-1", + "label" : "Indexing", + "description" : "Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This only considers primary shards.", + "units" : "ms", + "formatType":"num", + "tickFormat":"0,0.[00]", + }, + "data" : [ + [ + 1613898840000, + 0.35714285714285715 + ], + [ + 1613898870000, + 0.31325301204819278 + ], + [ + 1613898900000, + 0.1626984126984127 + ], + [ + 1613898930000, + 0.73092369477911634 + ], + [ + 1613898960000, + 0.33333333333333331 + ], + [ + 1613898990000, + 0.2971887550200803 + ], + [ + 1613899020000, + 0.13095238095238096 + ], + [ + 1613899050000, + 2.2096774193548385 + ], + [ + 1613899080000, + 0.24206349206349204 + ], + [ + 1613899110000, + 0.10843373493975902 + ], + [ + 1613899140000, + 0.10317460317460317 + ], + [ + 1613899170000, + 0.26104417670682728 + ], + [ + 1613899200000, + 0.26984126984126983 + ], + [ + 1613899230000, + 0.076305220883534128 + ], + [ + 1613899260000, + 0.17063492063492064 + ], + [ + 1613899290000, + 0.44176706827309231 + ], + [ + 1613899320000, + 0.26587301587301587 + ], + [ + 1613899350000, + 0.61354581673306774 + ], + [ + 1613899380000, + 0.13253012048192772 + ], + [ + 1613899410000, + 1.1666666666666667 + ], + [ + 1613899440000, + 0.47791164658634533 + ], + [ + 1613899470000, + 0.8214285714285714 + ], + [ + 1613899500000, + 0.096000000000000002 + ], + [ + 1613899530000, + 0.15537848605577689 + ], + [ + 1613899560000, + 0.52610441767068261 + ], + [ + 1613899590000, + 1.1507936507936507 + ], + [ + 1613899620000, + 0.09638554216867469 + ], + [ + 1613899650000, + 0.37301587301587302 + ], + [ + 1613899680000, + 0.51405622489959835 + ], + [ + 1613899710000, + 0.60869565217391308 + ], + [ + 1613899740000, + 0.35742971887550201 + ], + [ + 1613899770000, + 0.28346456692913385 + ], + [ + 1613899800000, + 0.33870967741935476 + ], + [ + 1613899830000, + 0.38735177865612647 + ], + [ + 1613899860000, + 0.29317269076305214 + ], + [ + 1613899890000, + 0.11507936507936507 + ], + [ + 1613899920000, + 0.16867469879518071 + ], + [ + 1613899950000, + 0.39920948616600788 + ], + [ + 1613899980000, + 0.27599999999999997 + ], + [ + 1613900010000, + 0.34939759036144574 + ], + [ + 1613900040000, + 0.15079365079365079 + ], + [ + 1613900070000, + 0.46987951807228912 + ], + [ + 1613900100000, + 0.32142857142857145 + ], + [ + 1613900130000, + 0.50602409638554213 + ], + [ + 1613900160000, + 0.11507936507936507 + ], + [ + 1613900190000, + 0.12449799196787149 + ], + [ + 1613900220000, + 0.23015873015873015 + ], + [ + 1613900250000, + 0.38554216867469876 + ], + [ + 1613900280000, + 0.37698412698412698 + ], + [ + 1613900310000, + 0.16867469879518071 + ], + [ + 1613900340000, + 0.38888888888888884 + ], + [ + 1613900370000, + 0.57429718875502 + ], + [ + 1613900400000, + 0.36507936507936511 + ], + [ + 1613900430000, + 0.16064257028112447 + ], + [ + 1613900460000, + 0.2857142857142857 + ], + [ + 1613900490000, + 0.47791164658634533 + ], + [ + 1613900520000, + 0.23809523809523808 + ], + [ + 1613900550000, + 0.15261044176706826 + ], + [ + 1613900580000, + 0.51984126984126977 + ], + [ + 1613900610000, + 0.36144578313253006 + ], + [ + 1613900640000, + 0.2730923694779116 + ], + [ + 1613900670000, + 0.34920634920634919 + ], + [ + 1613900700000, + 0.93975903614457823 + ], + [ + 1613900730000, + 0.51190476190476186 + ], + [ + 1613900760000, + 0.27199999999999996 + ], + [ + 1613900790000, + 0.12301587301587302 + ], + [ + 1613900820000, + 0.40160642570281124 + ], + [ + 1613900850000, + 0.31349206349206349 + ], + [ + 1613900880000, + 0.09638554216867469 + ], + [ + 1613900910000, + 0.25793650793650791 + ], + [ + 1613900940000, + 0.2329317269076305 + ], + [ + 1613900970000, + 0.3611111111111111 + ], + [ + 1613901000000, + 0.29317269076305214 + ], + [ + 1613901030000, + 0.30555555555555558 + ], + [ + 1613901060000, + 0.36546184738955817 + ], + [ + 1613901090000, + 0.21825396825396823 + ], + [ + 1613901120000, + 0.15662650602409639 + ], + [ + 1613901150000, + 0.26984126984126983 + ], + [ + 1613901180000, + 0.75100401606425693 + ], + [ + 1613901210000, + 0.63888888888888884 + ], + [ + 1613901240000, + 0.088353413654618462 + ], + [ + 1613901270000, + 0.28514056224899598 + ], + [ + 1613901300000, + 0.40079365079365076 + ], + [ + 1613901330000, + 0.31325301204819278 + ], + [ + 1613901360000, + 0.19444444444444442 + ], + [ + 1613901390000, + 0.21285140562248994 + ], + [ + 1613901420000, + 0.38095238095238093 + ], + [ + 1613901450000, + 0.38152610441767065 + ], + [ + 1613901480000, + 0.42460317460317459 + ], + [ + 1613901510000, + 0.12449799196787149 + ], + [ + 1613901540000, + 0.19047619047619047 + ], + [ + 1613901570000, + 0.32931726907630521 + ], + [ + 1613901600000, + 0.3968253968253968 + ], + [ + 1613901630000, + 0.2048192771084337 + ], + [ + 1613901660000, + 0.30555555555555558 + ], + [ + 1613901690000, + 0.67469879518072284 + ], + [ + 1613901720000, + 0.5 + ], + [ + 1613901750000, + 0.20080321285140562 + ], + [ + 1613901780000, + 0.34126984126984128 + ], + [ + 1613901810000, + 0.33734939759036142 + ], + [ + 1613901840000, + 0.29761904761904762 + ], + [ + 1613901870000, + 0.26506024096385544 + ], + [ + 1613901900000, + 0.49799196787148597 + ], + [ + 1613901930000, + 0.59126984126984128 + ], + [ + 1613901960000, + 0.34136546184738953 + ], + [ + 1613901990000, + 0.18650793650793651 + ], + [ + 1613902020000, + 1.506024096385542 + ], + [ + 1613902050000, + 0.97619047619047605 + ], + [ + 1613902080000, + 0.37401574803149606 + ], + [ + 1613902110000, + 0.4682539682539682 + ], + [ + 1613902140000, + 0.66129032258064513 + ], + [ + 1613902170000, + 0.59126984126984128 + ], + [ + 1613902200000, + 0.46586345381526101 + ], + [ + 1613902230000, + 0.32806324110671936 + ], + [ + 1613902260000, + 0.87550200803212841 + ], + [ + 1613902290000, + 0.45238095238095233 + ], + [ + 1613902320000, + 0.32931726907630521 + ], + [ + 1613902350000, + 0.46428571428571425 + ], + [ + 1613902380000, + 1.4359999999999999 + ] + ], + "bucket_size" : "30 seconds" + }, + { + "timeRange" : { + "min" : 1613898824192, + "max" : 1613902424192 + }, + "metric" : { + "metricAgg" : "sum", + "app" : "elasticsearch", + "hasCalculation" : true, + "isDerivative" : false, + "field" : "indices_stats._all.total.search.query_total", + "label" : "Searching", + "group" : "group-2", + "description" : "Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.", + "units" : "ms", + "formatType":"num", + "tickFormat":"0,0.[00]", + }, + "data" : [ + [ + 1613898840000, + 0.69426751592356684 + ], + [ + 1613898870000, + 0.6298701298701298 + ], + [ + 1613898900000, + 0.67889908256880738 + ], + [ + 1613898930000, + 0.67741935483870963 + ], + [ + 1613898960000, + 0.61467889908256879 + ], + [ + 1613898990000, + 0.58064516129032251 + ], + [ + 1613899020000, + 0.58333333333333326 + ], + [ + 1613899050000, + 2.457943925233645 + ], + [ + 1613899080000, + 1.3439490445859872 + ], + [ + 1613899110000, + 0.66355140186915884 + ], + [ + 1613899140000, + 0.61783439490445857 + ], + [ + 1613899170000, + 0.69934640522875824 + ], + [ + 1613899200000, + 0.67889908256880738 + ], + [ + 1613899230000, + 0.58709677419354833 + ], + [ + 1613899260000, + 0.60550458715596334 + ], + [ + 1613899290000, + 0.65161290322580645 + ], + [ + 1613899320000, + 0.79617834394904463 + ], + [ + 1613899350000, + 1.5887850467289719 + ], + [ + 1613899380000, + 0.75974025974025972 + ], + [ + 1613899410000, + 0.94444444444444442 + ], + [ + 1613899440000, + 0.80645161290322587 + ], + [ + 1613899470000, + 0.68807339449541283 + ], + [ + 1613899500000, + 0.76129032258064511 + ], + [ + 1613899530000, + 0.79816513761467889 + ], + [ + 1613899560000, + 0.69934640522875824 + ], + [ + 1613899590000, + 0.7707006369426751 + ], + [ + 1613899620000, + 0.64485981308411211 + ], + [ + 1613899650000, + 0.74522292993630568 + ], + [ + 1613899680000, + 0.57009345794392519 + ], + [ + 1613899710000, + 0.71974522292993626 + ], + [ + 1613899740000, + 1.5372340425531914 + ], + [ + 1613899770000, + 1.3212996389891698 + ], + [ + 1613899800000, + 0.59533073929961089 + ], + [ + 1613899830000, + 0.49476439790575916 + ], + [ + 1613899860000, + 0.66147859922178998 + ], + [ + 1613899890000, + 0.91361256544502623 + ], + [ + 1613899920000, + 0.48684210526315796 + ], + [ + 1613899950000, + 0.46718146718146719 + ], + [ + 1613899980000, + 0.54473684210526319 + ], + [ + 1613900010000, + 0.80933852140077822 + ], + [ + 1613900040000, + 0.6413612565445026 + ], + [ + 1613900070000, + 0.91828793774319062 + ], + [ + 1613900100000, + 0.84293193717277481 + ], + [ + 1613900130000, + 0.48638132295719849 + ], + [ + 1613900160000, + 0.59685863874345546 + ], + [ + 1613900190000, + 0.76653696498054469 + ], + [ + 1613900220000, + 0.54188481675392675 + ], + [ + 1613900250000, + 0.84251968503937014 + ], + [ + 1613900280000, + 1.3436293436293436 + ], + [ + 1613900310000, + 0.66315789473684217 + ], + [ + 1613900340000, + 0.61389961389961389 + ], + [ + 1613900370000, + 0.59473684210526323 + ], + [ + 1613900400000, + 0.63953488372093026 + ], + [ + 1613900430000, + 0.54054054054054057 + ], + [ + 1613900460000, + 0.50263157894736843 + ], + [ + 1613900490000, + 0.52918287937743191 + ], + [ + 1613900520000, + 0.69498069498069504 + ], + [ + 1613900550000, + 0.50526315789473686 + ], + [ + 1613900580000, + 0.55212355212355213 + ], + [ + 1613900610000, + 0.89473684210526327 + ], + [ + 1613900640000, + 0.52631578947368429 + ], + [ + 1613900670000, + 0.88461538461538469 + ], + [ + 1613900700000, + 0.49210526315789477 + ], + [ + 1613900730000, + 0.66023166023166024 + ], + [ + 1613900760000, + 0.58157894736842108 + ], + [ + 1613900790000, + 0.48167539267015713 + ], + [ + 1613900820000, + 0.47081712062256809 + ], + [ + 1613900850000, + 0.4659685863874346 + ], + [ + 1613900880000, + 0.42368421052631577 + ], + [ + 1613900910000, + 0.46718146718146719 + ], + [ + 1613900940000, + 0.48947368421052634 + ], + [ + 1613900970000, + 0.5212355212355213 + ], + [ + 1613901000000, + 0.45263157894736844 + ], + [ + 1613901030000, + 0.58301158301158307 + ], + [ + 1613901060000, + 0.54210526315789476 + ], + [ + 1613901090000, + 0.70270270270270274 + ], + [ + 1613901120000, + 0.53307392996108949 + ], + [ + 1613901150000, + 0.53926701570680624 + ], + [ + 1613901180000, + 0.96108949416342404 + ], + [ + 1613901210000, + 0.51047120418848169 + ], + [ + 1613901240000, + 0.61315789473684212 + ], + [ + 1613901270000, + 0.55252918287937747 + ], + [ + 1613901300000, + 0.51047120418848169 + ], + [ + 1613901330000, + 0.43968871595330739 + ], + [ + 1613901360000, + 0.44764397905759168 + ], + [ + 1613901390000, + 0.56420233463035019 + ], + [ + 1613901420000, + 0.43717277486910994 + ], + [ + 1613901450000, + 0.56420233463035019 + ], + [ + 1613901480000, + 0.44502617801047123 + ], + [ + 1613901510000, + 0.47859922178988323 + ], + [ + 1613901540000, + 0.43455497382198954 + ], + [ + 1613901570000, + 0.46692607003891051 + ], + [ + 1613901600000, + 0.54855643044619429 + ], + [ + 1613901630000, + 0.95330739299610889 + ], + [ + 1613901660000, + 0.77220077220077232 + ], + [ + 1613901690000, + 1.5719844357976653 + ], + [ + 1613901720000, + 0.54054054054054057 + ], + [ + 1613901750000, + 0.58311345646437995 + ], + [ + 1613901780000, + 1.2434554973821992 + ], + [ + 1613901810000, + 0.52156862745098043 + ], + [ + 1613901840000, + 0.91119691119691115 + ], + [ + 1613901870000, + 0.42631578947368426 + ], + [ + 1613901900000, + 0.39299610894941633 + ], + [ + 1613901930000, + 0.94240837696335089 + ], + [ + 1613901960000, + 0.6108949416342413 + ], + [ + 1613901990000, + 0.5 + ], + [ + 1613902020000, + 1.0131578947368423 + ], + [ + 1613902050000, + 1.254826254826255 + ], + [ + 1613902080000, + 0.46052631578947367 + ], + [ + 1613902110000, + 0.77606177606177618 + ], + [ + 1613902140000, + 0.58421052631578951 + ], + [ + 1613902170000, + 0.49214659685863876 + ], + [ + 1613902200000, + 0.53333333333333333 + ], + [ + 1613902230000, + 0.91623036649214662 + ], + [ + 1613902260000, + 0.92607003891050588 + ], + [ + 1613902290000, + 0.65968586387434558 + ], + [ + 1613902320000, + 0.52140077821011677 + ], + [ + 1613902350000, + 0.51570680628272247 + ], + [ + 1613902380000, + 0.68482490272373542 + ] + ], + "bucket_size" : "30 seconds" + } + ] + }, + }, + "logs" : { + "enabled" : false, + "reason" : { + "indexPatternExists" : false, + "typeExistsAtAnyTime" : false, + "nodeExists" : null, + "clusterExists" : false, + "typeExists" : false, + "indexExists" : null, + "indexPatternInTimeRangeExists" : false, + "usingStructuredLogs" : false + }, + "logs" : [ + ], + "limit" : 10 + } + }); + } +} diff --git a/web/src/models/global.js b/web/src/models/global.js index fccad9d5..1b28442a 100644 --- a/web/src/models/global.js +++ b/web/src/models/global.js @@ -1,6 +1,6 @@ import { queryNotices } from '@/services/api'; import {message} from "antd"; -import {searchClusterConfig} from "@/services/clusterConfig"; +import {searchClusterConfig} from "@/services/cluster"; import {formatESSearchResult} from '@/lib/elasticsearch/util'; diff --git a/web/src/pages/Cluster/Metrics.js b/web/src/pages/Cluster/Metrics.js index f9f5f06c..495beca8 100644 --- a/web/src/pages/Cluster/Metrics.js +++ b/web/src/pages/Cluster/Metrics.js @@ -1,4065 +1,85 @@ -import React, { PureComponent,Fragment } from 'react'; -import { connect } from 'dva'; -import { formatMessage, FormattedMessage } from 'umi/locale'; -import { Row, Col, Card,Statistic,Icon, Divider, DatePicker, Input, Dropdown, Menu, Button, InputNumber, Select } from 'antd'; -import moment, { relativeTimeRounding } from 'moment'; -import Brush from '@antv/g2-brush'; -const { RangePicker } = DatePicker; -import { DateTime } from 'luxon'; +import React, {PureComponent} from 'react'; +import {connect} from 'dva'; +import {formatMessage} from 'umi/locale'; +import {Button, Card, Col, DatePicker, Dropdown, Icon, Input, InputNumber, Row, Select, Statistic} from 'antd'; +import moment from 'moment'; +import {DateTime} from 'luxon'; import numeral from 'numeral'; import '@elastic/charts/dist/theme_only_light.css'; -import { PartialTheme ,Chart, Axis, BarSeries, Position, ScaleType,LineSeries,CurveType,niceTimeFormatByDay, Settings, timeFormatter } from "@elastic/charts"; +import { + Axis, + Chart, + CurveType, + LineSeries, + niceTimeFormatByDay, + Position, + ScaleType, + Settings, + timeFormatter +} from "@elastic/charts"; import styles from './Metrics.less'; -const KIBANA_METRICS = { - metrics: { - kibana_os_load: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.os.load.1m', - metricAgg: 'max', - label: '1m', - title: 'System Load', - description: 'Load average over the last minute.', - units: '', - format: '0,0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 8.3203125], - [1551438030000, 7.9140625], - [1551438060000, 7.8671875], - [1551438090000, 7.125], - [1551438120000, 8.765625], - [1551438150000, 11.546875], - [1551438180000, 12.984375], - [1551438210000, 13.546875], - [1551438240000, 13.390625], - [1551438270000, 11.5625], - [1551438300000, 11.5859375], - [1551438330000, 10.0546875], - [1551438360000, 9.921875], - [1551438390000, 9.4921875], - [1551438420000, 9.78125], - [1551438450000, 10.046875], - [1551438480000, 14.0546875], - [1551438510000, 10.640625], - [1551438540000, 8.2421875], - [1551438570000, 8.5], - [1551438600000, 7.2578125], - [1551438630000, 8.515625], - [1551438660000, 10.796875], - [1551438690000, 11.125], - [1551438720000, 21.40625], - [1551438750000, 17.921875], - [1551438780000, 26.640625], - [1551438810000, 31.390625], - [1551438840000, 23.953125], - [1551438870000, 16], - [1551438900000, 11.9765625], - [1551438930000, 9.1640625], - [1551438960000, 7.98046875], - [1551438990000, 7.1640625], - [1551439020000, 7.39453125], - [1551439050000, 5.68359375], - [1551439080000, 4.95703125], - [1551439110000, 4.26171875], - [1551439140000, 11.1171875], - [1551439170000, 10.8515625], - [1551439200000, 12.6171875], - [1551439230000, 11.1171875], - [1551439260000, 11.6640625], - [1551439290000, 11.109375], - [1551439320000, 10.6015625], - [1551439350000, 11.21875], - [1551439380000, 13.53125], - [1551439410000, 15.4609375], - [1551439440000, 15.1796875], - [1551439470000, 11.984375], - [1551439500000, 24.8125], - [1551439530000, 21.46875], - [1551439560000, 14.484375], - [1551439590000, 9.9609375], - [1551439620000, 10.8515625], - [1551439650000, 12.1171875], - [1551439680000, 19.375], - [1551439710000, 20.609375], - [1551439740000, 16.484375], - [1551439770000, 15.515625], - [1551439800000, 14.9140625], - [1551439830000, 10.8828125], - [1551439860000, 9.7578125], - [1551439890000, 8.625], - [1551439920000, 9.21875], - [1551439950000, 8.5390625], - [1551439980000, 8.40625], - [1551440010000, 6.671875], - [1551440040000, 7.24609375], - [1551440070000, 7.1015625], - [1551440100000, 7.09375], - [1551440130000, 10.8125], - [1551440160000, 10.90625], - [1551440190000, 12.453125], - [1551440220000, 11.8984375], - [1551440250000, 10.875], - [1551440280000, 12.4140625], - [1551440310000, 12.78125], - [1551440340000, 34.28125], - [1551440370000, 29.84375], - [1551440400000, 22.40625], - [1551440430000, 16.046875], - [1551440460000, 12.6328125], - [1551440490000, 8.8125], - [1551440520000, 6.93359375], - [1551440550000, 6.12890625], - [1551440580000, 5.69921875], - [1551440610000, 5.48828125], - [1551440640000, 12.0234375], - [1551440670000, 14.484375], - [1551440700000, 12.890625], - [1551440730000, 11.578125], - [1551440760000, 10.7578125], - [1551440790000, 9.921875], - [1551440820000, 10.5078125], - [1551440850000, 11.375], - [1551440880000, 15.890625], - [1551440910000, 14.1953125], - [1551440940000, 11.625], - [1551440970000, 11.734375], - [1551441000000, 10.1640625], - [1551441030000, 9.296875], - [1551441060000, 7.5546875], - [1551441090000, 7.17578125], - [1551441120000, 5.8671875], - [1551441150000, 6.828125], - [1551441180000, 10.578125], - [1551441210000, 16.140625], - [1551441240000, 15.640625], - [1551441270000, 13.1484375], - [1551441300000, 11.9140625], - [1551441330000, 10.0625], - [1551441360000, 7.66015625], - [1551441390000, 9.0078125], - [1551441420000, 8.78125], - [1551441450000, 8.0390625], - [1551441480000, 25.515625], - [1551441510000, 18.640625], - [1551441540000, 13.1953125], - [1551441570000, 10.1953125], - ], - }, - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.os.load.5m', - metricAgg: 'max', - label: '5m', - title: 'System Load', - description: 'Load average over the last 5 minutes.', - units: '', - format: '0,0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 9.984375], - [1551438030000, 9.71875], - [1551438060000, 9.28125], - [1551438090000, 9.078125], - [1551438120000, 8.9921875], - [1551438150000, 9.640625], - [1551438180000, 10.171875], - [1551438210000, 10.421875], - [1551438240000, 10.625], - [1551438270000, 10.390625], - [1551438300000, 10.4296875], - [1551438330000, 10.1328125], - [1551438360000, 9.984375], - [1551438390000, 9.8203125], - [1551438420000, 9.8125], - [1551438450000, 9.78125], - [1551438480000, 10.625], - [1551438510000, 10.09375], - [1551438540000, 9.5546875], - [1551438570000, 9.390625], - [1551438600000, 9.015625], - [1551438630000, 8.8828125], - [1551438660000, 9.359375], - [1551438690000, 9.53125], - [1551438720000, 11.9453125], - [1551438750000, 11.828125], - [1551438780000, 14.4609375], - [1551438810000, 16.421875], - [1551438840000, 15.6875], - [1551438870000, 14.5625], - [1551438900000, 13.75], - [1551438930000, 12.8359375], - [1551438960000, 12.2109375], - [1551438990000, 11.6328125], - [1551439020000, 11.015625], - [1551439050000, 10.3828125], - [1551439080000, 9.7421875], - [1551439110000, 9.046875], - [1551439140000, 9.921875], - [1551439170000, 9.890625], - [1551439200000, 10.34375], - [1551439230000, 10.140625], - [1551439260000, 10.3515625], - [1551439290000, 10.28125], - [1551439320000, 10.203125], - [1551439350000, 10.296875], - [1551439380000, 10.875], - [1551439410000, 11.4765625], - [1551439440000, 11.484375], - [1551439470000, 11.046875], - [1551439500000, 13.53125], - [1551439530000, 13.1875], - [1551439560000, 12.3046875], - [1551439590000, 11.3984375], - [1551439620000, 11.1328125], - [1551439650000, 11.390625], - [1551439680000, 13.3046875], - [1551439710000, 13.71875], - [1551439740000, 13.3671875], - [1551439770000, 13.4296875], - [1551439800000, 13.3359375], - [1551439830000, 12.4765625], - [1551439860000, 12.09375], - [1551439890000, 11.4765625], - [1551439920000, 11.328125], - [1551439950000, 10.8984375], - [1551439980000, 10.7109375], - [1551440010000, 10.0546875], - [1551440040000, 9.6328125], - [1551440070000, 9.34375], - [1551440100000, 9.1953125], - [1551440130000, 9.6328125], - [1551440160000, 9.7109375], - [1551440190000, 10.1171875], - [1551440220000, 10.171875], - [1551440250000, 10.0546875], - [1551440280000, 10.4140625], - [1551440310000, 10.5234375], - [1551440340000, 15.140625], - [1551440370000, 14.90625], - [1551440400000, 14.4921875], - [1551440430000, 13.65625], - [1551440460000, 13.0390625], - [1551440490000, 12.09375], - [1551440520000, 11.3125], - [1551440550000, 10.7265625], - [1551440580000, 10.1640625], - [1551440610000, 9.4453125], - [1551440640000, 10.546875], - [1551440670000, 11.1328125], - [1551440700000, 10.96875], - [1551440730000, 10.875], - [1551440760000, 10.7109375], - [1551440790000, 10.453125], - [1551440820000, 10.546875], - [1551440850000, 10.671875], - [1551440880000, 11.78125], - [1551440910000, 11.5703125], - [1551440940000, 11.1640625], - [1551440970000, 11.1875], - [1551441000000, 10.8671875], - [1551441030000, 10.5390625], - [1551441060000, 10.03125], - [1551441090000, 9.6640625], - [1551441120000, 9.0859375], - [1551441150000, 8.90625], - [1551441180000, 9.453125], - [1551441210000, 10.7109375], - [1551441240000, 10.734375], - [1551441270000, 10.6484375], - [1551441300000, 10.5234375], - [1551441330000, 10.1796875], - [1551441360000, 9.546875], - [1551441390000, 9.5390625], - [1551441420000, 9.3984375], - [1551441450000, 9.21875], - [1551441480000, 12.671875], - [1551441510000, 12.0859375], - [1551441540000, 11.375], - [1551441570000, 10.84375], - ], - }, - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.os.load.15m', - metricAgg: 'max', - label: '15m', - title: 'System Load', - description: 'Load average over the last 15 minutes.', - units: '', - format: '0,0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 10.3359375], - [1551438030000, 10.234375], - [1551438060000, 10.046875], - [1551438090000, 9.9765625], - [1551438120000, 9.8828125], - [1551438150000, 10.078125], - [1551438180000, 10.234375], - [1551438210000, 10.3125], - [1551438240000, 10.3828125], - [1551438270000, 10.3046875], - [1551438300000, 10.3203125], - [1551438330000, 10.21875], - [1551438360000, 10.15625], - [1551438390000, 10.09375], - [1551438420000, 10.0859375], - [1551438450000, 10.0546875], - [1551438480000, 10.328125], - [1551438510000, 10.15625], - [1551438540000, 9.9765625], - [1551438570000, 9.8984375], - [1551438600000, 9.7578125], - [1551438630000, 9.65625], - [1551438660000, 9.796875], - [1551438690000, 9.84375], - [1551438720000, 10.640625], - [1551438750000, 10.6328125], - [1551438780000, 11.578125], - [1551438810000, 12.265625], - [1551438840000, 12.109375], - [1551438870000, 11.84375], - [1551438900000, 11.6640625], - [1551438930000, 11.421875], - [1551438960000, 11.2578125], - [1551438990000, 11.1015625], - [1551439020000, 10.90625], - [1551439050000, 10.703125], - [1551439080000, 10.4765625], - [1551439110000, 10.21875], - [1551439140000, 10.4375], - [1551439170000, 10.421875], - [1551439200000, 10.5390625], - [1551439230000, 10.4609375], - [1551439260000, 10.5234375], - [1551439290000, 10.5], - [1551439320000, 10.4609375], - [1551439350000, 10.4765625], - [1551439380000, 10.65625], - [1551439410000, 10.859375], - [1551439440000, 10.8671875], - [1551439470000, 10.734375], - [1551439500000, 11.5390625], - [1551439530000, 11.4453125], - [1551439560000, 11.203125], - [1551439590000, 10.9375], - [1551439620000, 10.859375], - [1551439650000, 10.9453125], - [1551439680000, 11.609375], - [1551439710000, 11.7578125], - [1551439740000, 11.703125], - [1551439770000, 11.8046875], - [1551439800000, 11.78125], - [1551439830000, 11.546875], - [1551439860000, 11.453125], - [1551439890000, 11.265625], - [1551439920000, 11.21875], - [1551439950000, 11.078125], - [1551439980000, 11.0078125], - [1551440010000, 10.78125], - [1551440040000, 10.6171875], - [1551440070000, 10.4921875], - [1551440100000, 10.3984375], - [1551440130000, 10.4765625], - [1551440160000, 10.4765625], - [1551440190000, 10.5859375], - [1551440220000, 10.5859375], - [1551440250000, 10.5390625], - [1551440280000, 10.625], - [1551440310000, 10.65625], - [1551440340000, 12.1328125], - [1551440370000, 12.125], - [1551440400000, 12.0390625], - [1551440430000, 11.8359375], - [1551440460000, 11.6875], - [1551440490000, 11.4140625], - [1551440520000, 11.1796875], - [1551440550000, 10.984375], - [1551440580000, 10.7890625], - [1551440610000, 10.53125], - [1551440640000, 10.8359375], - [1551440670000, 11.0234375], - [1551440700000, 10.96875], - [1551440730000, 10.9296875], - [1551440760000, 10.875], - [1551440790000, 10.7890625], - [1551440820000, 10.8046875], - [1551440850000, 10.828125], - [1551440880000, 11.1875], - [1551440910000, 11.125], - [1551440940000, 11], - [1551440970000, 11.015625], - [1551441000000, 10.9140625], - [1551441030000, 10.796875], - [1551441060000, 10.625], - [1551441090000, 10.4765625], - [1551441120000, 10.2578125], - [1551441150000, 10.1640625], - [1551441180000, 10.265625], - [1551441210000, 10.6484375], - [1551441240000, 10.65625], - [1551441270000, 10.625], - [1551441300000, 10.5859375], - [1551441330000, 10.46875], - [1551441360000, 10.2421875], - [1551441390000, 10.203125], - [1551441420000, 10.140625], - [1551441450000, 10.0625], - [1551441480000, 11.140625], - [1551441510000, 10.9921875], - [1551441540000, 10.7890625], - [1551441570000, 10.625], - ], - }, - ], - kibana_average_concurrent_connections: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.concurrent_connections', - metricAgg: 'max', - label: 'HTTP Connections', - description: 'Total number of open socket connections to the Kibana instance.', - units: '', - format: '0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 20], - [1551438030000, 18], - [1551438060000, 21], - [1551438090000, 21], - [1551438120000, 20], - [1551438150000, 19], - [1551438180000, 19], - [1551438210000, 19], - [1551438240000, 21], - [1551438270000, 21], - [1551438300000, 19], - [1551438330000, 21], - [1551438360000, 18], - [1551438390000, 18], - [1551438420000, 19], - [1551438450000, 19], - [1551438480000, 19], - [1551438510000, 19], - [1551438540000, 20], - [1551438570000, 23], - [1551438600000, 19], - [1551438630000, 21], - [1551438660000, 20], - [1551438690000, 19], - [1551438720000, 24], - [1551438750000, 20], - [1551438780000, 20], - [1551438810000, 19], - [1551438840000, 20], - [1551438870000, 21], - [1551438900000, 20], - [1551438930000, 19], - [1551438960000, 21], - [1551438990000, 20], - [1551439020000, 23], - [1551439050000, 18], - [1551439080000, 18], - [1551439110000, 18], - [1551439140000, 18], - [1551439170000, 17], - [1551439200000, 18], - [1551439230000, 19], - [1551439260000, 20], - [1551439290000, 20], - [1551439320000, 18], - [1551439350000, 20], - [1551439380000, 18], - [1551439410000, 20], - [1551439440000, 18], - [1551439470000, 19], - [1551439500000, 17], - [1551439530000, 17], - [1551439560000, 16], - [1551439590000, 15], - [1551439620000, 17], - [1551439650000, 18], - [1551439680000, 19], - [1551439710000, 20], - [1551439740000, 18], - [1551439770000, 21], - [1551439800000, 19], - [1551439830000, 20], - [1551439860000, 19], - [1551439890000, 18], - [1551439920000, 19], - [1551439950000, 19], - [1551439980000, 20], - [1551440010000, 19], - [1551440040000, 19], - [1551440070000, 19], - [1551440100000, 19], - [1551440130000, 17], - [1551440160000, 18], - [1551440190000, 18], - [1551440220000, 21], - [1551440250000, 18], - [1551440280000, 20], - [1551440310000, 17], - [1551440340000, 19], - [1551440370000, 20], - [1551440400000, 20], - [1551440430000, 20], - [1551440460000, 18], - [1551440490000, 16], - [1551440520000, 16], - [1551440550000, 17], - [1551440580000, 18], - [1551440610000, 16], - [1551440640000, 25], - [1551440670000, 16], - [1551440700000, 18], - [1551440730000, 17], - [1551440760000, 19], - [1551440790000, 17], - [1551440820000, 22], - [1551440850000, 20], - [1551440880000, 22], - [1551440910000, 31], - [1551440940000, 18], - [1551440970000, 17], - [1551441000000, 16], - [1551441030000, 17], - [1551441060000, 18], - [1551441090000, 16], - [1551441120000, 14], - [1551441150000, 14], - [1551441180000, 15], - [1551441210000, 19], - [1551441240000, 16], - [1551441270000, 17], - [1551441300000, 16], - [1551441330000, 16], - [1551441360000, 17], - [1551441390000, 18], - [1551441420000, 18], - [1551441450000, 17], - [1551441480000, 17], - [1551441510000, 16], - [1551441540000, 16], - [1551441570000, 17], - ], - }, - ], - kibana_process_delay: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.process.event_loop_delay', - metricAgg: 'max', - label: 'Event Loop Delay', - description: 'Delay in Kibana server event loops.', - units: 'ms', - format: '0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 1.917205810546875], - [1551438030000, 1.7739791870117188], - [1551438060000, 2.943075180053711], - [1551438090000, 5.207357406616211], - [1551438120000, 1.6650104522705078], - [1551438150000, 2.154033660888672], - [1551438180000, 2.118760108947754], - [1551438210000, 3.37868595123291], - [1551438240000, 2.1819963455200195], - [1551438270000, 2.568490982055664], - [1551438300000, 353.22412109375], - [1551438330000, 4.138860702514648], - [1551438360000, 1.835433006286621], - [1551438390000, 1.8117866516113281], - [1551438420000, 1.7387809753417969], - [1551438450000, 2.006241798400879], - [1551438480000, 1.8574104309082031], - [1551438510000, 2.101459503173828], - [1551438540000, 2.2292041778564453], - [1551438570000, 1.8641471862792969], - [1551438600000, 2.124319076538086], - [1551438630000, 2.1186132431030273], - [1551438660000, 1.7360162734985352], - [1551438690000, 2.1855764389038086], - [1551438720000, 3.210604667663574], - [1551438750000, 2.510148048400879], - [1551438780000, 1.6755142211914062], - [1551438810000, 1.9307565689086914], - [1551438840000, 9.354450225830078], - [1551438870000, 1.9756240844726562], - [1551438900000, 2.2764291763305664], - [1551438930000, 346.5954284667969], - [1551438960000, 4.56385612487793], - [1551438990000, 2.3435449600219727], - [1551439020000, 3.8228683471679688], - [1551439050000, 2.6483001708984375], - [1551439080000, 1.8082962036132812], - [1551439110000, 1.6172676086425781], - [1551439140000, 1.8350811004638672], - [1551439170000, 1.659804344177246], - [1551439200000, 2.4164390563964844], - [1551439230000, 1.999464988708496], - [1551439260000, 1.9630374908447266], - [1551439290000, 2.0218467712402344], - [1551439320000, 2.076573371887207], - [1551439350000, 2.4036598205566406], - [1551439380000, 2.602895736694336], - [1551439410000, 2.5561323165893555], - [1551439440000, 2.3957443237304688], - [1551439470000, 2.3182430267333984], - [1551439500000, 2.0863637924194336], - [1551439530000, 1.9851713180541992], - [1551439560000, 1.9189224243164062], - [1551439590000, 1.937936782836914], - [1551439620000, 3.844411849975586], - [1551439650000, 5.052459716796875], - [1551439680000, 2.012505531311035], - [1551439710000, 2.27213191986084], - [1551439740000, 1.951359748840332], - [1551439770000, 2.6224374771118164], - [1551439800000, 2.6582508087158203], - [1551439830000, 2.607870101928711], - [1551439860000, 2.4416723251342773], - [1551439890000, 2.369551658630371], - [1551439920000, 2.0154476165771484], - [1551439950000, 2.096695899963379], - [1551439980000, 1.9279394149780273], - [1551440010000, 3.023202896118164], - [1551440040000, 3.772576332092285], - [1551440070000, 2.4855575561523438], - [1551440100000, 4.25732421875], - [1551440130000, 2.0820703506469727], - [1551440160000, 2.489288330078125], - [1551440190000, 2.602682113647461], - [1551440220000, 4.733266830444336], - [1551440250000, 1.8897781372070312], - [1551440280000, 2.365001678466797], - [1551440310000, 2.295949935913086], - [1551440340000, 3.2801055908203125], - [1551440370000, 1.8901805877685547], - [1551440400000, 2.0735225677490234], - [1551440430000, 1.8940362930297852], - [1551440460000, 3.0348567962646484], - [1551440490000, 2.0472803115844727], - [1551440520000, 2.2077903747558594], - [1551440550000, 5.1581220626831055], - [1551440580000, 2.039125442504883], - [1551440610000, 1.6546344757080078], - [1551440640000, 3.1943721771240234], - [1551440670000, 2.0258655548095703], - [1551440700000, 2.2764244079589844], - [1551440730000, 1.8293533325195312], - [1551440760000, 2.745746612548828], - [1551440790000, 2.426107406616211], - [1551440820000, 2.497190475463867], - [1551440850000, 2.6376562118530273], - [1551440880000, 6.415732383728027], - [1551440910000, 22.362375259399414], - [1551440940000, 1.8069639205932617], - [1551440970000, 2.2364587783813477], - [1551441000000, 2.1819095611572266], - [1551441030000, 2.6490097045898438], - [1551441060000, 3.7438411712646484], - [1551441090000, 2.2370100021362305], - [1551441120000, 2.1098766326904297], - [1551441150000, 3.0454416275024414], - [1551441180000, 2.211244583129883], - [1551441210000, 2.860243797302246], - [1551441240000, 2.255979537963867], - [1551441270000, 2.0102500915527344], - [1551441300000, 2.06740665435791], - [1551441330000, 1.9841184616088867], - [1551441360000, 2.046261787414551], - [1551441390000, 5.3361921310424805], - [1551441420000, 3.9412336349487305], - [1551441450000, 2.885173797607422], - [1551441480000, 3.661712646484375], - [1551441510000, 1.8046932220458984], - [1551441540000, 1.9574308395385742], - [1551441570000, 1.9149093627929688], - ], - }, - ], - kibana_memory: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.process.memory.heap.size_limit', - metricAgg: 'max', - label: 'Heap Size Limit', - title: 'Memory Size', - description: 'Limit of memory usage before garbage collection.', - units: 'B', - format: '0,0.0 b', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 1501560832], - [1551438030000, 1501560832], - [1551438060000, 1501560832], - [1551438090000, 1501560832], - [1551438120000, 1501560832], - [1551438150000, 1501560832], - [1551438180000, 1501560832], - [1551438210000, 1501560832], - [1551438240000, 1501560832], - [1551438270000, 1501560832], - [1551438300000, 1501560832], - [1551438330000, 1501560832], - [1551438360000, 1501560832], - [1551438390000, 1501560832], - [1551438420000, 1501560832], - [1551438450000, 1501560832], - [1551438480000, 1501560832], - [1551438510000, 1501560832], - [1551438540000, 1501560832], - [1551438570000, 1501560832], - [1551438600000, 1501560832], - [1551438630000, 1501560832], - [1551438660000, 1501560832], - [1551438690000, 1501560832], - [1551438720000, 1501560832], - [1551438750000, 1501560832], - [1551438780000, 1501560832], - [1551438810000, 1501560832], - [1551438840000, 1501560832], - [1551438870000, 1501560832], - [1551438900000, 1501560832], - [1551438930000, 1501560832], - [1551438960000, 1501560832], - [1551438990000, 1501560832], - [1551439020000, 1501560832], - [1551439050000, 1501560832], - [1551439080000, 1501560832], - [1551439110000, 1501560832], - [1551439140000, 1501560832], - [1551439170000, 1501560832], - [1551439200000, 1501560832], - [1551439230000, 1501560832], - [1551439260000, 1501560832], - [1551439290000, 1501560832], - [1551439320000, 1501560832], - [1551439350000, 1501560832], - [1551439380000, 1501560832], - [1551439410000, 1501560832], - [1551439440000, 1501560832], - [1551439470000, 1501560832], - [1551439500000, 1501560832], - [1551439530000, 1501560832], - [1551439560000, 1501560832], - [1551439590000, 1501560832], - [1551439620000, 1501560832], - [1551439650000, 1501560832], - [1551439680000, 1501560832], - [1551439710000, 1501560832], - [1551439740000, 1501560832], - [1551439770000, 1501560832], - [1551439800000, 1501560832], - [1551439830000, 1501560832], - [1551439860000, 1501560832], - [1551439890000, 1501560832], - [1551439920000, 1501560832], - [1551439950000, 1501560832], - [1551439980000, 1501560832], - [1551440010000, 1501560832], - [1551440040000, 1501560832], - [1551440070000, 1501560832], - [1551440100000, 1501560832], - [1551440130000, 1501560832], - [1551440160000, 1501560832], - [1551440190000, 1501560832], - [1551440220000, 1501560832], - [1551440250000, 1501560832], - [1551440280000, 1501560832], - [1551440310000, 1501560832], - [1551440340000, 1501560832], - [1551440370000, 1501560832], - [1551440400000, 1501560832], - [1551440430000, 1501560832], - [1551440460000, 1501560832], - [1551440490000, 1501560832], - [1551440520000, 1501560832], - [1551440550000, 1501560832], - [1551440580000, 1501560832], - [1551440610000, 1501560832], - [1551440640000, 1501560832], - [1551440670000, 1501560832], - [1551440700000, 1501560832], - [1551440730000, 1501560832], - [1551440760000, 1501560832], - [1551440790000, 1501560832], - [1551440820000, 1501560832], - [1551440850000, 1501560832], - [1551440880000, 1501560832], - [1551440910000, 1501560832], - [1551440940000, 1501560832], - [1551440970000, 1501560832], - [1551441000000, 1501560832], - [1551441030000, 1501560832], - [1551441060000, 1501560832], - [1551441090000, 1501560832], - [1551441120000, 1501560832], - [1551441150000, 1501560832], - [1551441180000, 1501560832], - [1551441210000, 1501560832], - [1551441240000, 1501560832], - [1551441270000, 1501560832], - [1551441300000, 1501560832], - [1551441330000, 1501560832], - [1551441360000, 1501560832], - [1551441390000, 1501560832], - [1551441420000, 1501560832], - [1551441450000, 1501560832], - [1551441480000, 1501560832], - [1551441510000, 1501560832], - [1551441540000, 1501560832], - [1551441570000, 1501560832], - ], - }, - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.process.memory.resident_set_size_in_bytes', - metricAgg: 'max', - label: 'Memory Size', - title: 'Memory Size', - description: 'Total heap used by Kibana running in Node.js.', - units: 'B', - format: '0,0.0 b', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 645689344], - [1551438030000, 642293760], - [1551438060000, 649953280], - [1551438090000, 637751296], - [1551438120000, 643112960], - [1551438150000, 642781184], - [1551438180000, 642899968], - [1551438210000, 646262784], - [1551438240000, 643276800], - [1551438270000, 663547904], - [1551438300000, 654954496], - [1551438330000, 644222976], - [1551438360000, 645672960], - [1551438390000, 649728000], - [1551438420000, 646631424], - [1551438450000, 647000064], - [1551438480000, 647114752], - [1551438510000, 648630272], - [1551438540000, 647720960], - [1551438570000, 646979584], - [1551438600000, 651296768], - [1551438630000, 642248704], - [1551438660000, 645177344], - [1551438690000, 648171520], - [1551438720000, 670048256], - [1551438750000, 653139968], - [1551438780000, 644583424], - [1551438810000, 648630272], - [1551438840000, 647925760], - [1551438870000, 648986624], - [1551438900000, 644399104], - [1551438930000, 636719104], - [1551438960000, 650260480], - [1551438990000, 666669056], - [1551439020000, 661057536], - [1551439050000, 649957376], - [1551439080000, 655093760], - [1551439110000, 647913472], - [1551439140000, 642232320], - [1551439170000, 642490368], - [1551439200000, 643133440], - [1551439230000, 640008192], - [1551439260000, 648654848], - [1551439290000, 643506176], - [1551439320000, 647127040], - [1551439350000, 662966272], - [1551439380000, 646635520], - [1551439410000, 641519616], - [1551439440000, 658214912], - [1551439470000, 666677248], - [1551439500000, 651583488], - [1551439530000, 652963840], - [1551439560000, 662065152], - [1551439590000, 662417408], - [1551439620000, 665919488], - [1551439650000, 646316032], - [1551439680000, 643153920], - [1551439710000, 658288640], - [1551439740000, 662052864], - [1551439770000, 660353024], - [1551439800000, 649293824], - [1551439830000, 661753856], - [1551439860000, 663977984], - [1551439890000, 658100224], - [1551439920000, 657711104], - [1551439950000, 645820416], - [1551439980000, 648531968], - [1551440010000, 644272128], - [1551440040000, 649019392], - [1551440070000, 656228352], - [1551440100000, 643280896], - [1551440130000, 645763072], - [1551440160000, 649703424], - [1551440190000, 653647872], - [1551440220000, 647307264], - [1551440250000, 685629440], - [1551440280000, 711311360], - [1551440310000, 648220672], - [1551440340000, 645439488], - [1551440370000, 646225920], - [1551440400000, 650481664], - [1551440430000, 650178560], - [1551440460000, 651149312], - [1551440490000, 653852672], - [1551440520000, 651427840], - [1551440550000, 652050432], - [1551440580000, 646492160], - [1551440610000, 650129408], - [1551440640000, 659320832], - [1551440670000, 653029376], - [1551440700000, 661946368], - [1551440730000, 652808192], - [1551440760000, 656105472], - [1551440790000, 654086144], - [1551440820000, 649216000], - [1551440850000, 660570112], - [1551440880000, 663560192], - [1551440910000, 663306240], - [1551440940000, 750891008], - [1551440970000, 802795520], - [1551441000000, 682393600], - [1551441030000, 646311936], - [1551441060000, 648204288], - [1551441090000, 650903552], - [1551441120000, 648257536], - [1551441150000, 649920512], - [1551441180000, 643801088], - [1551441210000, 653606912], - [1551441240000, 654901248], - [1551441270000, 644833280], - [1551441300000, 658534400], - [1551441330000, 655249408], - [1551441360000, 647827456], - [1551441390000, 655147008], - [1551441420000, 652087296], - [1551441450000, 655159296], - [1551441480000, 655753216], - [1551441510000, 666820608], - [1551441540000, 662138880], - [1551441570000, 651341824], - ], - }, - ], - kibana_response_times: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.response_times.max', - metricAgg: 'max', - label: 'Max', - title: 'Client Response Time', - description: 'Maximum response time for client requests to the Kibana instance.', - units: 'ms', - format: '0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 11637], - [1551438030000, 12188], - [1551438060000, 11802], - [1551438090000, 11907], - [1551438120000, 11875], - [1551438150000, 11835], - [1551438180000, 12077], - [1551438210000, 11827], - [1551438240000, 11870], - [1551438270000, 11897], - [1551438300000, 12085], - [1551438330000, 11829], - [1551438360000, 11804], - [1551438390000, 12040], - [1551438420000, 11906], - [1551438450000, 11967], - [1551438480000, 11798], - [1551438510000, 11587], - [1551438540000, 11766], - [1551438570000, 11763], - [1551438600000, 11848], - [1551438630000, 12061], - [1551438660000, 11922], - [1551438690000, 11805], - [1551438720000, 12194], - [1551438750000, 11784], - [1551438780000, 12097], - [1551438810000, 11984], - [1551438840000, 11955], - [1551438870000, 11378], - [1551438900000, 12047], - [1551438930000, 11989], - [1551438960000, 11925], - [1551438990000, 12009], - [1551439020000, 11806], - [1551439050000, 11761], - [1551439080000, 11808], - [1551439110000, 11979], - [1551439140000, 11945], - [1551439170000, 11769], - [1551439200000, 12010], - [1551439230000, 11746], - [1551439260000, 12176], - [1551439290000, 12253], - [1551439320000, 12093], - [1551439350000, 12034], - [1551439380000, 12114], - [1551439410000, 12135], - [1551439440000, 12193], - [1551439470000, 12138], - [1551439500000, 12116], - [1551439530000, 11849], - [1551439560000, 12335], - [1551439590000, 11988], - [1551439620000, 12077], - [1551439650000, 11841], - [1551439680000, 11956], - [1551439710000, 11798], - [1551439740000, 11939], - [1551439770000, 11929], - [1551439800000, 11894], - [1551439830000, 11962], - [1551439860000, 12348], - [1551439890000, 11939], - [1551439920000, 12005], - [1551439950000, 12550], - [1551439980000, 11935], - [1551440010000, 11931], - [1551440040000, 11814], - [1551440070000, 11703], - [1551440100000, 11990], - [1551440130000, 12050], - [1551440160000, 11971], - [1551440190000, 11720], - [1551440220000, 12085], - [1551440250000, 11919], - [1551440280000, 12551], - [1551440310000, 11873], - [1551440340000, 11599], - [1551440370000, 11977], - [1551440400000, 12002], - [1551440430000, 11757], - [1551440460000, 11657], - [1551440490000, 11291], - [1551440520000, 11943], - [1551440550000, 12223], - [1551440580000, 1482], - [1551440610000, 12060], - [1551440640000, 12016], - [1551440670000, 12318], - [1551440700000, 11969], - [1551440730000, 11974], - [1551440760000, 11779], - [1551440790000, 11868], - [1551440820000, 12295], - [1551440850000, 12077], - [1551440880000, 12127], - [1551440910000, 12075], - [1551440940000, 12472], - [1551440970000, 11715], - [1551441000000, 12036], - [1551441030000, 12020], - [1551441060000, 12816], - [1551441090000, 12644], - [1551441120000, 11907], - [1551441150000, 11945], - [1551441180000, 12083], - [1551441210000, 11998], - [1551441240000, 12259], - [1551441270000, 11516], - [1551441300000, 11969], - [1551441330000, 12053], - [1551441360000, 12002], - [1551441390000, 12016], - [1551441420000, 12146], - [1551441450000, 11904], - [1551441480000, 11942], - [1551441510000, 12139], - [1551441540000, 11966], - [1551441570000, 12051], - ], - }, - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.response_times.average', - metricAgg: 'max', - label: 'Average', - title: 'Client Response Time', - description: 'Average response time for client requests to the Kibana instance.', - units: 'ms', - format: '0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 237.5], - [1551438030000, 606.875], - [1551438060000, 514.413818359375], - [1551438090000, 722.0555419921875], - [1551438120000, 512], - [1551438150000, 294.32073974609375], - [1551438180000, 538.6333618164062], - [1551438210000, 720.8333129882812], - [1551438240000, 468.56097412109375], - [1551438270000, 559.5184936523438], - [1551438300000, 549.888916015625], - [1551438330000, 636.6190185546875], - [1551438360000, 626.6818237304688], - [1551438390000, 578.8846435546875], - [1551438420000, 562.4615478515625], - [1551438450000, 582.75], - [1551438480000, 491.0967712402344], - [1551438510000, 527.5357055664062], - [1551438540000, 436.25714111328125], - [1551438570000, 504.17242431640625], - [1551438600000, 527.8928833007812], - [1551438630000, 419.20513916015625], - [1551438660000, 494.258056640625], - [1551438690000, 529.5184936523438], - [1551438720000, 511.2257995605469], - [1551438750000, 297.3492126464844], - [1551438780000, 622.3666381835938], - [1551438810000, 284.5199890136719], - [1551438840000, 805.5555419921875], - [1551438870000, 519.2857055664062], - [1551438900000, 609.4583129882812], - [1551438930000, 278.6333312988281], - [1551438960000, 537.3461303710938], - [1551438990000, 522.0344848632812], - [1551439020000, 440.8571472167969], - [1551439050000, 518], - [1551439080000, 232.17808532714844], - [1551439110000, 494.0322570800781], - [1551439140000, 597], - [1551439170000, 297.7321472167969], - [1551439200000, 552.2857055664062], - [1551439230000, 270.17742919921875], - [1551439260000, 563.3076782226562], - [1551439290000, 591.375], - [1551439320000, 613.0370483398438], - [1551439350000, 557.1142578125], - [1551439380000, 474.875], - [1551439410000, 282.0428466796875], - [1551439440000, 285.3492126464844], - [1551439470000, 466.2894592285156], - [1551439500000, 452.3714294433594], - [1551439530000, 445.9459533691406], - [1551439560000, 410.5], - [1551439590000, 434.6486511230469], - [1551439620000, 243.028564453125], - [1551439650000, 477.125], - [1551439680000, 245.6666717529297], - [1551439710000, 266.63934326171875], - [1551439740000, 398.4285583496094], - [1551439770000, 395.9761962890625], - [1551439800000, 233.9545440673828], - [1551439830000, 427.76922607421875], - [1551439860000, 366.05999755859375], - [1551439890000, 514], - [1551439920000, 421.452392578125], - [1551439950000, 445.5128173828125], - [1551439980000, 279.76812744140625], - [1551440010000, 225.01123046875], - [1551440040000, 520.6551513671875], - [1551440070000, 525], - [1551440100000, 317.6000061035156], - [1551440130000, 432.9756164550781], - [1551440160000, 454.4210510253906], - [1551440190000, 507.625], - [1551440220000, 300.015869140625], - [1551440250000, 512.625], - [1551440280000, 476.7250061035156], - [1551440310000, 485.8484802246094], - [1551440340000, 446.97222900390625], - [1551440370000, 519.2142944335938], - [1551440400000, 461.941162109375], - [1551440430000, 534.74072265625], - [1551440460000, 498.258056640625], - [1551440490000, 515.6666870117188], - [1551440520000, 564.137939453125], - [1551440550000, 515.933349609375], - [1551440580000, 148.50877380371094], - [1551440610000, 445.6388854980469], - [1551440640000, 569.923095703125], - [1551440670000, 328.4313659667969], - [1551440700000, 386.47369384765625], - [1551440730000, 514.6785888671875], - [1551440760000, 667.6818237304688], - [1551440790000, 589.6153564453125], - [1551440820000, 337.5918273925781], - [1551440850000, 435.868408203125], - [1551440880000, 569.774169921875], - [1551440910000, 532.0714111328125], - [1551440940000, 365.9818115234375], - [1551440970000, 616.0833129882812], - [1551441000000, 521.8965454101562], - [1551441030000, 557.1851806640625], - [1551441060000, 540.3793334960938], - [1551441090000, 588.076904296875], - [1551441120000, 610.2000122070312], - [1551441150000, 621.3333129882812], - [1551441180000, 534], - [1551441210000, 533.8571166992188], - [1551441240000, 459.8611145019531], - [1551441270000, 508.96429443359375], - [1551441300000, 556.8148193359375], - [1551441330000, 614.8695678710938], - [1551441360000, 469.8285827636719], - [1551441390000, 484.18182373046875], - [1551441420000, 644.09521484375], - [1551441450000, 524], - [1551441480000, 719.5789184570312], - [1551441510000, 564.4000244140625], - [1551441540000, 561.0740966796875], - [1551441570000, 329.6833190917969], - ], - }, - ], - kibana_requests: [ - { - bucket_size: '30 seconds', - timeRange: { min: 1551438000000, max: 1551441600000 }, - metric: { - app: 'kibana', - field: 'kibana_stats.requests.total', - metricAgg: 'max', - label: 'Client Requests', - description: 'Total number of client requests received by the Kibana instance.', - units: '', - format: '0.[00]', - hasCalculation: false, - isDerivative: false, - }, - data: [ - [1551438000000, 62], - [1551438030000, 43], - [1551438060000, 64], - [1551438090000, 60], - [1551438120000, 44], - [1551438150000, 56], - [1551438180000, 32], - [1551438210000, 36], - [1551438240000, 56], - [1551438270000, 83], - [1551438300000, 59], - [1551438330000, 62], - [1551438360000, 34], - [1551438390000, 35], - [1551438420000, 30], - [1551438450000, 30], - [1551438480000, 32], - [1551438510000, 30], - [1551438540000, 62], - [1551438570000, 37], - [1551438600000, 33], - [1551438630000, 56], - [1551438660000, 36], - [1551438690000, 31], - [1551438720000, 85], - [1551438750000, 75], - [1551438780000, 53], - [1551438810000, 48], - [1551438840000, 39], - [1551438870000, 57], - [1551438900000, 37], - [1551438930000, 58], - [1551438960000, 91], - [1551438990000, 65], - [1551439020000, 43], - [1551439050000, 35], - [1551439080000, 71], - [1551439110000, 62], - [1551439140000, 34], - [1551439170000, 55], - [1551439200000, 61], - [1551439230000, 74], - [1551439260000, 62], - [1551439290000, 53], - [1551439320000, 97], - [1551439350000, 92], - [1551439380000, 37], - [1551439410000, 71], - [1551439440000, 64], - [1551439470000, 39], - [1551439500000, 60], - [1551439530000, 56], - [1551439560000, 39], - [1551439590000, 36], - [1551439620000, 70], - [1551439650000, 47], - [1551439680000, 66], - [1551439710000, 124], - [1551439740000, 52], - [1551439770000, 98], - [1551439800000, 86], - [1551439830000, 97], - [1551439860000, 50], - [1551439890000, 36], - [1551439920000, 42], - [1551439950000, 41], - [1551439980000, 72], - [1551440010000, 93], - [1551440040000, 53], - [1551440070000, 33], - [1551440100000, 66], - [1551440130000, 43], - [1551440160000, 44], - [1551440190000, 34], - [1551440220000, 104], - [1551440250000, 50], - [1551440280000, 38], - [1551440310000, 35], - [1551440340000, 37], - [1551440370000, 37], - [1551440400000, 40], - [1551440430000, 33], - [1551440460000, 34], - [1551440490000, 31], - [1551440520000, 35], - [1551440550000, 41], - [1551440580000, 59], - [1551440610000, 36], - [1551440640000, 80], - [1551440670000, 41], - [1551440700000, 53], - [1551440730000, 106], - [1551440760000, 62], - [1551440790000, 90], - [1551440820000, 67], - [1551440850000, 107], - [1551440880000, 83], - [1551440910000, 74], - [1551440940000, 91], - [1551440970000, 57], - [1551441000000, 36], - [1551441030000, 33], - [1551441060000, 55], - [1551441090000, 41], - [1551441120000, 32], - [1551441150000, 38], - [1551441180000, 57], - [1551441210000, 57], - [1551441240000, 43], - [1551441270000, 41], - [1551441300000, 34], - [1551441330000, 59], - [1551441360000, 36], - [1551441390000, 71], - [1551441420000, 55], - [1551441450000, 43], - [1551441480000, 67], - [1551441510000, 81], - [1551441540000, 58], - [1551441570000, 97], - ], - }, - ], - }, - kibanaSummary: { - uuid: '38cd1f5c-fc29-492e-b5b6-34777df7bdf6', - name: 'demo.elastic.co', - index: '.kibana', - host: '0.0.0.0', - transport_address: '0.0.0.0:5601', - version: '6.5.4', - snapshot: false, - status: 'green', - availability: true, - os_memory_free: 74041475072, - uptime: 243193903, - }, -}; +const {RangePicker} = DatePicker; -const Elasticsearch_METRICS={ - "clusterStatus" : { - "status" : "green", - "dataSize" : 244042114, - "upTime" : 23367057, - "memMax" : 1610612736, - "indicesCount" : 24, - "documentCount" : 143430, - "totalShards" : 51, - "version" : [ - "7.9.0" - ], - "nodesCount" : 3, - "memUsed" : 746605120, - "unassignedShards" : 0 - }, - "metrics" : { - "cluster_throughput" : { - "axis":[ - { - "id":"indexing", - "position":"left", - "group":"group-1", - "title":"indexing", - "formatType":"num", - "labelFormat":"0,0", - "tickFormat":"0,0.[00]", - "ticks":"5", - "showGridLines":true, - },{ - "id":"searching", - "position":"right", - "group":"group-2", - "title":"searching", - "formatType":"num", - "labelFormat":"0,0", - "tickFormat":"0,0.[00]", - "showGridLines":false, - } - ], - "lines":[ - { - "timeRange" : { - "min" : 1613898824192, - "max" : 1613902424192 - }, - "metric" : { - "metricAgg" : "max", - "format" : "0,0.[00]", - "app" : "elasticsearch", - "hasCalculation" : false, - "title" : "Indexing Rate", - "isDerivative" : true, - "field" : "indices_stats._all.total.indexing.index_total", - "label" : "Total Indexing", - "description" : "Number of documents being indexed for primary and replica shards.", - "units" : "/s", - "formatType":"num", - "tickFormat":"0,0.[00]", - "group" : "group-1" - }, - "data" : [ - [ - 1613898840000, - 16.800000000000001 - ], - [ - 1613898870000, - 16.600000000000001 - ], - [ - 1613898900000, - 16.800000000000001 - ], - [ - 1613898930000, - 16.600000000000001 - ], - [ - 1613898960000, - 16.800000000000001 - ], - [ - 1613898990000, - 16.600000000000001 - ], - [ - 1613899020000, - 16.800000000000001 - ], - [ - 1613899050000, - 16.533333333333335 - ], - [ - 1613899080000, - 16.800000000000001 - ], - [ - 1613899110000, - 16.600000000000001 - ], - [ - 1613899140000, - 16.800000000000001 - ], - [ - 1613899170000, - 16.600000000000001 - ], - [ - 1613899200000, - 16.800000000000001 - ], - [ - 1613899230000, - 16.600000000000001 - ], - [ - 1613899260000, - 16.800000000000001 - ], - [ - 1613899290000, - 16.600000000000001 - ], - [ - 1613899320000, - 16.800000000000001 - ], - [ - 1613899350000, - 16.733333333333334 - ], - [ - 1613899380000, - 16.600000000000001 - ], - [ - 1613899410000, - 16.800000000000001 - ], - [ - 1613899440000, - 16.600000000000001 - ], - [ - 1613899470000, - 16.800000000000001 - ], - [ - 1613899500000, - 16.666666666666668 - ], - [ - 1613899530000, - 16.733333333333334 - ], - [ - 1613899560000, - 16.600000000000001 - ], - [ - 1613899590000, - 16.800000000000001 - ], - [ - 1613899620000, - 16.600000000000001 - ], - [ - 1613899650000, - 16.800000000000001 - ], - [ - 1613899680000, - 16.600000000000001 - ], - [ - 1613899710000, - 16.833333333333332 - ], - [ - 1613899740000, - 16.633333333333333 - ], - [ - 1613899770000, - 16.933333333333334 - ], - [ - 1613899800000, - 16.533333333333335 - ], - [ - 1613899830000, - 16.866666666666667 - ], - [ - 1613899860000, - 16.600000000000001 - ], - [ - 1613899890000, - 16.800000000000001 - ], - [ - 1613899920000, - 16.600000000000001 - ], - [ - 1613899950000, - 16.866666666666667 - ], - [ - 1613899980000, - 16.666666666666668 - ], - [ - 1613900010000, - 16.600000000000001 - ], - [ - 1613900040000, - 16.800000000000001 - ], - [ - 1613900070000, - 16.600000000000001 - ], - [ - 1613900100000, - 16.800000000000001 - ], - [ - 1613900130000, - 16.600000000000001 - ], - [ - 1613900160000, - 16.800000000000001 - ], - [ - 1613900190000, - 16.600000000000001 - ], - [ - 1613900220000, - 16.800000000000001 - ], - [ - 1613900250000, - 16.600000000000001 - ], - [ - 1613900280000, - 16.800000000000001 - ], - [ - 1613900310000, - 16.600000000000001 - ], - [ - 1613900340000, - 16.800000000000001 - ], - [ - 1613900370000, - 16.600000000000001 - ], - [ - 1613900400000, - 16.800000000000001 - ], - [ - 1613900430000, - 16.600000000000001 - ], - [ - 1613900460000, - 16.800000000000001 - ], - [ - 1613900490000, - 16.600000000000001 - ], - [ - 1613900520000, - 16.800000000000001 - ], - [ - 1613900550000, - 16.600000000000001 - ], - [ - 1613900580000, - 16.800000000000001 - ], - [ - 1613900610000, - 16.600000000000001 - ], - [ - 1613900640000, - 16.600000000000001 - ], - [ - 1613900670000, - 16.800000000000001 - ], - [ - 1613900700000, - 16.600000000000001 - ], - [ - 1613900730000, - 16.800000000000001 - ], - [ - 1613900760000, - 16.666666666666668 - ], - [ - 1613900790000, - 16.800000000000001 - ], - [ - 1613900820000, - 16.600000000000001 - ], - [ - 1613900850000, - 16.800000000000001 - ], - [ - 1613900880000, - 16.600000000000001 - ], - [ - 1613900910000, - 16.800000000000001 - ], - [ - 1613900940000, - 16.600000000000001 - ], - [ - 1613900970000, - 16.800000000000001 - ], - [ - 1613901000000, - 16.600000000000001 - ], - [ - 1613901030000, - 16.800000000000001 - ], - [ - 1613901060000, - 16.600000000000001 - ], - [ - 1613901090000, - 16.800000000000001 - ], - [ - 1613901120000, - 16.600000000000001 - ], - [ - 1613901150000, - 16.800000000000001 - ], - [ - 1613901180000, - 16.600000000000001 - ], - [ - 1613901210000, - 16.800000000000001 - ], - [ - 1613901240000, - 16.600000000000001 - ], - [ - 1613901270000, - 16.600000000000001 - ], - [ - 1613901300000, - 16.800000000000001 - ], - [ - 1613901330000, - 16.600000000000001 - ], - [ - 1613901360000, - 16.800000000000001 - ], - [ - 1613901390000, - 16.600000000000001 - ], - [ - 1613901420000, - 16.800000000000001 - ], - [ - 1613901450000, - 16.600000000000001 - ], - [ - 1613901480000, - 16.800000000000001 - ], - [ - 1613901510000, - 16.600000000000001 - ], - [ - 1613901540000, - 16.800000000000001 - ], - [ - 1613901570000, - 16.600000000000001 - ], - [ - 1613901600000, - 16.800000000000001 - ], - [ - 1613901630000, - 16.600000000000001 - ], - [ - 1613901660000, - 16.800000000000001 - ], - [ - 1613901690000, - 16.600000000000001 - ], - [ - 1613901720000, - 16.800000000000001 - ], - [ - 1613901750000, - 16.600000000000001 - ], - [ - 1613901780000, - 16.800000000000001 - ], - [ - 1613901810000, - 16.600000000000001 - ], - [ - 1613901840000, - 16.800000000000001 - ], - [ - 1613901870000, - 16.600000000000001 - ], - [ - 1613901900000, - 16.600000000000001 - ], - [ - 1613901930000, - 16.800000000000001 - ], - [ - 1613901960000, - 16.600000000000001 - ], - [ - 1613901990000, - 16.766666666666666 - ], - [ - 1613902020000, - 16.600000000000001 - ], - [ - 1613902050000, - 16.833333333333332 - ], - [ - 1613902080000, - 16.899999999999999 - ], - [ - 1613902110000, - 16.833333333333332 - ], - [ - 1613902140000, - 16.533333333333335 - ], - [ - 1613902170000, - 16.800000000000001 - ], - [ - 1613902200000, - 16.600000000000001 - ], - [ - 1613902230000, - 16.866666666666667 - ], - [ - 1613902260000, - 16.600000000000001 - ], - [ - 1613902290000, - 16.800000000000001 - ], - [ - 1613902320000, - 16.600000000000001 - ], - [ - 1613902350000, - 16.766666666666666 - ], - [ - 1613902380000, - 16.699999999999999 - ] - ], - "bucket_size" : "30 seconds" - }, - { - "timeRange" : { - "min" : 1613898824192, - "max" : 1613902424192 - }, - "metric" : { - "metricAgg" : "max", - "format" : "0,0.[00]", - "app" : "elasticsearch", - "hasCalculation" : false, - "title" : "Indexing Rate", - "isDerivative" : true, - "field" : "indices_stats._all.primaries.indexing.index_total", - "label" : "Primary Indexing", - "description" : "Number of documents being indexed for primary shards.", - "units" : "/s", - "formatType":"num", - "tickFormat":"0,0.[00]", - "group" : "group-1" - }, - "data" : [ - [ - 1613898840000, - 5998.4000000000000004 - ], - [ - 1613898870000, - 5990.3000000000000007 - ], - [ - 1613898900000, - 5898.4000000000000004 - ], - [ - 1613898930000, - 5798.3000000000000007 - ], - [ - 1613898960000, - 8.4000000000000004 - ], - [ - 1613898990000, - 8.3000000000000007 - ], - [ - 1613899020000, - 8.4000000000000004 - ], - [ - 1613899050000, - 8.2666666666666675 - ], - [ - 1613899080000, - 8.4000000000000004 - ], - [ - 1613899110000, - 8.3000000000000007 - ], - [ - 1613899140000, - 8.4000000000000004 - ], - [ - 1613899170000, - 8.3000000000000007 - ], - [ - 1613899200000, - 8.4000000000000004 - ], - [ - 1613899230000, - 8.3000000000000007 - ], - [ - 1613899260000, - 8.4000000000000004 - ], - [ - 1613899290000, - 8.3000000000000007 - ], - [ - 1613899320000, - 8.4000000000000004 - ], - [ - 1613899350000, - 8.3666666666666671 - ], - [ - 1613899380000, - 8.3000000000000007 - ], - [ - 1613899410000, - 8.4000000000000004 - ], - [ - 1613899440000, - 8.3000000000000007 - ], - [ - 1613899470000, - 8.4000000000000004 - ], - [ - 1613899500000, - 8.3333333333333339 - ], - [ - 1613899530000, - 8.3666666666666671 - ], - [ - 1613899560000, - 8.3000000000000007 - ], - [ - 1613899590000, - 8.4000000000000004 - ], - [ - 1613899620000, - 8.3000000000000007 - ], - [ - 1613899650000, - 8.4000000000000004 - ], - [ - 1613899680000, - 8.3000000000000007 - ], - [ - 1613899710000, - 8.4333333333333336 - ], - [ - 1613899740000, - 8.3000000000000007 - ], - [ - 1613899770000, - 8.4666666666666668 - ], - [ - 1613899800000, - 8.2666666666666675 - ], - [ - 1613899830000, - 8.4333333333333336 - ], - [ - 1613899860000, - 8.3000000000000007 - ], - [ - 1613899890000, - 8.4000000000000004 - ], - [ - 1613899920000, - 8.3000000000000007 - ], - [ - 1613899950000, - 8.4333333333333336 - ], - [ - 1613899980000, - 8.3333333333333339 - ], - [ - 1613900010000, - 8.3000000000000007 - ], - [ - 1613900040000, - 8.4000000000000004 - ], - [ - 1613900070000, - 8.3000000000000007 - ], - [ - 1613900100000, - 8.4000000000000004 - ], - [ - 1613900130000, - 8.3000000000000007 - ], - [ - 1613900160000, - 8.4000000000000004 - ], - [ - 1613900190000, - 8.3000000000000007 - ], - [ - 1613900220000, - 8.4000000000000004 - ], - [ - 1613900250000, - 8.3000000000000007 - ], - [ - 1613900280000, - 8.4000000000000004 - ], - [ - 1613900310000, - 8.3000000000000007 - ], - [ - 1613900340000, - 8.4000000000000004 - ], - [ - 1613900370000, - 8.3000000000000007 - ], - [ - 1613900400000, - 8.4000000000000004 - ], - [ - 1613900430000, - 8.3000000000000007 - ], - [ - 1613900460000, - 8.4000000000000004 - ], - [ - 1613900490000, - 8.3000000000000007 - ], - [ - 1613900520000, - 8.4000000000000004 - ], - [ - 1613900550000, - 8.3000000000000007 - ], - [ - 1613900580000, - 8.4000000000000004 - ], - [ - 1613900610000, - 8.3000000000000007 - ], - [ - 1613900640000, - 8.3000000000000007 - ], - [ - 1613900670000, - 8.4000000000000004 - ], - [ - 1613900700000, - 8.3000000000000007 - ], - [ - 1613900730000, - 8.4000000000000004 - ], - [ - 1613900760000, - 8.3333333333333339 - ], - [ - 1613900790000, - 8.4000000000000004 - ], - [ - 1613900820000, - 8.3000000000000007 - ], - [ - 1613900850000, - 8.4000000000000004 - ], - [ - 1613900880000, - 8.3000000000000007 - ], - [ - 1613900910000, - 8.4000000000000004 - ], - [ - 1613900940000, - 8.3000000000000007 - ], - [ - 1613900970000, - 8.4000000000000004 - ], - [ - 1613901000000, - 8.3000000000000007 - ], - [ - 1613901030000, - 8.4000000000000004 - ], - [ - 1613901060000, - 8.3000000000000007 - ], - [ - 1613901090000, - 8.4000000000000004 - ], - [ - 1613901120000, - 8.3000000000000007 - ], - [ - 1613901150000, - 8.4000000000000004 - ], - [ - 1613901180000, - 8.3000000000000007 - ], - [ - 1613901210000, - 8.4000000000000004 - ], - [ - 1613901240000, - 8.3000000000000007 - ], - [ - 1613901270000, - 8.3000000000000007 - ], - [ - 1613901300000, - 8.4000000000000004 - ], - [ - 1613901330000, - 8.3000000000000007 - ], - [ - 1613901360000, - 8.4000000000000004 - ], - [ - 1613901390000, - 8.3000000000000007 - ], - [ - 1613901420000, - 8.4000000000000004 - ], - [ - 1613901450000, - 8.3000000000000007 - ], - [ - 1613901480000, - 8.4000000000000004 - ], - [ - 1613901510000, - 8.3000000000000007 - ], - [ - 1613901540000, - 8.4000000000000004 - ], - [ - 1613901570000, - 8.3000000000000007 - ], - [ - 1613901600000, - 8.4000000000000004 - ], - [ - 1613901630000, - 8.3000000000000007 - ], - [ - 1613901660000, - 8.4000000000000004 - ], - [ - 1613901690000, - 8.3000000000000007 - ], - [ - 1613901720000, - 8.4000000000000004 - ], - [ - 1613901750000, - 8.3000000000000007 - ], - [ - 1613901780000, - 8.4000000000000004 - ], - [ - 1613901810000, - 8.3000000000000007 - ], - [ - 1613901840000, - 8.4000000000000004 - ], - [ - 1613901870000, - 8.3000000000000007 - ], - [ - 1613901900000, - 8.3000000000000007 - ], - [ - 1613901930000, - 8.4000000000000004 - ], - [ - 1613901960000, - 8.3000000000000007 - ], - [ - 1613901990000, - 8.4000000000000004 - ], - [ - 1613902020000, - 8.3000000000000007 - ], - [ - 1613902050000, - 8.4000000000000004 - ], - [ - 1613902080000, - 8.4666666666666668 - ], - [ - 1613902110000, - 8.4000000000000004 - ], - [ - 1613902140000, - 8.2666666666666675 - ], - [ - 1613902170000, - 8.4000000000000004 - ], - [ - 1613902200000, - 8.3000000000000007 - ], - [ - 1613902230000, - 8.4333333333333336 - ], - [ - 1613902260000, - 8.3000000000000007 - ], - [ - 1613902290000, - 8.4000000000000004 - ], - [ - 1613902320000, - 8.3000000000000007 - ], - [ - 1613902350000, - 8.4000000000000004 - ], - [ - 1613902380000, - 8.3333333333333339 - ] - ], - "bucket_size" : "30 seconds" - }, - { - "timeRange" : { - "min" : 1613898824192, - "max" : 1613902424192 - }, - "metric" : { - "metricAgg" : "max", - "format" : "0,0.[00]", - "app" : "elasticsearch", - "hasCalculation" : false, - "title" : "Search Rate", - "isDerivative" : true, - "field" : "indices_stats._all.total.search.query_total", - "label" : "Total Searching", - "description" : "Number of search requests being executed across primary and replica shards. A single search can run against multiple shards!", - "units" : "/s", - "formatType":"num", - "tickFormat":"0,0.[00]", - "group" : "group-2" - }, - "data" : [ - [ - 1613898840000, - 5.2333333333333334 - ], - [ - 1613898870000, - 5.1333333333333337 - ], - [ - 1613898900000, - 3.6333333333333333 - ], - [ - 1613898930000, - 5.166666666666667 - ], - [ - 1613898960000, - 3.6333333333333333 - ], - [ - 1613898990000, - 5.166666666666667 - ], - [ - 1613899020000, - 5.2000000000000002 - ], - [ - 1613899050000, - 3.5666666666666669 - ], - [ - 1613899080000, - 5.2333333333333334 - ], - [ - 1613899110000, - 3.5666666666666669 - ], - [ - 1613899140000, - 5.2333333333333334 - ], - [ - 1613899170000, - 5.0999999999999996 - ], - [ - 1613899200000, - 3.6333333333333333 - ], - [ - 1613899230000, - 5.166666666666667 - ], - [ - 1613899260000, - 3.6333333333333333 - ], - [ - 1613899290000, - 5.166666666666667 - ], - [ - 1613899320000, - 5.2333333333333334 - ], - [ - 1613899350000, - 3.5666666666666669 - ], - [ - 1613899380000, - 5.1333333333333337 - ], - [ - 1613899410000, - 3.6000000000000001 - ], - [ - 1613899440000, - 5.166666666666667 - ], - [ - 1613899470000, - 3.6333333333333333 - ], - [ - 1613899500000, - 5.166666666666667 - ], - [ - 1613899530000, - 3.6333333333333333 - ], - [ - 1613899560000, - 5.0999999999999996 - ], - [ - 1613899590000, - 5.2333333333333334 - ], - [ - 1613899620000, - 3.5666666666666669 - ], - [ - 1613899650000, - 5.2333333333333334 - ], - [ - 1613899680000, - 3.5666666666666669 - ], - [ - 1613899710000, - 5.2333333333333334 - ], - [ - 1613899740000, - 6.2666666666666666 - ], - [ - 1613899770000, - 18.466666666666665 - ], - [ - 1613899800000, - 8.5666666666666664 - ], - [ - 1613899830000, - 12.733333333333333 - ], - [ - 1613899860000, - 8.5666666666666664 - ], - [ - 1613899890000, - 12.733333333333333 - ], - [ - 1613899920000, - 12.666666666666666 - ], - [ - 1613899950000, - 8.6333333333333329 - ], - [ - 1613899980000, - 12.666666666666666 - ], - [ - 1613900010000, - 8.5666666666666664 - ], - [ - 1613900040000, - 12.733333333333333 - ], - [ - 1613900070000, - 8.5666666666666664 - ], - [ - 1613900100000, - 12.733333333333333 - ], - [ - 1613900130000, - 8.5666666666666664 - ], - [ - 1613900160000, - 12.733333333333333 - ], - [ - 1613900190000, - 8.5666666666666664 - ], - [ - 1613900220000, - 12.733333333333333 - ], - [ - 1613900250000, - 8.4666666666666668 - ], - [ - 1613900280000, - 8.6333333333333329 - ], - [ - 1613900310000, - 12.666666666666666 - ], - [ - 1613900340000, - 8.6333333333333329 - ], - [ - 1613900370000, - 12.666666666666666 - ], - [ - 1613900400000, - 8.5999999999999996 - ], - [ - 1613900430000, - 8.6333333333333329 - ], - [ - 1613900460000, - 12.666666666666666 - ], - [ - 1613900490000, - 8.5666666666666664 - ], - [ - 1613900520000, - 8.6333333333333329 - ], - [ - 1613900550000, - 12.666666666666666 - ], - [ - 1613900580000, - 8.6333333333333329 - ], - [ - 1613900610000, - 12.666666666666666 - ], - [ - 1613900640000, - 12.666666666666666 - ], - [ - 1613900670000, - 8.6666666666666661 - ], - [ - 1613900700000, - 12.666666666666666 - ], - [ - 1613900730000, - 8.6333333333333329 - ], - [ - 1613900760000, - 12.666666666666666 - ], - [ - 1613900790000, - 12.733333333333333 - ], - [ - 1613900820000, - 8.5666666666666664 - ], - [ - 1613900850000, - 12.733333333333333 - ], - [ - 1613900880000, - 12.666666666666666 - ], - [ - 1613900910000, - 8.6333333333333329 - ], - [ - 1613900940000, - 12.666666666666666 - ], - [ - 1613900970000, - 8.6333333333333329 - ], - [ - 1613901000000, - 12.666666666666666 - ], - [ - 1613901030000, - 8.6333333333333329 - ], - [ - 1613901060000, - 12.666666666666666 - ], - [ - 1613901090000, - 8.6333333333333329 - ], - [ - 1613901120000, - 8.5666666666666664 - ], - [ - 1613901150000, - 12.733333333333333 - ], - [ - 1613901180000, - 8.5666666666666664 - ], - [ - 1613901210000, - 12.733333333333333 - ], - [ - 1613901240000, - 12.666666666666666 - ], - [ - 1613901270000, - 8.5666666666666664 - ], - [ - 1613901300000, - 12.733333333333333 - ], - [ - 1613901330000, - 8.5666666666666664 - ], - [ - 1613901360000, - 12.733333333333333 - ], - [ - 1613901390000, - 8.5666666666666664 - ], - [ - 1613901420000, - 12.733333333333333 - ], - [ - 1613901450000, - 8.5666666666666664 - ], - [ - 1613901480000, - 12.733333333333333 - ], - [ - 1613901510000, - 8.5666666666666664 - ], - [ - 1613901540000, - 12.733333333333333 - ], - [ - 1613901570000, - 8.5666666666666664 - ], - [ - 1613901600000, - 12.699999999999999 - ], - [ - 1613901630000, - 8.5666666666666664 - ], - [ - 1613901660000, - 8.6333333333333329 - ], - [ - 1613901690000, - 8.5666666666666664 - ], - [ - 1613901720000, - 8.6333333333333329 - ], - [ - 1613901750000, - 12.633333333333333 - ], - [ - 1613901780000, - 12.733333333333333 - ], - [ - 1613901810000, - 8.5 - ], - [ - 1613901840000, - 8.6333333333333329 - ], - [ - 1613901870000, - 12.666666666666666 - ], - [ - 1613901900000, - 8.5666666666666664 - ], - [ - 1613901930000, - 12.733333333333333 - ], - [ - 1613901960000, - 8.5666666666666664 - ], - [ - 1613901990000, - 12.733333333333333 - ], - [ - 1613902020000, - 12.666666666666666 - ], - [ - 1613902050000, - 8.6333333333333329 - ], - [ - 1613902080000, - 12.666666666666666 - ], - [ - 1613902110000, - 8.6333333333333329 - ], - [ - 1613902140000, - 12.666666666666666 - ], - [ - 1613902170000, - 12.733333333333333 - ], - [ - 1613902200000, - 8.5 - ], - [ - 1613902230000, - 12.733333333333333 - ], - [ - 1613902260000, - 8.5666666666666664 - ], - [ - 1613902290000, - 12.733333333333333 - ], - [ - 1613902320000, - 8.5666666666666664 - ], - [ - 1613902350000, - 12.733333333333333 - ], - [ - 1613902380000, - 8.5666666666666664 - ] - ], - "bucket_size" : "30 seconds" - } - ] - }, - "cluster_latency" :{ - "axis":[ - { - "id":"indexing", - "position":"left", - "group":"group-1", - "title":"indexing", - "formatType":"num", - "labelFormat":"0,0.[00]", - "tickFormat":"0,0.[00]", - "ticks":"5", - "showGridLines":true, - }, - { - "id":"searching", - "position":"right", - "group":"group-2", - "title":"searching", - "formatType":"num", - "labelFormat":"0,0.[00]", - "tickFormat":"0,0.[00]", - "ticks":"5", - "showGridLines":false, - } - ], - "lines": [ - { - "timeRange" : { - "min" : 1613898824192, - "max" : 1613902424192 - }, - "metric" : { - "metricAgg" : "sum", - "app" : "elasticsearch", - "hasCalculation" : true, - "isDerivative" : false, - "field" : "indices_stats._all.primaries.indexing.index_total", - "group" : "group-1", - "label" : "Indexing", - "description" : "Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This only considers primary shards.", - "units" : "ms", - "formatType":"num", - "tickFormat":"0,0.[00]", - }, - "data" : [ - [ - 1613898840000, - 0.35714285714285715 - ], - [ - 1613898870000, - 0.31325301204819278 - ], - [ - 1613898900000, - 0.1626984126984127 - ], - [ - 1613898930000, - 0.73092369477911634 - ], - [ - 1613898960000, - 0.33333333333333331 - ], - [ - 1613898990000, - 0.2971887550200803 - ], - [ - 1613899020000, - 0.13095238095238096 - ], - [ - 1613899050000, - 2.2096774193548385 - ], - [ - 1613899080000, - 0.24206349206349204 - ], - [ - 1613899110000, - 0.10843373493975902 - ], - [ - 1613899140000, - 0.10317460317460317 - ], - [ - 1613899170000, - 0.26104417670682728 - ], - [ - 1613899200000, - 0.26984126984126983 - ], - [ - 1613899230000, - 0.076305220883534128 - ], - [ - 1613899260000, - 0.17063492063492064 - ], - [ - 1613899290000, - 0.44176706827309231 - ], - [ - 1613899320000, - 0.26587301587301587 - ], - [ - 1613899350000, - 0.61354581673306774 - ], - [ - 1613899380000, - 0.13253012048192772 - ], - [ - 1613899410000, - 1.1666666666666667 - ], - [ - 1613899440000, - 0.47791164658634533 - ], - [ - 1613899470000, - 0.8214285714285714 - ], - [ - 1613899500000, - 0.096000000000000002 - ], - [ - 1613899530000, - 0.15537848605577689 - ], - [ - 1613899560000, - 0.52610441767068261 - ], - [ - 1613899590000, - 1.1507936507936507 - ], - [ - 1613899620000, - 0.09638554216867469 - ], - [ - 1613899650000, - 0.37301587301587302 - ], - [ - 1613899680000, - 0.51405622489959835 - ], - [ - 1613899710000, - 0.60869565217391308 - ], - [ - 1613899740000, - 0.35742971887550201 - ], - [ - 1613899770000, - 0.28346456692913385 - ], - [ - 1613899800000, - 0.33870967741935476 - ], - [ - 1613899830000, - 0.38735177865612647 - ], - [ - 1613899860000, - 0.29317269076305214 - ], - [ - 1613899890000, - 0.11507936507936507 - ], - [ - 1613899920000, - 0.16867469879518071 - ], - [ - 1613899950000, - 0.39920948616600788 - ], - [ - 1613899980000, - 0.27599999999999997 - ], - [ - 1613900010000, - 0.34939759036144574 - ], - [ - 1613900040000, - 0.15079365079365079 - ], - [ - 1613900070000, - 0.46987951807228912 - ], - [ - 1613900100000, - 0.32142857142857145 - ], - [ - 1613900130000, - 0.50602409638554213 - ], - [ - 1613900160000, - 0.11507936507936507 - ], - [ - 1613900190000, - 0.12449799196787149 - ], - [ - 1613900220000, - 0.23015873015873015 - ], - [ - 1613900250000, - 0.38554216867469876 - ], - [ - 1613900280000, - 0.37698412698412698 - ], - [ - 1613900310000, - 0.16867469879518071 - ], - [ - 1613900340000, - 0.38888888888888884 - ], - [ - 1613900370000, - 0.57429718875502 - ], - [ - 1613900400000, - 0.36507936507936511 - ], - [ - 1613900430000, - 0.16064257028112447 - ], - [ - 1613900460000, - 0.2857142857142857 - ], - [ - 1613900490000, - 0.47791164658634533 - ], - [ - 1613900520000, - 0.23809523809523808 - ], - [ - 1613900550000, - 0.15261044176706826 - ], - [ - 1613900580000, - 0.51984126984126977 - ], - [ - 1613900610000, - 0.36144578313253006 - ], - [ - 1613900640000, - 0.2730923694779116 - ], - [ - 1613900670000, - 0.34920634920634919 - ], - [ - 1613900700000, - 0.93975903614457823 - ], - [ - 1613900730000, - 0.51190476190476186 - ], - [ - 1613900760000, - 0.27199999999999996 - ], - [ - 1613900790000, - 0.12301587301587302 - ], - [ - 1613900820000, - 0.40160642570281124 - ], - [ - 1613900850000, - 0.31349206349206349 - ], - [ - 1613900880000, - 0.09638554216867469 - ], - [ - 1613900910000, - 0.25793650793650791 - ], - [ - 1613900940000, - 0.2329317269076305 - ], - [ - 1613900970000, - 0.3611111111111111 - ], - [ - 1613901000000, - 0.29317269076305214 - ], - [ - 1613901030000, - 0.30555555555555558 - ], - [ - 1613901060000, - 0.36546184738955817 - ], - [ - 1613901090000, - 0.21825396825396823 - ], - [ - 1613901120000, - 0.15662650602409639 - ], - [ - 1613901150000, - 0.26984126984126983 - ], - [ - 1613901180000, - 0.75100401606425693 - ], - [ - 1613901210000, - 0.63888888888888884 - ], - [ - 1613901240000, - 0.088353413654618462 - ], - [ - 1613901270000, - 0.28514056224899598 - ], - [ - 1613901300000, - 0.40079365079365076 - ], - [ - 1613901330000, - 0.31325301204819278 - ], - [ - 1613901360000, - 0.19444444444444442 - ], - [ - 1613901390000, - 0.21285140562248994 - ], - [ - 1613901420000, - 0.38095238095238093 - ], - [ - 1613901450000, - 0.38152610441767065 - ], - [ - 1613901480000, - 0.42460317460317459 - ], - [ - 1613901510000, - 0.12449799196787149 - ], - [ - 1613901540000, - 0.19047619047619047 - ], - [ - 1613901570000, - 0.32931726907630521 - ], - [ - 1613901600000, - 0.3968253968253968 - ], - [ - 1613901630000, - 0.2048192771084337 - ], - [ - 1613901660000, - 0.30555555555555558 - ], - [ - 1613901690000, - 0.67469879518072284 - ], - [ - 1613901720000, - 0.5 - ], - [ - 1613901750000, - 0.20080321285140562 - ], - [ - 1613901780000, - 0.34126984126984128 - ], - [ - 1613901810000, - 0.33734939759036142 - ], - [ - 1613901840000, - 0.29761904761904762 - ], - [ - 1613901870000, - 0.26506024096385544 - ], - [ - 1613901900000, - 0.49799196787148597 - ], - [ - 1613901930000, - 0.59126984126984128 - ], - [ - 1613901960000, - 0.34136546184738953 - ], - [ - 1613901990000, - 0.18650793650793651 - ], - [ - 1613902020000, - 1.506024096385542 - ], - [ - 1613902050000, - 0.97619047619047605 - ], - [ - 1613902080000, - 0.37401574803149606 - ], - [ - 1613902110000, - 0.4682539682539682 - ], - [ - 1613902140000, - 0.66129032258064513 - ], - [ - 1613902170000, - 0.59126984126984128 - ], - [ - 1613902200000, - 0.46586345381526101 - ], - [ - 1613902230000, - 0.32806324110671936 - ], - [ - 1613902260000, - 0.87550200803212841 - ], - [ - 1613902290000, - 0.45238095238095233 - ], - [ - 1613902320000, - 0.32931726907630521 - ], - [ - 1613902350000, - 0.46428571428571425 - ], - [ - 1613902380000, - 1.4359999999999999 - ] - ], - "bucket_size" : "30 seconds" - }, - { - "timeRange" : { - "min" : 1613898824192, - "max" : 1613902424192 - }, - "metric" : { - "metricAgg" : "sum", - "app" : "elasticsearch", - "hasCalculation" : true, - "isDerivative" : false, - "field" : "indices_stats._all.total.search.query_total", - "label" : "Searching", - "group" : "group-2", - "description" : "Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.", - "units" : "ms", - "formatType":"num", - "tickFormat":"0,0.[00]", - }, - "data" : [ - [ - 1613898840000, - 0.69426751592356684 - ], - [ - 1613898870000, - 0.6298701298701298 - ], - [ - 1613898900000, - 0.67889908256880738 - ], - [ - 1613898930000, - 0.67741935483870963 - ], - [ - 1613898960000, - 0.61467889908256879 - ], - [ - 1613898990000, - 0.58064516129032251 - ], - [ - 1613899020000, - 0.58333333333333326 - ], - [ - 1613899050000, - 2.457943925233645 - ], - [ - 1613899080000, - 1.3439490445859872 - ], - [ - 1613899110000, - 0.66355140186915884 - ], - [ - 1613899140000, - 0.61783439490445857 - ], - [ - 1613899170000, - 0.69934640522875824 - ], - [ - 1613899200000, - 0.67889908256880738 - ], - [ - 1613899230000, - 0.58709677419354833 - ], - [ - 1613899260000, - 0.60550458715596334 - ], - [ - 1613899290000, - 0.65161290322580645 - ], - [ - 1613899320000, - 0.79617834394904463 - ], - [ - 1613899350000, - 1.5887850467289719 - ], - [ - 1613899380000, - 0.75974025974025972 - ], - [ - 1613899410000, - 0.94444444444444442 - ], - [ - 1613899440000, - 0.80645161290322587 - ], - [ - 1613899470000, - 0.68807339449541283 - ], - [ - 1613899500000, - 0.76129032258064511 - ], - [ - 1613899530000, - 0.79816513761467889 - ], - [ - 1613899560000, - 0.69934640522875824 - ], - [ - 1613899590000, - 0.7707006369426751 - ], - [ - 1613899620000, - 0.64485981308411211 - ], - [ - 1613899650000, - 0.74522292993630568 - ], - [ - 1613899680000, - 0.57009345794392519 - ], - [ - 1613899710000, - 0.71974522292993626 - ], - [ - 1613899740000, - 1.5372340425531914 - ], - [ - 1613899770000, - 1.3212996389891698 - ], - [ - 1613899800000, - 0.59533073929961089 - ], - [ - 1613899830000, - 0.49476439790575916 - ], - [ - 1613899860000, - 0.66147859922178998 - ], - [ - 1613899890000, - 0.91361256544502623 - ], - [ - 1613899920000, - 0.48684210526315796 - ], - [ - 1613899950000, - 0.46718146718146719 - ], - [ - 1613899980000, - 0.54473684210526319 - ], - [ - 1613900010000, - 0.80933852140077822 - ], - [ - 1613900040000, - 0.6413612565445026 - ], - [ - 1613900070000, - 0.91828793774319062 - ], - [ - 1613900100000, - 0.84293193717277481 - ], - [ - 1613900130000, - 0.48638132295719849 - ], - [ - 1613900160000, - 0.59685863874345546 - ], - [ - 1613900190000, - 0.76653696498054469 - ], - [ - 1613900220000, - 0.54188481675392675 - ], - [ - 1613900250000, - 0.84251968503937014 - ], - [ - 1613900280000, - 1.3436293436293436 - ], - [ - 1613900310000, - 0.66315789473684217 - ], - [ - 1613900340000, - 0.61389961389961389 - ], - [ - 1613900370000, - 0.59473684210526323 - ], - [ - 1613900400000, - 0.63953488372093026 - ], - [ - 1613900430000, - 0.54054054054054057 - ], - [ - 1613900460000, - 0.50263157894736843 - ], - [ - 1613900490000, - 0.52918287937743191 - ], - [ - 1613900520000, - 0.69498069498069504 - ], - [ - 1613900550000, - 0.50526315789473686 - ], - [ - 1613900580000, - 0.55212355212355213 - ], - [ - 1613900610000, - 0.89473684210526327 - ], - [ - 1613900640000, - 0.52631578947368429 - ], - [ - 1613900670000, - 0.88461538461538469 - ], - [ - 1613900700000, - 0.49210526315789477 - ], - [ - 1613900730000, - 0.66023166023166024 - ], - [ - 1613900760000, - 0.58157894736842108 - ], - [ - 1613900790000, - 0.48167539267015713 - ], - [ - 1613900820000, - 0.47081712062256809 - ], - [ - 1613900850000, - 0.4659685863874346 - ], - [ - 1613900880000, - 0.42368421052631577 - ], - [ - 1613900910000, - 0.46718146718146719 - ], - [ - 1613900940000, - 0.48947368421052634 - ], - [ - 1613900970000, - 0.5212355212355213 - ], - [ - 1613901000000, - 0.45263157894736844 - ], - [ - 1613901030000, - 0.58301158301158307 - ], - [ - 1613901060000, - 0.54210526315789476 - ], - [ - 1613901090000, - 0.70270270270270274 - ], - [ - 1613901120000, - 0.53307392996108949 - ], - [ - 1613901150000, - 0.53926701570680624 - ], - [ - 1613901180000, - 0.96108949416342404 - ], - [ - 1613901210000, - 0.51047120418848169 - ], - [ - 1613901240000, - 0.61315789473684212 - ], - [ - 1613901270000, - 0.55252918287937747 - ], - [ - 1613901300000, - 0.51047120418848169 - ], - [ - 1613901330000, - 0.43968871595330739 - ], - [ - 1613901360000, - 0.44764397905759168 - ], - [ - 1613901390000, - 0.56420233463035019 - ], - [ - 1613901420000, - 0.43717277486910994 - ], - [ - 1613901450000, - 0.56420233463035019 - ], - [ - 1613901480000, - 0.44502617801047123 - ], - [ - 1613901510000, - 0.47859922178988323 - ], - [ - 1613901540000, - 0.43455497382198954 - ], - [ - 1613901570000, - 0.46692607003891051 - ], - [ - 1613901600000, - 0.54855643044619429 - ], - [ - 1613901630000, - 0.95330739299610889 - ], - [ - 1613901660000, - 0.77220077220077232 - ], - [ - 1613901690000, - 1.5719844357976653 - ], - [ - 1613901720000, - 0.54054054054054057 - ], - [ - 1613901750000, - 0.58311345646437995 - ], - [ - 1613901780000, - 1.2434554973821992 - ], - [ - 1613901810000, - 0.52156862745098043 - ], - [ - 1613901840000, - 0.91119691119691115 - ], - [ - 1613901870000, - 0.42631578947368426 - ], - [ - 1613901900000, - 0.39299610894941633 - ], - [ - 1613901930000, - 0.94240837696335089 - ], - [ - 1613901960000, - 0.6108949416342413 - ], - [ - 1613901990000, - 0.5 - ], - [ - 1613902020000, - 1.0131578947368423 - ], - [ - 1613902050000, - 1.254826254826255 - ], - [ - 1613902080000, - 0.46052631578947367 - ], - [ - 1613902110000, - 0.77606177606177618 - ], - [ - 1613902140000, - 0.58421052631578951 - ], - [ - 1613902170000, - 0.49214659685863876 - ], - [ - 1613902200000, - 0.53333333333333333 - ], - [ - 1613902230000, - 0.91623036649214662 - ], - [ - 1613902260000, - 0.92607003891050588 - ], - [ - 1613902290000, - 0.65968586387434558 - ], - [ - 1613902320000, - 0.52140077821011677 - ], - [ - 1613902350000, - 0.51570680628272247 - ], - [ - 1613902380000, - 0.68482490272373542 - ] - ], - "bucket_size" : "30 seconds" - } - ] - }, - }, - "logs" : { - "enabled" : false, - "reason" : { - "indexPatternExists" : false, - "typeExistsAtAnyTime" : false, - "nodeExists" : null, - "clusterExists" : false, - "typeExists" : false, - "indexExists" : null, - "indexPatternInTimeRangeExists" : false, - "usingStructuredLogs" : false - }, - "logs" : [ - ], - "limit" : 10 - } -} let fetchDataCount = 0; let tv1 = null; -let HealthCircle = (props)=>{ +let HealthCircle = (props) => { return (
+ }}/> ) } +const unitArr = Array("Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"); + let formatter = { - bytes: (value)=>{ - if(null == value || value == ''){ + bytes: (value) => { + if (null == value || value === '') { return "0 Bytes"; } - var unitArr = new Array("Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"); - var index=0; + var index = 0; var srcsize = parseFloat(value); - index = Math.floor(Math.log(srcsize)/Math.log(1024)); - var size = srcsize/Math.pow(1024,index); + index = Math.floor(Math.log(srcsize) / Math.log(1024)); + var size = srcsize / Math.pow(1024, index); size = size.toFixed(1); return size + unitArr[index]; }, dates: timeFormatter(niceTimeFormatByDay(1)), full_dates: (d) => DateTime.fromMillis(d).toFormat('yyyy-MM-dd HH:mm:ss'), utc_full_dates: (d) => DateTime.fromMillis(d).toUTC().toFormat('yyyy-MM-dd HH:mm:ss'), - ratio:(d) => `${Number(d).toFixed(0)}%`, - highPrecisionNumber:(d) => numeral(d).format('0.0000'), - lowPrecisionNumber:(d) => numeral(d).format('0.0'), + ratio: (d) => `${Number(d).toFixed(0)}%`, + highPrecisionNumber: (d) => numeral(d).format('0.0000'), + lowPrecisionNumber: (d) => numeral(d).format('0.0'), + number: (d) => numeral(d).format('0,0'), } -function getFormatter(type,format,units){ +function getFormatter(type, format, units) { switch (type) { case "bytes": return formatter.bytes case "ratio": return formatter.ratio case "num": - return getNumFormatter(format,units) + return getNumFormatter(format, units) default: return formatter.lowPrecisionNumber } } -function getNumFormatter(format,units){ - return (d) => numeral(d).format(format)+ (units ? ` ${units}` : '') +function getNumFormatter(format, units) { + return (d) => numeral(d).format(format) + (units ? ` ${units}` : '') } -let timezone="local"; +let timezone = "local"; const theme = { legend: { @@ -4097,31 +117,39 @@ const theme = { stroke: '#333', }, tickLabel: { - fill: '#333', - fontSize: 10, + fill: '#333', + fontSize: 10, fontFamily: "'Open Sans', Helvetica, Arial, sans-serif", fontStyle: 'normal', padding: 2, }, tickLine: { visible: true, - stroke: '#333', + stroke: '#333', strokeWidth: 1, padding: 0, }, }, } -@connect(({ clusterMonitor }) => ({ +const vstyle = { + fontSize: 12, + wordBreak: "break-all", + marginRight: "5px" +}; + +@connect(({clusterMonitor}) => ({ clusterMonitor })) + class ClusterMonitor extends PureComponent { constructor(props) { super(props); //this.timePicker = React.createRef(); this.handleChartBrush = this.handleChartBrush.bind(this); } - state={ + + state = { timeRange: { min: moment().subtract(1, 'h').toISOString(), max: moment().toISOString() @@ -4132,9 +160,9 @@ class ClusterMonitor extends PureComponent { fetchData = () => { fetchDataCount++; //console.log(fetchDataCount, moment().diff(startTime)/1000); - const { dispatch } = this.props; - let {timeRange, lastSeconds } = this.state; - if(lastSeconds && lastSeconds > 0){ + const {dispatch} = this.props; + let {timeRange, lastSeconds} = this.state; + if (lastSeconds && lastSeconds > 0) { timeRange = { min: moment().subtract(lastSeconds, 's').toISOString(), max: moment().toISOString(), @@ -4147,39 +175,40 @@ class ClusterMonitor extends PureComponent { let msDiff = moment(timeRange.max).diff(moment(timeRange.min)); let timeMask = 'HH:mm'; //console.log(msDiff); - if(msDiff > 1000 * 3600 + 5 * 1000 && msDiff <= 1000 * 3600 * 24 * 5 ){ + if (msDiff > 1000 * 3600 + 5 * 1000 && msDiff <= 1000 * 3600 * 24 * 5) { timeMask = 'MM-DD HH' - }else if (msDiff > 1000 * 3600 * 24 * 5 && msDiff <= 1000 * 3600 * 24 * 182){ + } else if (msDiff > 1000 * 3600 * 24 * 5 && msDiff <= 1000 * 3600 * 24 * 182) { timeMask = 'MM-DD' - }else if(msDiff > 1000 * 3600 * 24 * 182){ + } else if (msDiff > 1000 * 3600 * 24 * 182) { timeMask = 'YY-MM-DD' } this.setState({timeScale: {min: timeRange.min, max: timeRange.max, mask: timeMask}}); dispatch({ - type: 'clusterMonitor/fetchClusterOverview', + type: 'clusterMonitor/fetchClusterMetrics', payload: { timeRange: timeRange, }, }); } - componentWillUnmount(){ + + componentWillUnmount() { clearInterval(tv1); } + componentDidMount() { - const { match, location } = this.props; - console.log(location.query.name, match.params); + const {match, location} = this.props; let min = location.query.start || '2020-12-10 15:00'; let max = location.query.end || '2020-12-10 16:00'; min = moment(min, 'YYYY-MM-DD HH:mm'); max = moment(max, 'YYYY-MM-DD HH:mm'); this.setState({ - timeRange:{ + timeRange: { min: min, max: max, }, lastSeconds: 0, pickerValue: [min, max], - },()=>{ + }, () => { this.fetchData(); }) @@ -4189,10 +218,10 @@ class ClusterMonitor extends PureComponent { this.autoRefresh(); } - autoRefresh(durationInSeconds){ + autoRefresh(durationInSeconds) { !durationInSeconds && (durationInSeconds = 10); clearInterval(tv1); - tv1 = setInterval(()=>{ + tv1 = setInterval(() => { this.fetchData(); }, durationInSeconds * 1000); } @@ -4207,7 +236,7 @@ class ClusterMonitor extends PureComponent { max: max }, lastSeconds: 0, - }, ()=>{ + }, () => { this.fetchData(); }); } @@ -4217,10 +246,10 @@ class ClusterMonitor extends PureComponent { }); } - handleQuickSelect = (ev) =>{ + handleQuickSelect = (ev) => { let lastSeconds = 0; let key = ev.key || ev.target.type; - switch(key){ + switch (key) { case "2": lastSeconds = 3600 * 24; break; @@ -4242,18 +271,18 @@ class ClusterMonitor extends PureComponent { this.setState({ lastSeconds: lastSeconds, qsVisible: false, - },()=>{ + }, () => { this.fetchData(); }); } handleQSVisibleChange = flag => { - this.setState({ qsVisible: flag }); + this.setState({qsVisible: flag}); }; - handleChartBrush(ev){ + handleChartBrush(ev) { let dtimes = ev.time; - if(dtimes.length < 2) + if (dtimes.length < 2) return; let timeRange = { min: dtimes[0], @@ -4262,16 +291,16 @@ class ClusterMonitor extends PureComponent { this.setState({ timeRange: timeRange, lastSeconds: 0, - pickerValue:[moment(dtimes[0]), moment(dtimes[1])], - },()=>{ + pickerValue: [moment(dtimes[0]), moment(dtimes[1])], + }, () => { this.fetchData(); }); } - handleAutoRefresh = ()=>{ + handleAutoRefresh = () => { let unit = this.refreshUnit.rcSelect.state.value[0]; let base = 1; - switch(unit){ + switch (unit) { case "minutes": base *= 60; break; @@ -4283,10 +312,10 @@ class ClusterMonitor extends PureComponent { this.autoRefresh(durationInSeconds); } - handleRecentInput = ()=>{ + handleRecentInput = () => { let unit = this.recentUnit.rcSelect.state.value[0]; let base = 1; - switch(unit){ + switch (unit) { case "minutes": base *= 60; break; @@ -4309,41 +338,46 @@ class ClusterMonitor extends PureComponent { let lastSeconds = this.recentNum.inputNumberRef.state.value * base; this.setState({ lastSeconds: lastSeconds, - },()=>{ + }, () => { this.fetchData(); }); } render() { - let vstyle = { - fontSize: 12, - }; - let descStryle= {color:'#6a717d', fontSize: 12}; const {clusterMonitor} = this.props; let clusterStats = {}; - if(clusterMonitor.elasticsearch){ - let rawStats = clusterMonitor.elasticsearch.cluster_stats; + let clusterMetrics = {}; + + if (clusterMonitor.summary) { + let rawStats = clusterMonitor.summary; clusterStats = { status: rawStats.status, - nodes_count: rawStats.nodes.count.total, - disk_avaiable: (rawStats.nodes.fs.available_in_bytes/rawStats.nodes.fs.total_in_bytes * 100).toFixed(2) + "%", - disk_desc: formatter.bytes(rawStats.nodes.fs.available_in_bytes) + "/" + formatter.bytes(rawStats.nodes.fs.total_in_bytes), - jvm_mem: (rawStats.nodes.jvm.mem.heap_used_in_bytes/rawStats.nodes.jvm.mem.heap_max_in_bytes * 100).toFixed(2) + "%", - jvm_desc: formatter.bytes(rawStats.nodes.jvm.mem.heap_used_in_bytes) + "/" + formatter.bytes(rawStats.nodes.jvm.mem.heap_max_in_bytes), - shards_count: rawStats.indices.shards.total, - shards_desc: "主:" + rawStats.indices.shards.primaries + ",从:" + rawStats.indices.shards.replication, - docs: rawStats.indices.docs.count, - indices_count: rawStats.indices.count, - online_duration: moment.duration(rawStats.nodes.jvm.max_uptime_in_millis).humanize(), + version: rawStats.version, + nodes_count: rawStats.nodes_count, + indices_count: formatter.number(rawStats.indices_count), + primary_shards: formatter.number(rawStats.primary_shards), + unassigned_shards: formatter.number(rawStats.unassigned_shards), + total_shards: formatter.number(rawStats.total_shards), + used_store_bytes: formatter.bytes(rawStats.used_store_bytes), + max_store_bytes: formatter.bytes(rawStats.max_store_bytes), + used_jvm_bytes: formatter.bytes(rawStats.used_jvm_bytes), + max_jvm_bytes: formatter.bytes(rawStats.max_jvm_bytes), + document_count: formatter.number(rawStats.document_count), + uptime: moment.duration(rawStats.uptime).humanize(), }; } + + if (clusterMonitor.metrics) { + clusterMetrics = clusterMonitor.metrics; + } + const menu = ( -
+
- this.recentNum = el} /> - this.recentUnit = el}> @@ -4360,11 +394,11 @@ class ClusterMonitor extends PureComponent { 最近一个小时 最近一天 - + 最近一周 最近一个月 - + 最近三个月 最近一年 @@ -4386,8 +420,8 @@ class ClusterMonitor extends PureComponent { // */} - this.refreshNum = el} /> - this.refreshUnit = el}> @@ -4401,24 +435,23 @@ class ClusterMonitor extends PureComponent {
); - return (
-
+
- + - - + + - } /> + - - - - ({clusterStats.disk_desc})
- } /> - - - ({clusterStats.jvm_desc})
- } /> - - - ({clusterStats.shards_desc})
- } /> + }/> - + - + + + + + + + + + + + + + + + + + + + { - Object.keys(Elasticsearch_METRICS.metrics).map((e, i) => { - let axis=Elasticsearch_METRICS.metrics[e].axis - let lines=Elasticsearch_METRICS.metrics[e].lines - let disableHeaderFormat=false - let headerUnit="" + Object.keys(clusterMetrics).map((e, i) => { + let axis = clusterMetrics[e].axis + let lines = clusterMetrics[e].lines + let disableHeaderFormat = false + let headerUnit = "" return (
- `${formatter.full_dates(value)}${headerUnit ? ` ${headerUnit}` : ''}`, - }} - debug={false} /> + `${formatter.full_dates(value)}${headerUnit ? ` ${headerUnit}` : ''}`, + }} + debug={false}/> { - axis.map((item) =>{ - return { + return }) } { - lines.map((item) =>{ - return + lines.map((item) => { + return }) }
- )}) + ) + }) } ); diff --git a/web/src/pages/Cluster/models/cluster.js b/web/src/pages/Cluster/models/cluster.js index fbeb94f7..2e91eec3 100644 --- a/web/src/pages/Cluster/models/cluster.js +++ b/web/src/pages/Cluster/models/cluster.js @@ -1,4 +1,5 @@ import {getClusterOverview, getClusterNodeStats, getClusterList} from "@/services/dashboard"; +import {getClusterMetrics} from "@/services/cluster"; export default { namespace: 'clusterMonitor', @@ -13,6 +14,13 @@ export default { callback(clusterData); } }, + *fetchClusterMetrics({payload, callback}, {call, put}){ + let clusterMetrics = yield call(getClusterMetrics, payload); + yield put({type: 'saveData', payload: clusterMetrics}) + if(callback && typeof callback == 'function'){ + callback(clusterMetrics); + } + }, *fetchClusterNodeStats({callback}, {call, put}){ let nodesStats = yield call(getClusterNodeStats); //yield put({type: 'saveData', payload: nodesStats}) @@ -38,4 +46,4 @@ export default { }; }, } -}; \ No newline at end of file +}; diff --git a/web/src/pages/System/Cluster/models/cluster.js b/web/src/pages/System/Cluster/models/cluster.js index d079163b..67e94453 100644 --- a/web/src/pages/System/Cluster/models/cluster.js +++ b/web/src/pages/System/Cluster/models/cluster.js @@ -1,4 +1,4 @@ -import {createClusterConfig,searchClusterConfig, updateClusterConfig,deleteClusterConfig} from "@/services/clusterConfig"; +import {createClusterConfig, searchClusterConfig, updateClusterConfig,deleteClusterConfig} from "@/services/cluster"; import {message} from "antd"; import {formatESSearchResult} from '@/lib/elasticsearch/util'; diff --git a/web/src/services/cluster.js b/web/src/services/cluster.js index 90661080..fbe7195c 100644 --- a/web/src/services/cluster.js +++ b/web/src/services/cluster.js @@ -1,8 +1,53 @@ import request from '@/utils/request'; -import {pathPrefix} from './common'; +import {buildQueryArgs, pathPrefix} from './common'; export async function getClusterVersion(params) { return request(`${pathPrefix}/cluster/${params.cluster}/version`, { method: 'GET' }); -} \ No newline at end of file +} + +export async function getClusterMetrics(params) { + let id = params.id; + delete(params['id']); + return request(`${pathPrefix}/cluster/${id}/metrics`, { + method: 'GET' + }); +} + +export async function createClusterConfig(params) { + return request(`${pathPrefix}/cluster`, { + method: 'POST', + body: params, + }); +} + +export async function updateClusterConfig(params) { + let id = params.id; + delete(params['id']); + return request(`${pathPrefix}/cluster/${id}`, { + method: 'PUT', + body: params, + }); +} + +export async function deleteClusterConfig(params) { + return request(`${pathPrefix}/cluster/${params.id}`, { + method: 'DELETE', + body: params, + }); +} + +export async function searchClusterConfig(params) { + let url = `${pathPrefix}/cluster/_search`; + let args = buildQueryArgs({ + name: params.name, + enabled: params.enabled + }); + if(args.length > 0){ + url += args; + } + return request(url, { + method: 'GET', + }); +} diff --git a/web/src/services/clusterConfig.js b/web/src/services/clusterConfig.js deleted file mode 100644 index c446d220..00000000 --- a/web/src/services/clusterConfig.js +++ /dev/null @@ -1,39 +0,0 @@ -import {pathPrefix, buildQueryArgs} from "./common"; -import request from '@/utils/request'; - -export async function createClusterConfig(params) { - return request(`${pathPrefix}/system/cluster`, { - method: 'POST', - body: params, - }); -} - -export async function updateClusterConfig(params) { - let id = params.id; - delete(params['id']); - return request(`${pathPrefix}/cluster/${id}`, { - method: 'PUT', - body: params, - }); -} - -export async function deleteClusterConfig(params) { - return request(`${pathPrefix}/cluster/${params.id}`, { - method: 'DELETE', - body: params, - }); -} - -export async function searchClusterConfig(params) { - let url = `${pathPrefix}/cluster/_search`; - let args = buildQueryArgs({ - name: params.name, - enabled: params.enabled - }); - if(args.length > 0){ - url += args; - } - return request(url, { - method: 'GET', - }); -} diff --git a/web/src/services/dashboard.js b/web/src/services/dashboard.js index 7f132494..afb1735f 100644 --- a/web/src/services/dashboard.js +++ b/web/src/services/dashboard.js @@ -15,4 +15,4 @@ export async function getClusterNodeStats(){ export async function getClusterList(){ return request('/dashboard/cluster/list'); -} \ No newline at end of file +}