diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013.json index d4588a20496..a98853b7775 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "bc8a79d4-76a8-4b4c-969f-4ae50488beb8", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "bc8a79d4-76a8-4b4c-969f-4ae50488beb8", "title": "Select Namespace and CronJob [Metrics Kubernetes]", @@ -193,7 +193,7 @@ "i": "37b56399-4cec-4d72-9e9e-e87cbe2d581f", "w": 16, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "37b56399-4cec-4d72-9e9e-e87cbe2d581f", "title": "Active CronJobs [Metrics Kubernetes]", @@ -377,12 +377,48 @@ "i": "10f9719c-1b46-4561-b8cf-f3cd3ee69c10", "w": 32, "x": 16, - "y": 6 + "y": 10 }, "panelIndex": "10f9719c-1b46-4561-b8cf-f3cd3ee69c10", "title": "CronJobs Informations [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "85ecbb8b-9606-4c19-a108-385f825ad7aa", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "85ecbb8b-9606-4c19-a108-385f825ad7aa", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013.json index 7a229df76d7..9652970143b 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013.json @@ -91,9 +91,9 @@ "gridData": { "h": 6, "i": "33955bd5-276f-4e3b-af1a-13477aca3a92", - "w": 48, + "w": 47, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "33955bd5-276f-4e3b-af1a-13477aca3a92", "title": "Select Namespace and StatefulSet [Metrics Kubernetes]", @@ -193,7 +193,7 @@ "i": "d8265dae-829d-434f-a826-cc6062edfd3a", "w": 8, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "d8265dae-829d-434f-a826-cc6062edfd3a", "title": "StatefulSet Replicas Observed [Metrics Kubernetes]", @@ -293,7 +293,7 @@ "i": "21039d12-cc17-4089-9d8f-3c62018c8f1c", "w": 8, "x": 9, - "y": 6 + "y": 10 }, "panelIndex": "21039d12-cc17-4089-9d8f-3c62018c8f1c", "title": "StatefulSet Replicas Desired [Metrics Kubernetes]", @@ -393,7 +393,7 @@ "i": "dd7df777-8dae-4374-96ee-461be82fbde4", "w": 8, "x": 19, - "y": 6 + "y": 10 }, "panelIndex": "dd7df777-8dae-4374-96ee-461be82fbde4", "title": "StatefulSet Replicas Ready [Metrics Kubernetes]", @@ -493,7 +493,7 @@ "i": "3e6790d6-de88-47de-8c3e-d8aa2c89c538", "w": 8, "x": 29, - "y": 6 + "y": 10 }, "panelIndex": "3e6790d6-de88-47de-8c3e-d8aa2c89c538", "title": "StatefulSet Generation Observed [Metrics Kubernetes]", @@ -593,7 +593,7 @@ "i": "34f2d226-f9e4-47f7-87d6-e3f5fb1db6d3", "w": 8, "x": 39, - "y": 6 + "y": 10 }, "panelIndex": "34f2d226-f9e4-47f7-87d6-e3f5fb1db6d3", "title": "StatefulSet Generation Desired [Metrics Kubernetes]", @@ -747,12 +747,48 @@ "i": "f482071f-d956-4817-90b5-82a74d8aa841", "w": 47, "x": 0, - "y": 20 + "y": 24 }, "panelIndex": "f482071f-d956-4817-90b5-82a74d8aa841", "title": "Replicas per StatefulSet [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "f1e8f8c6-d644-4b1d-a7bc-fe631c232a57", + "w": 47, + "x": 0, + "y": 0 + }, + "panelIndex": "f1e8f8c6-d644-4b1d-a7bc-fe631c232a57", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013.json index 727f234ae52..7b94db6f2c6 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "245b589f-e3e5-44e2-8938-ddddd10205f2", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "245b589f-e3e5-44e2-8938-ddddd10205f2", "title": "Select Namespace and Volume [Metrics Kubernetes]", @@ -295,7 +295,7 @@ "i": "0f641488-aa6d-4409-9789-5967590635d5", "w": 48, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "0f641488-aa6d-4409-9789-5967590635d5", "title": "Filesystem Informations [Metrics Kubernetes]", @@ -469,12 +469,48 @@ "i": "eec01fb6-ac46-4573-b231-4394ac7090c0", "w": 48, "x": 0, - "y": 23 + "y": 27 }, "panelIndex": "eec01fb6-ac46-4573-b231-4394ac7090c0", "title": "Filesystem Inodes Informations [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "8353083b-3ad8-4814-b22f-bc7314e751d1", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "8353083b-3ad8-4814-b22f-bc7314e751d1", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013.json index a54d9e00bea..7c87a2b2a90 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "fae24c10-6ee7-467b-8d98-b1d7a432f7e3", "w": 44, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "fae24c10-6ee7-467b-8d98-b1d7a432f7e3", "title": "Select Namespace and Pod [Metrics Kubernetes]", @@ -277,7 +277,7 @@ "i": "0a10c73f-959b-40e1-b1a2-609c3fd59914", "w": 44, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "0a10c73f-959b-40e1-b1a2-609c3fd59914", "title": "Status per Pod [Metrics Kubernetes]", @@ -286,548 +286,1276 @@ }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "21eaa2c8-8870-4ce4-b9b7-855ea2835f9e", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "CPU Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.cpu.usage.node.pct" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_72087713-118c-4441-ace1-79b0de6bd159_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "percent", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.cpu.usage.node.pct", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "21eaa2c8-8870-4ce4-b9b7-855ea2835f9e", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } }, - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "72087713-118c-4441-ace1-79b0de6bd159", + "i": "8775bc75-d36c-4e37-94e4-ca63300d9dd3", "w": 22, "x": 0, - "y": 21 + "y": 25 }, - "panelIndex": "72087713-118c-4441-ace1-79b0de6bd159", + "panelIndex": "8775bc75-d36c-4e37-94e4-ca63300d9dd3", "title": "CPU Usage as Pct of the Total Node CPU [Metrics Kubernetes]", - "type": "visualization", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "d82a1442-e0ad-4acd-913f-06f8b0c1bb74", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "CPU Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.cpu.usage.limit.pct" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_4a779b31-4786-4f28-9944-a4d2f752a92e_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "percent", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.cpu.usage.limit.pct", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "d82a1442-e0ad-4acd-913f-06f8b0c1bb74", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } }, - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "4a779b31-4786-4f28-9944-a4d2f752a92e", + "i": "8e7901b2-cfc3-433d-9dcb-4af30c649efb", "w": 22, "x": 22, - "y": 21 + "y": 25 }, - "panelIndex": "4a779b31-4786-4f28-9944-a4d2f752a92e", + "panelIndex": "8e7901b2-cfc3-433d-9dcb-4af30c649efb", "title": "CPU Usage as Pct of the Defined Pod Limit [Metrics Kubernetes]", - "type": "visualization", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" - } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_4553a400-31ec-4ea7-83ee-214cd7340402_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "percent", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.memory.usage.node.pct", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" - }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true - }, - "type": "metrics", - "uiState": {} - } - }, - "gridData": { - "h": 15, - "i": "4553a400-31ec-4ea7-83ee-214cd7340402", - "w": 22, - "x": 0, - "y": 36 - }, - "panelIndex": "4553a400-31ec-4ea7-83ee-214cd7340402", - "title": "Memory Usage as Pct of the Total Node Memory [Metrics Kubernetes]", - "type": "visualization", - "version": "8.3.0-SNAPSHOT" - }, - { - "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + { + "id": "metrics-*", + "name": "11c30bec-8510-473c-bdf9-4da3d863af57", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "Memory Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.memory.usage.node.pct" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ { - "id": "effbda00-b658-11ec-b432-f55b76073132" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "11c30bec-8510-473c-bdf9-4da3d863af57", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "drop_last_bucket": 0, - "filter": { + "query": { "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "98677dcb-ab94-47e8-94ca-326470ee2380", + "w": 22, + "x": 0, + "y": 40 + }, + "panelIndex": "98677dcb-ab94-47e8-94ca-326470ee2380", + "title": "Memory Usage as Pct of the Total Node Memory [Metrics Kubernetes]", + "type": "lens", + "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_5fbe0bd4-fa9b-4a61-a4de-746cf0b7c199_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + { + "id": "metrics-*", + "name": "b146396e-ddf3-4642-af86-89fde33a0ef4", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "Memory Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.memory.usage.limit.pct" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "percent", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.memory.usage.limit.pct", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "b146396e-ddf3-4642-af86-89fde33a0ef4", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + } + } + ], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "5575d413-c4a4-4e34-8605-54f82e5e05b3", + "w": 22, + "x": 22, + "y": 40 + }, + "panelIndex": "5575d413-c4a4-4e34-8605-54f82e5e05b3", + "title": "Memory Usage as Pct of the Total Node Memory [Metrics Kubernetes]", + "type": "lens", + "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "e59047b8-574d-42a8-82dc-3a06ae1c186f", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "Memory Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.memory.working_set.limit.pct" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ + { + "$state": { + "store": "appState" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" + "meta": { + "alias": null, + "disabled": false, + "index": "e59047b8-574d-42a8-82dc-3a06ae1c186f", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } }, - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "5fbe0bd4-fa9b-4a61-a4de-746cf0b7c199", + "i": "435eeb17-c28a-4bde-9c43-b85d8e463c03", "w": 22, - "x": 22, - "y": 36 + "x": 0, + "y": 55 }, - "panelIndex": "5fbe0bd4-fa9b-4a61-a4de-746cf0b7c199", - "title": "Memory Usage as Pct of the Defined Pod Limit [Metrics Kubernetes]", - "type": "visualization", + "panelIndex": "435eeb17-c28a-4bde-9c43-b85d8e463c03", + "title": "Working Set Memory Usage as Pct of the Defined Pod Limit [Metrics Kubernetes]", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "b1f131dc-80e8-4ebc-be5f-ca1b56082b0c", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "Network Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.network.tx.bytes" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_049797f9-619d-4519-922e-0e8faf03b482_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "percent", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.memory.working_set.limit.pct", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "b1f131dc-80e8-4ebc-be5f-ca1b56082b0c", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } }, - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "049797f9-619d-4519-922e-0e8faf03b482", + "i": "7a1ccd34-5b1c-445b-8f1f-00d792c49104", "w": 22, - "x": 0, - "y": 51 + "x": 22, + "y": 55 }, - "panelIndex": "049797f9-619d-4519-922e-0e8faf03b482", - "title": "Working Set Memory Usage as Pct of the Defined Pod Limit [Metrics Kubernetes]", - "type": "visualization", + "panelIndex": "7a1ccd34-5b1c-445b-8f1f-00d792c49104", + "title": "Network Outgoing Bytes per Pod [Metrics Kubernetes]", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "2463b928-eeb5-4fe5-9068-6c28341f6ab9", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a": { + "columnOrder": [ + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0", + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "columns": { + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.pod.cpu.usage.node.pct: *" + }, + "isBucketed": false, + "label": "Network Usage", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "kubernetes.pod.network.rx.bytes" + }, + "a83bd360-6bed-4bab-ac6c-82b8e473c2b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of kubernetes.pod.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "kubernetes.pod.name" + } + }, + "incompleteColumns": {} + } + } } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_47586597-361a-4f8d-9ab0-86d9e4d280ee_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "bytes", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.network.rx.bytes", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "2463b928-eeb5-4fe5-9068-6c28341f6ab9", + "key": "event.dataset", + "negate": false, + "params": { + "query": "kubernetes.pod" + }, + "type": "phrase" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" + "query": { + "match_phrase": { + "event.dataset": "kubernetes.pod" + } + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "86e6d540-5fd3-483e-b1a1-b575a0a5ca9c" + ], + "layerId": "921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "ce13a463-7e39-46f6-8d0f-14c1f9e9a0d9", + "xAccessor": "a83bd360-6bed-4bab-ac6c-82b8e473c2b0" + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right" + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true + } }, - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "47586597-361a-4f8d-9ab0-86d9e4d280ee", + "i": "72b97d6f-17f7-44b0-87a9-e272981c7565", "w": 22, - "x": 22, - "y": 51 + "x": 0, + "y": 70 }, - "panelIndex": "47586597-361a-4f8d-9ab0-86d9e4d280ee", + "panelIndex": "72b97d6f-17f7-44b0-87a9-e272981c7565", "title": "Network Incoming Bytes per Pod [Metrics Kubernetes]", - "type": "visualization", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { @@ -846,78 +1574,23 @@ }, "description": "", "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "effbda00-b658-11ec-b432-f55b76073132" - } - ], - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " - }, - "id": "034a1b39-789a-4c21-ba0f-3a3f01c132c0", - "index_pattern_ref_name": "metrics_16e72bc4-66f8-4fa9-9253-0e510ef6ad01_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "bytes", - "id": "7cc97db7-b10d-4452-9ea8-8f9ac149c901", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "kubernetes.pod.network.tx.bytes", - "id": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "type": "avg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" - }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.pod.name", - "terms_order_by": "9080d8bd-59d3-4b3e-b75b-13262188d8d3", - "time_range_mode": "entire_time_range" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "timeseries", - "use_kibana_indexes": true + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false }, - "type": "metrics", + "type": "markdown", "uiState": {} } }, "gridData": { - "h": 15, - "i": "16e72bc4-66f8-4fa9-9253-0e510ef6ad01", - "w": 22, + "h": 4, + "i": "72efb777-3b17-42a9-91c5-b17ee964ce28", + "w": 44, "x": 0, - "y": 66 + "y": 0 }, - "panelIndex": "16e72bc4-66f8-4fa9-9253-0e510ef6ad01", - "title": "Network Outgoing Bytes per Pod [Metrics Kubernetes]", + "panelIndex": "72efb777-3b17-42a9-91c5-b17ee964ce28", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", "type": "visualization", "version": "8.3.0-SNAPSHOT" } @@ -959,37 +1632,72 @@ }, { "id": "metrics-*", - "name": "72087713-118c-4441-ace1-79b0de6bd159:metrics_72087713-118c-4441-ace1-79b0de6bd159_0_index_pattern", + "name": "8775bc75-d36c-4e37-94e4-ca63300d9dd3:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8775bc75-d36c-4e37-94e4-ca63300d9dd3:21eaa2c8-8870-4ce4-b9b7-855ea2835f9e", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8e7901b2-cfc3-433d-9dcb-4af30c649efb:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8e7901b2-cfc3-433d-9dcb-4af30c649efb:d82a1442-e0ad-4acd-913f-06f8b0c1bb74", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "98677dcb-ab94-47e8-94ca-326470ee2380:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "98677dcb-ab94-47e8-94ca-326470ee2380:11c30bec-8510-473c-bdf9-4da3d863af57", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "5575d413-c4a4-4e34-8605-54f82e5e05b3:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "5575d413-c4a4-4e34-8605-54f82e5e05b3:b146396e-ddf3-4642-af86-89fde33a0ef4", "type": "index-pattern" }, { "id": "metrics-*", - "name": "4a779b31-4786-4f28-9944-a4d2f752a92e:metrics_4a779b31-4786-4f28-9944-a4d2f752a92e_0_index_pattern", + "name": "435eeb17-c28a-4bde-9c43-b85d8e463c03:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", "type": "index-pattern" }, { "id": "metrics-*", - "name": "4553a400-31ec-4ea7-83ee-214cd7340402:metrics_4553a400-31ec-4ea7-83ee-214cd7340402_0_index_pattern", + "name": "435eeb17-c28a-4bde-9c43-b85d8e463c03:e59047b8-574d-42a8-82dc-3a06ae1c186f", "type": "index-pattern" }, { "id": "metrics-*", - "name": "5fbe0bd4-fa9b-4a61-a4de-746cf0b7c199:metrics_5fbe0bd4-fa9b-4a61-a4de-746cf0b7c199_0_index_pattern", + "name": "7a1ccd34-5b1c-445b-8f1f-00d792c49104:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", "type": "index-pattern" }, { "id": "metrics-*", - "name": "049797f9-619d-4519-922e-0e8faf03b482:metrics_049797f9-619d-4519-922e-0e8faf03b482_0_index_pattern", + "name": "7a1ccd34-5b1c-445b-8f1f-00d792c49104:b1f131dc-80e8-4ebc-be5f-ca1b56082b0c", "type": "index-pattern" }, { "id": "metrics-*", - "name": "47586597-361a-4f8d-9ab0-86d9e4d280ee:metrics_47586597-361a-4f8d-9ab0-86d9e4d280ee_0_index_pattern", + "name": "72b97d6f-17f7-44b0-87a9-e272981c7565:indexpattern-datasource-layer-921ae90c-bc32-4ce1-b4d0-bcaec7eb339a", "type": "index-pattern" }, { "id": "metrics-*", - "name": "16e72bc4-66f8-4fa9-9253-0e510ef6ad01:metrics_16e72bc4-66f8-4fa9-9253-0e510ef6ad01_0_index_pattern", + "name": "72b97d6f-17f7-44b0-87a9-e272981c7565:2463b928-eeb5-4fe5-9068-6c28341f6ab9", "type": "index-pattern" } ], diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013.json index f59d60fbca8..c328a22fb01 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "9116309e-4fb4-494c-90f9-2d6929c8d04d", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "9116309e-4fb4-494c-90f9-2d6929c8d04d", "title": "Select Namespace and Deployment [Metrics Kubernetes]", @@ -193,7 +193,7 @@ "i": "c2551403-dc87-4486-bcac-0b949508082e", "w": 12, "x": 0, - "y": 5 + "y": 9 }, "panelIndex": "c2551403-dc87-4486-bcac-0b949508082e", "title": "Deployment Replicas Desired [Metrics Kubernetes]", @@ -293,7 +293,7 @@ "i": "51e54a67-b167-49a2-95e6-e758a953a7e8", "w": 12, "x": 12, - "y": 5 + "y": 9 }, "panelIndex": "51e54a67-b167-49a2-95e6-e758a953a7e8", "title": "Deployment Replicas Available [Metrics Kubernetes]", @@ -393,7 +393,7 @@ "i": "934fbda9-c201-4539-bb6d-95c416b9d392", "w": 12, "x": 24, - "y": 5 + "y": 9 }, "panelIndex": "934fbda9-c201-4539-bb6d-95c416b9d392", "title": "Deployment Replicas Unavailable [Metrics Kubernetes]", @@ -493,7 +493,7 @@ "i": "20bd8473-2d2a-4d6c-84f7-20dbd9e724c6", "w": 12, "x": 36, - "y": 5 + "y": 9 }, "panelIndex": "20bd8473-2d2a-4d6c-84f7-20dbd9e724c6", "title": "Deployment Replicas Updated [Metrics Kubernetes]", @@ -689,12 +689,48 @@ "i": "119cd3f7-baa7-4a1d-8e02-a4ae95c98d1f", "w": 48, "x": 0, - "y": 18 + "y": 22 }, "panelIndex": "119cd3f7-baa7-4a1d-8e02-a4ae95c98d1f", "title": "Replicas per Deployment [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "58edcf0e-d21a-4dea-8b29-e5a8d9d4d738", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "58edcf0e-d21a-4dea-8b29-e5a8d9d4d738", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013.json index 233a9d452fd..878a55ced5e 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "5499e4e8-9ed3-43af-ad08-946067c45378", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "5499e4e8-9ed3-43af-ad08-946067c45378", "title": "Select Namespace and DaemonSet [Metrics Kubernetes]", @@ -193,7 +193,7 @@ "i": "74f075ae-ea3e-40aa-a84c-2538a2195f6a", "w": 12, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "74f075ae-ea3e-40aa-a84c-2538a2195f6a", "title": "DaemonSet Replicas Desired [Metrics Kubernetes]", @@ -293,7 +293,7 @@ "i": "2f904623-cc34-4a48-afce-46fff964dbdf", "w": 12, "x": 12, - "y": 6 + "y": 10 }, "panelIndex": "2f904623-cc34-4a48-afce-46fff964dbdf", "title": "DaemonSet Replicas Available [Metrics Kubernetes]", @@ -393,7 +393,7 @@ "i": "e39b7173-1acf-4b60-9500-caa97eb5fabb", "w": 12, "x": 24, - "y": 6 + "y": 10 }, "panelIndex": "e39b7173-1acf-4b60-9500-caa97eb5fabb", "title": "DaemonSet Replicas Unavailable [Metrics Kubernetes]", @@ -493,7 +493,7 @@ "i": "08341473-695b-44de-8faa-8ca14a6031e1", "w": 12, "x": 36, - "y": 6 + "y": 10 }, "panelIndex": "08341473-695b-44de-8faa-8ca14a6031e1", "title": "DaemonSet Replicas Ready [Metrics Kubernetes]", @@ -667,12 +667,48 @@ "i": "aca3d51a-f0ea-4323-8a27-0f8fc1b122cd", "w": 48, "x": 0, - "y": 20 + "y": 24 }, "panelIndex": "aca3d51a-f0ea-4323-8a27-0f8fc1b122cd", "title": "Replicas per DaemonSet [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "573ec41e-ffc3-4c89-ba35-138bab599f07", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "573ec41e-ffc3-4c89-ba35-138bab599f07", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013.json index f60ee3a07fc..03d5061e082 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "336e8793-ff9a-4124-b517-9910f2aaeee4", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "336e8793-ff9a-4124-b517-9910f2aaeee4", "title": "Select Namespace and Job [Metrics Kubernetes]", @@ -193,7 +193,7 @@ "i": "65805e20-7bb7-43ef-99de-fc56c3de6af2", "w": 14, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "65805e20-7bb7-43ef-99de-fc56c3de6af2", "title": "Active Job Pods [Metrics Kubernetes]", @@ -293,7 +293,7 @@ "i": "9ecfd540-d36f-4869-836d-3dd704a6561f", "w": 14, "x": 17, - "y": 6 + "y": 10 }, "panelIndex": "9ecfd540-d36f-4869-836d-3dd704a6561f", "title": "Succeeded Job Pods [Metrics Kubernetes]", @@ -393,7 +393,7 @@ "i": "c73b7420-ce63-4d11-b25e-387c7c76b9f1", "w": 14, "x": 34, - "y": 6 + "y": 10 }, "panelIndex": "c73b7420-ce63-4d11-b25e-387c7c76b9f1", "title": "Failed Job Pods [Metrics Kubernetes]", @@ -574,7 +574,7 @@ "i": "574d76e2-ca20-4c75-9dac-31265a772ba5", "w": 24, "x": 0, - "y": 18 + "y": 22 }, "panelIndex": "574d76e2-ca20-4c75-9dac-31265a772ba5", "title": "Informations per Job [Metrics Kubernetes]", @@ -726,12 +726,48 @@ "i": "2bb97a71-28ce-428d-99d1-01b1918aebf5", "w": 24, "x": 24, - "y": 18 + "y": 22 }, "panelIndex": "2bb97a71-28ce-428d-99d1-01b1918aebf5", "title": "Job Owner Informations [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "ce57bb14-ee8a-43ba-bb57-a6f815838500", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "ce57bb14-ee8a-43ba-bb57-a6f815838500", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013.json index cb80bd123f8..f36e7c84b71 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013.json @@ -78,7 +78,7 @@ "i": "8adc817c-ec71-40e9-bb38-5d8a44ba6079", "w": 13, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "8adc817c-ec71-40e9-bb38-5d8a44ba6079", "title": "Select Node [Metrics Kubernetes]", @@ -236,7 +236,7 @@ "i": "c6bb8ec0-dae3-4438-ab76-0bff97321124", "w": 35, "x": 13, - "y": 0 + "y": 4 }, "panelIndex": "c6bb8ec0-dae3-4438-ab76-0bff97321124", "title": "Allocated and Allocatable Pods per Node [Metrics Kubernetes]", @@ -524,7 +524,7 @@ "i": "2a2da54b-f923-4b1f-b36c-0b1d283405b9", "w": 48, "x": 0, - "y": 8 + "y": 12 }, "panelIndex": "2a2da54b-f923-4b1f-b36c-0b1d283405b9", "title": "Node Informations by Labels [Metrics Kubernetes]", @@ -714,7 +714,7 @@ "i": "93d7f58a-ee13-4ca2-968a-a6c8bcf249a4", "w": 24, "x": 0, - "y": 16 + "y": 20 }, "panelIndex": "93d7f58a-ee13-4ca2-968a-a6c8bcf249a4", "title": "Network in by node [Metrics Kubernetes]", @@ -974,7 +974,7 @@ "i": "f11dcb2d-3850-430c-b365-e925473ffe81", "w": 24, "x": 24, - "y": 16 + "y": 20 }, "panelIndex": "f11dcb2d-3850-430c-b365-e925473ffe81", "title": "CPU usage by Node [Metrics Kubernetes]", @@ -1164,7 +1164,7 @@ "i": "7c066a0c-0e3d-483d-a4fd-89dd6444d2d3", "w": 24, "x": 0, - "y": 29 + "y": 33 }, "panelIndex": "7c066a0c-0e3d-483d-a4fd-89dd6444d2d3", "title": "Network out by node [Metrics Kubernetes]", @@ -1410,7 +1410,7 @@ "i": "64187c9b-8038-47a3-b7df-6562d740840f", "w": 24, "x": 24, - "y": 29 + "y": 33 }, "panelIndex": "64187c9b-8038-47a3-b7df-6562d740840f", "title": "Memory usage by Node [Metrics Kubernetes]", @@ -1596,7 +1596,7 @@ "i": "5eef3516-509a-414c-b0ad-f6c8af1647bb", "w": 24, "x": 0, - "y": 42 + "y": 46 }, "panelIndex": "5eef3516-509a-414c-b0ad-f6c8af1647bb", "title": "Filesystem Inodes usage by Node [Metrics Kubernetes]", @@ -1842,7 +1842,7 @@ "i": "b228c756-7cbd-4982-b61b-c6dbb78c1ced", "w": 24, "x": 24, - "y": 42 + "y": 46 }, "panelIndex": "b228c756-7cbd-4982-b61b-c6dbb78c1ced", "title": "Working set Memory usage by Node [Metrics Kubernetes] (copy)", @@ -2048,12 +2048,48 @@ "i": "5c839f9c-a8bc-46e0-bd23-9300c03e6ed5", "w": 24, "x": 0, - "y": 55 + "y": 59 }, "panelIndex": "5c839f9c-a8bc-46e0-bd23-9300c03e6ed5", "title": "Filesystem usage by Node [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "1d9fa4a6-44fe-489d-be4f-53a2eb02a2d5", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "1d9fa4a6-44fe-489d-be4f-53a2eb02a2d5", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013.json index ffaacc3129d..b28888d9ab0 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "dddfbb3f-1c02-4ab0-8976-9042fcbad047", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "dddfbb3f-1c02-4ab0-8976-9042fcbad047", "title": "Select PV or PVC [Metrics Kubernetes]", @@ -282,7 +282,7 @@ "i": "e6032561-b325-41fe-b7f5-6b167d58dc18", "w": 48, "x": 0, - "y": 7 + "y": 11 }, "panelIndex": "e6032561-b325-41fe-b7f5-6b167d58dc18", "title": "Persistent Volumes Informations [Metrics Kubernetes]", @@ -510,12 +510,48 @@ "i": "e03df747-8a68-4d68-a958-1f0e38218859", "w": 48, "x": 0, - "y": 16 + "y": 20 }, "panelIndex": "e03df747-8a68-4d68-a958-1f0e38218859", "title": "Persistent Volume Claims Informations [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "14993ee2-7277-4012-946c-fa294f024a39", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "14993ee2-7277-4012-946c-fa294f024a39", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013.json index 42b34987cab..c4bce9d3d58 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013.json @@ -20,7 +20,6 @@ { "embeddableConfig": { "enhancements": {}, - "hidePanelTitles": false, "savedVis": { "data": { "aggs": [], @@ -34,604 +33,205 @@ }, "description": "", "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.container\" or event.dataset :\"kubernetes.state_node\"" - }, - "id": "61af87d1-a437-4118-9585-9d1dd6572838", - "index_pattern_ref_name": "metrics_0ef47305-ecb8-413c-ba38-f08a34885b82_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "markdown": "**{{ cores_used.used.last.formatted }}** Cores used out of **{{ total_cores.total.last.formatted }}** Allocatable Cores", - "max_lines_legend": 1, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.container\" " - }, - "formatter": "number", - "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", - "label": "Cores Used", - "line_width": 1, - "metrics": [ - { - "agg_with": "avg", - "field": "kubernetes.container.cpu.usage.nanocores", - "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", - "order": "desc", - "order_by": "@timestamp", - "size": 1, - "type": "top_hit" - }, - { - "function": "sum", - "id": "5dca2af0-c144-11ec-a410-4702e3767868", - "type": "series_agg" - }, - { - "id": "3078c4d0-cfa4-11ec-9946-abb6b61f731a", - "script": "params.nanocores/1000000000", - "type": "math", - "variables": [ - { - "field": "5bf21665-fbd0-49aa-b81b-9582512db1ff", - "id": "38bab8b0-cfa4-11ec-9946-abb6b61f731a", - "name": "nanocores" - } - ] - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" - }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.container.name", - "terms_size": "100000", - "time_range_mode": "entire_time_range", - "var_name": "used" - }, + "controls": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.state_node\" " - }, - "formatter": "default", - "id": "883dc850-c144-11ec-a410-4702e3767868", - "label": "Total Cores", - "line_width": 1, - "metrics": [ - { - "agg_with": "avg", - "field": "kubernetes.node.cpu.allocatable.cores", - "id": "883dc851-c144-11ec-a410-4702e3767868", - "order": "desc", - "order_by": "@timestamp", - "size": 1, - "type": "top_hit" - }, - { - "function": "sum", - "id": "883dc852-c144-11ec-a410-4702e3767868", - "type": "series_agg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "fieldName": "orchestrator.cluster.name", + "id": "1627653028481", + "indexPatternRefName": "control_14ad41ee-32f8-4733-b844-0afc0733bb2e_0_index_pattern", + "label": "Cluster Name", + "options": { + "dynamicOptions": true, + "multiselect": true, + "order": "desc", + "size": 5, + "type": "terms" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.node.name", - "terms_size": "100000", - "time_range_mode": "entire_time_range", - "var_name": "total" + "parent": "", + "type": "list" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "markdown", - "use_kibana_indexes": true + "pinFilters": true, + "updateFiltersOnChange": true, + "useTimeFilter": true }, - "title": "", - "type": "metrics", + "type": "input_control_vis", "uiState": {} } }, "gridData": { - "h": 4, - "i": "0ef47305-ecb8-413c-ba38-f08a34885b82", - "w": 7, - "x": 40, - "y": 40 + "h": 5, + "i": "14ad41ee-32f8-4733-b844-0afc0733bb2e", + "w": 47, + "x": 0, + "y": 4 }, - "panelIndex": "0ef47305-ecb8-413c-ba38-f08a34885b82", - "title": "Cores Used [Metrics Kubernetes]", + "panelIndex": "14ad41ee-32f8-4733-b844-0afc0733bb2e", + "title": "Cluster Filter [Metrics Kubernetes]", "type": "visualization", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-0cea87dc-699c-4771-a908-9a6c4df97630", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "415bd77a-fa26-4e8d-a354-97ddd74f04bd", + "type": "index-pattern" } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.state_container\" or event.dataset :\"kubernetes.state_node\"" + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "0cea87dc-699c-4771-a908-9a6c4df97630": { + "columnOrder": [ + "031701fd-1939-4c76-8659-5a2411cf282b", + "471f1924-3b61-4633-a297-066260bf1a42" + ], + "columns": { + "031701fd-1939-4c76-8659-5a2411cf282b": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Cluster Name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "471f1924-3b61-4633-a297-066260bf1a42", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "orchestrator.cluster.name" + }, + "471f1924-3b61-4633-a297-066260bf1a42": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Total Nodes", + "operationType": "unique_count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "kubernetes.node.name" + } + }, + "incompleteColumns": {} + } + } + } }, - "id": "61af87d1-a437-4118-9585-9d1dd6572838", - "index_pattern_ref_name": "metrics_f05ed38e-333c-4a45-a441-da0be70b097c_0_index_pattern", - "interval": "", - "isModelInvalid": false, - "markdown": "**{{ memory_requested.requested.last.formatted }}** Memory requested out of **{{ total_memory.total.last.formatted }}** Allocatable Memory Bytes", - "max_lines_legend": 1, - "series": [ + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.state_container\" " + "$state": { + "store": "appState" }, - "formatter": "bytes", - "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", - "label": "Memory Requested", - "line_width": 1, - "metrics": [ - { - "agg_with": "avg", - "field": "kubernetes.container.memory.request.bytes", - "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", - "order": "desc", - "order_by": "@timestamp", - "size": 1, - "type": "top_hit" + "meta": { + "alias": null, + "disabled": false, + "index": "415bd77a-fa26-4e8d-a354-97ddd74f04bd", + "key": "event.dataset", + "negate": false, + "params": { + "query": "state_node" }, - { - "function": "sum", - "id": "5dca2af0-c144-11ec-a410-4702e3767868", - "type": "series_agg" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" - }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.container.name", - "terms_size": "100000", - "time_range_mode": "entire_time_range", - "var_name": "requested" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "event.dataset :\"kubernetes.state_node\" " + "type": "phrase" }, - "formatter": "bytes", - "id": "883dc850-c144-11ec-a410-4702e3767868", - "label": "Total Memory", - "line_width": 1, - "metrics": [ - { - "agg_with": "avg", - "field": "kubernetes.node.memory.allocatable.bytes", - "id": "883dc851-c144-11ec-a410-4702e3767868", - "order": "desc", - "order_by": "@timestamp", - "size": 1, - "type": "top_hit" - }, - { - "function": "sum", - "id": "883dc852-c144-11ec-a410-4702e3767868", - "type": "series_agg" + "query": { + "match_phrase": { + "event.dataset": "kubernetes.state_node" } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" - }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "terms", - "stacked": "none", - "terms_field": "kubernetes.node.name", - "terms_size": "100000", - "time_range_mode": "entire_time_range", - "var_name": "total" + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "markdown", - "use_kibana_indexes": true - }, - "title": "", - "type": "metrics", - "uiState": {} - } - }, - "gridData": { - "h": 5, - "i": "f05ed38e-333c-4a45-a441-da0be70b097c", - "w": 7, - "x": 33, - "y": 44 - }, - "panelIndex": "f05ed38e-333c-4a45-a441-da0be70b097c", - "title": "Memory Reserved [Metrics Kubernetes]", - "type": "visualization", - "version": "8.3.0-SNAPSHOT" - }, - { - "embeddableConfig": { - "enhancements": {} - }, - "gridData": { - "h": 15, - "i": "4a66eae8-63ab-40c9-85c4-69c6165a1c72", - "w": 47, - "x": 0, - "y": 49 - }, - "panelIndex": "4a66eae8-63ab-40c9-85c4-69c6165a1c72", - "panelRefName": "panel_4a66eae8-63ab-40c9-85c4-69c6165a1c72", - "type": "search", - "version": "8.3.0-SNAPSHOT" - }, - { - "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "layers": [ + { + "categoryDisplay": "default", + "groups": [ + "031701fd-1939-4c76-8659-5a2411cf282b" + ], + "layerId": "0cea87dc-699c-4771-a908-9a6c4df97630", + "layerType": "data", + "legendDisplay": "default", + "metric": "471f1924-3b61-4633-a297-066260bf1a42", + "nestedLegend": false, + "numberDisplay": "value", + "percentDecimals": 0 + } + ], + "shape": "donut" } }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "39383e82-d6d8-4850-81b3-696b74b2f8fd", - "index_pattern_ref_name": "metrics_89c9c68b-0d1f-40bb-af36-da9bf23ef231_0_index_pattern", - "interval": "", - "markdown": "[Kubernetes Overview](/app/dashboards#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](/app/dashboards#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](/app/dashboards#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](/app/dashboards#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](/app/dashboards#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](/app/dashboards#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](/app/dashboards#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](/app/dashboards#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](/app/dashboards#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](/app/dashboards#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](/app/dashboards#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)\n", - "max_lines_legend": 1, - "series": [ + "visualizationType": "lnsPie" + }, + "enhancements": { + "dynamicActions": { + "events": [ { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "default", - "id": "1fd56965-803f-4e90-8664-e3efe60908a9", - "line_width": 1, - "metrics": [ - { - "id": "d4bdbb34-96ac-42ea-a05c-07e512f88b04", - "type": "count" - } - ], - "override_index_pattern": 0, - "palette": { - "name": "default", - "type": "palette" + "action": { + "config": { + "openInNewTab": false, + "useCurrentDateRange": true, + "useCurrentFilters": true + }, + "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", + "name": "Go to Pods Detailed Dashboard" }, - "point_size": 1, - "separate_axis": 0, - "series_drop_last_bucket": 0, - "split_mode": "everything", - "stacked": "none", - "time_range_mode": "entire_time_range" + "eventId": "6a2acda4-6f9d-4996-95fe-31a15bfb5f3b", + "triggers": [ + "FILTER_TRIGGER" + ] } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "markdown", - "use_kibana_indexes": true - }, - "type": "metrics", - "uiState": {} - } + ] + } + }, + "hidePanelTitles": false }, "gridData": { - "h": 3, - "i": "89c9c68b-0d1f-40bb-af36-da9bf23ef231", - "w": 47, + "h": 14, + "i": "41e063cd-3ef2-4cad-98f7-b5c4d394b68f", + "w": 11, "x": 0, - "y": 0 + "y": 9 }, - "panelIndex": "89c9c68b-0d1f-40bb-af36-da9bf23ef231", - "title": "Kubernetes Dashboards [Metrics Kubernetes]", - "type": "visualization", + "panelIndex": "41e063cd-3ef2-4cad-98f7-b5c4d394b68f", + "title": "Total Nodes per Cluster [Metrics Kubernetes]", + "type": "lens", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "controls": [ - { - "fieldName": "orchestrator.cluster.name", - "id": "1627653028481", - "indexPatternRefName": "control_14ad41ee-32f8-4733-b844-0afc0733bb2e_0_index_pattern", - "label": "Cluster Name", - "options": { - "dynamicOptions": true, - "multiselect": true, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - } - ], - "pinFilters": true, - "updateFiltersOnChange": true, - "useTimeFilter": true - }, - "type": "input_control_vis", - "uiState": {} - } - }, - "gridData": { - "h": 5, - "i": "14ad41ee-32f8-4733-b844-0afc0733bb2e", - "w": 47, - "x": 0, - "y": 3 - }, - "panelIndex": "14ad41ee-32f8-4733-b844-0afc0733bb2e", - "title": "Cluster Filter [Metrics Kubernetes]", - "type": "visualization", - "version": "8.3.0-SNAPSHOT" - }, - { - "embeddableConfig": { - "attributes": { - "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-layer-0cea87dc-699c-4771-a908-9a6c4df97630", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "415bd77a-fa26-4e8d-a354-97ddd74f04bd", - "type": "index-pattern" - } - ], - "state": { - "datasourceStates": { - "indexpattern": { - "layers": { - "0cea87dc-699c-4771-a908-9a6c4df97630": { - "columnOrder": [ - "031701fd-1939-4c76-8659-5a2411cf282b", - "471f1924-3b61-4633-a297-066260bf1a42" - ], - "columns": { - "031701fd-1939-4c76-8659-5a2411cf282b": { - "customLabel": true, - "dataType": "string", - "isBucketed": true, - "label": "Cluster Name", - "operationType": "terms", - "params": { - "missingBucket": false, - "orderBy": { - "columnId": "471f1924-3b61-4633-a297-066260bf1a42", - "type": "column" - }, - "orderDirection": "desc", - "otherBucket": true, - "parentFormat": { - "id": "terms" - }, - "secondaryFields": [], - "size": 10 - }, - "scale": "ordinal", - "sourceField": "orchestrator.cluster.name" - }, - "471f1924-3b61-4633-a297-066260bf1a42": { - "customLabel": true, - "dataType": "number", - "isBucketed": false, - "label": "Total Nodes", - "operationType": "unique_count", - "params": { - "emptyAsNull": true - }, - "scale": "ratio", - "sourceField": "kubernetes.node.name" - } - }, - "incompleteColumns": {} - } - } - } - }, - "filters": [ - { - "$state": { - "store": "appState" - }, - "meta": { - "alias": null, - "disabled": false, - "index": "415bd77a-fa26-4e8d-a354-97ddd74f04bd", - "key": "event.dataset", - "negate": false, - "params": { - "query": "state_node" - }, - "type": "phrase" - }, - "query": { - "match_phrase": { - "event.dataset": "kubernetes.state_node" - } - } - } - ], - "query": { - "language": "kuery", - "query": "" - }, - "visualization": { - "layers": [ - { - "categoryDisplay": "default", - "groups": [ - "031701fd-1939-4c76-8659-5a2411cf282b" - ], - "layerId": "0cea87dc-699c-4771-a908-9a6c4df97630", - "layerType": "data", - "legendDisplay": "default", - "metric": "471f1924-3b61-4633-a297-066260bf1a42", - "nestedLegend": false, - "numberDisplay": "value", - "percentDecimals": 0 - } - ], - "shape": "donut" - } - }, - "visualizationType": "lnsPie" - }, - "enhancements": { - "dynamicActions": { - "events": [ - { - "action": { - "config": { - "openInNewTab": false, - "useCurrentDateRange": true, - "useCurrentFilters": true - }, - "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", - "name": "Go to Pods Detailed Dashboard" - }, - "eventId": "6a2acda4-6f9d-4996-95fe-31a15bfb5f3b", - "triggers": [ - "FILTER_TRIGGER" - ] - } - ] - } - }, - "hidePanelTitles": false - }, - "gridData": { - "h": 14, - "i": "41e063cd-3ef2-4cad-98f7-b5c4d394b68f", - "w": 11, - "x": 0, - "y": 8 - }, - "panelIndex": "41e063cd-3ef2-4cad-98f7-b5c4d394b68f", - "title": "Total Nodes per Cluster [Metrics Kubernetes]", - "type": "lens", - "version": "8.3.0-SNAPSHOT" - }, - { - "embeddableConfig": { - "attributes": { - "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-layer-0cea87dc-699c-4771-a908-9a6c4df97630", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "b895e2f3-062e-423b-a8e5-875e85744550", - "type": "index-pattern" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-0cea87dc-699c-4771-a908-9a6c4df97630", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "b895e2f3-062e-423b-a8e5-875e85744550", + "type": "index-pattern" } ], "state": { @@ -760,7 +360,7 @@ "i": "dc16469b-085d-4e09-9b42-1ace36cde2ff", "w": 11, "x": 11, - "y": 8 + "y": 9 }, "panelIndex": "dc16469b-085d-4e09-9b42-1ace36cde2ff", "title": "Total Pods per Namespace [Metrics Kubernetes]", @@ -1040,7 +640,7 @@ "i": "5f515e46-d01b-4f5e-b85f-3441aaea8435", "w": 25, "x": 22, - "y": 8 + "y": 9 }, "panelIndex": "5f515e46-d01b-4f5e-b85f-3441aaea8435", "title": "Workloads per Namespace [Metrics Kubernetes]", @@ -1167,7 +767,7 @@ "i": "14ceb02d-63b6-448a-85fe-28a9e974e80c", "w": 22, "x": 0, - "y": 22 + "y": 23 }, "panelIndex": "14ceb02d-63b6-448a-85fe-28a9e974e80c", "title": "Cpu Usage per Namespace [Metrics Kubernetes]", @@ -1294,7 +894,7 @@ "i": "16a93dbd-9a1a-4383-8aa5-196af84962ef", "w": 25, "x": 22, - "y": 22 + "y": 23 }, "panelIndex": "16a93dbd-9a1a-4383-8aa5-196af84962ef", "title": "Memory Usage per Namespace [Metrics Kubernetes]", @@ -1414,7 +1014,7 @@ "i": "a300b4d0-a001-4ee7-9237-b29340a40c27", "w": 11, "x": 0, - "y": 37 + "y": 38 }, "panelIndex": "a300b4d0-a001-4ee7-9237-b29340a40c27", "title": "Total Number of Volumes [Metrics Kubernetes]", @@ -1534,7 +1134,7 @@ "i": "c8008ef9-dc39-4925-932f-56395a0f3d7f", "w": 11, "x": 11, - "y": 37 + "y": 38 }, "panelIndex": "c8008ef9-dc39-4925-932f-56395a0f3d7f", "title": "Total Number of Persistent Volumes [Metrics Kubernetes]", @@ -1602,68 +1202,352 @@ "params": { "query": "kubernetes.state_persistentvolumeclaim" }, - "type": "phrase" - }, - "query": { - "match_phrase": { - "event.dataset": "kubernetes.state_persistentvolumeclaim" + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.dataset": "kubernetes.state_persistentvolumeclaim" + } + } + } + ], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "accessor": "9ed4cf14-b3bd-4cb0-8fe3-4ed86a0aedae", + "layerId": "b23da578-55ca-4199-9298-1e54b87997ac", + "layerType": "data", + "size": "l", + "textAlign": "center", + "titlePosition": "bottom" + } + }, + "visualizationType": "lnsMetric" + }, + "enhancements": { + "dynamicActions": { + "events": [ + { + "action": { + "config": { + "openInNewTab": false, + "useCurrentDateRange": false, + "useCurrentFilters": false + }, + "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", + "name": "Go to Detailed Dashboard" + }, + "eventId": "3d235a66-1457-4c72-9ef6-3d5ce974ae34", + "triggers": [ + "FILTER_TRIGGER" + ] + } + ] + } + }, + "hidePanelTitles": false + }, + "gridData": { + "h": 12, + "i": "f1c51925-e700-4fb6-8e86-95a738b03554", + "w": 11, + "x": 22, + "y": 38 + }, + "panelIndex": "f1c51925-e700-4fb6-8e86-95a738b03554", + "title": "Total Number of Persistent Volume Claims [Metrics Kubernetes]", + "type": "lens", + "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "axis_formatter": "number", + "axis_position": "left", + "axis_scale": "normal", + "drop_last_bucket": 0, + "filter": { + "language": "kuery", + "query": "event.dataset : \"kubernetes.pod\" or event.dataset :\"kubernetes.state_node\" " + }, + "id": "61af87d1-a437-4118-9585-9d1dd6572838", + "index_pattern_ref_name": "metrics_5be8ce9f-db72-47d3-b26e-9e639015b914_0_index_pattern", + "interval": "", + "isModelInvalid": false, + "markdown": "**{{ total_pods.pods.last.formatted }}** Pods running out of **{{ allocatable_pods.allocatable.last.formatted }}** Total Allocatable Pods", + "max_lines_legend": 1, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "event.dataset :\"kubernetes.pod\" " + }, + "formatter": "default", + "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", + "label": "Total Pods", + "line_width": 1, + "metrics": [ + { + "agg_with": "avg", + "field": "kubernetes.pod.name", + "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "cardinality" + } + ], + "override_index_pattern": 0, + "palette": { + "name": "default", + "type": "palette" + }, + "point_size": 1, + "separate_axis": 0, + "series_drop_last_bucket": 0, + "split_mode": "everything", + "stacked": "none", + "time_range_mode": "entire_time_range", + "var_name": "pods" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "event.dataset :\"kubernetes.state_node\" " + }, + "formatter": "default", + "id": "883dc850-c144-11ec-a410-4702e3767868", + "label": "Allocatable Pods", + "line_width": 1, + "metrics": [ + { + "agg_with": "avg", + "field": "kubernetes.node.pod.allocatable.total", + "id": "883dc851-c144-11ec-a410-4702e3767868", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + }, + { + "function": "sum", + "id": "883dc852-c144-11ec-a410-4702e3767868", + "type": "series_agg" + } + ], + "override_index_pattern": 0, + "palette": { + "name": "default", + "type": "palette" + }, + "point_size": 1, + "separate_axis": 0, + "series_drop_last_bucket": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "kubernetes.node.name", + "terms_size": "100000", + "time_range_mode": "entire_time_range", + "var_name": "allocatable" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "time_range_mode": "entire_time_range", + "tooltip_mode": "show_all", + "truncate_legend": 1, + "type": "markdown", + "use_kibana_indexes": true + }, + "type": "metrics", + "uiState": {} + } + }, + "gridData": { + "h": 3, + "i": "5be8ce9f-db72-47d3-b26e-9e639015b914", + "w": 14, + "x": 33, + "y": 38 + }, + "panelIndex": "5be8ce9f-db72-47d3-b26e-9e639015b914", + "title": "Pods Reserved [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "axis_formatter": "number", + "axis_position": "left", + "axis_scale": "normal", + "drop_last_bucket": 0, + "filter": { + "language": "kuery", + "query": "event.dataset :\"kubernetes.state_container\" or event.dataset :\"kubernetes.state_node\"" + }, + "id": "61af87d1-a437-4118-9585-9d1dd6572838", + "index_pattern_ref_name": "metrics_51aa455c-9d9c-438c-b299-9d13585c4e5c_0_index_pattern", + "interval": "", + "isModelInvalid": false, + "markdown": "**{{ cores_requested.requested.last.formatted }}** Cores requested out of **{{ total_cores.total.last.formatted }}** Allocatable Cores", + "max_lines_legend": 1, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "event.dataset :\"kubernetes.state_container\" " + }, + "formatter": "default", + "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", + "label": "Cores Requested", + "line_width": 1, + "metrics": [ + { + "agg_with": "avg", + "field": "kubernetes.container.cpu.request.cores", + "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + }, + { + "function": "sum", + "id": "5dca2af0-c144-11ec-a410-4702e3767868", + "type": "series_agg" + } + ], + "override_index_pattern": 0, + "palette": { + "name": "default", + "type": "palette" + }, + "point_size": 1, + "separate_axis": 0, + "series_drop_last_bucket": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "kubernetes.container.name", + "terms_size": "100000", + "time_range_mode": "entire_time_range", + "var_name": "requested" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "event.dataset :\"kubernetes.state_node\" " + }, + "formatter": "default", + "id": "883dc850-c144-11ec-a410-4702e3767868", + "label": "Total Cores", + "line_width": 1, + "metrics": [ + { + "agg_with": "avg", + "field": "kubernetes.node.cpu.allocatable.cores", + "id": "883dc851-c144-11ec-a410-4702e3767868", + "order": "desc", + "order_by": "@timestamp", + "size": 1, + "type": "top_hit" + }, + { + "function": "sum", + "id": "883dc852-c144-11ec-a410-4702e3767868", + "type": "series_agg" } - } + ], + "override_index_pattern": 0, + "palette": { + "name": "default", + "type": "palette" + }, + "point_size": 1, + "separate_axis": 0, + "series_drop_last_bucket": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "kubernetes.node.name", + "terms_size": "100000", + "time_range_mode": "entire_time_range", + "var_name": "total" } ], - "query": { - "language": "kuery", - "query": "" - }, - "visualization": { - "accessor": "9ed4cf14-b3bd-4cb0-8fe3-4ed86a0aedae", - "layerId": "b23da578-55ca-4199-9298-1e54b87997ac", - "layerType": "data", - "size": "l", - "textAlign": "center", - "titlePosition": "bottom" - } + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "time_range_mode": "entire_time_range", + "tooltip_mode": "show_all", + "truncate_legend": 1, + "type": "markdown", + "use_kibana_indexes": true }, - "visualizationType": "lnsMetric" - }, - "enhancements": { - "dynamicActions": { - "events": [ - { - "action": { - "config": { - "openInNewTab": false, - "useCurrentDateRange": false, - "useCurrentFilters": false - }, - "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", - "name": "Go to Detailed Dashboard" - }, - "eventId": "3d235a66-1457-4c72-9ef6-3d5ce974ae34", - "triggers": [ - "FILTER_TRIGGER" - ] - } - ] - } - }, - "hidePanelTitles": false + "type": "metrics", + "uiState": {} + } }, "gridData": { - "h": 12, - "i": "f1c51925-e700-4fb6-8e86-95a738b03554", - "w": 11, - "x": 22, - "y": 37 + "h": 4, + "i": "51aa455c-9d9c-438c-b299-9d13585c4e5c", + "w": 7, + "x": 33, + "y": 41 }, - "panelIndex": "f1c51925-e700-4fb6-8e86-95a738b03554", - "title": "Total Number of Persistent Volume Claims [Metrics Kubernetes]", - "type": "lens", + "panelIndex": "51aa455c-9d9c-438c-b299-9d13585c4e5c", + "title": "Cores Reserved [Metrics Kubernetes]", + "type": "visualization", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { "enhancements": {}, + "hidePanelTitles": false, "savedVis": { "data": { "aggs": [], @@ -1683,13 +1567,13 @@ "drop_last_bucket": 0, "filter": { "language": "kuery", - "query": "event.dataset : \"kubernetes.pod\" or event.dataset :\"kubernetes.state_node\" " + "query": "event.dataset :\"kubernetes.container\" or event.dataset :\"kubernetes.state_node\"" }, "id": "61af87d1-a437-4118-9585-9d1dd6572838", - "index_pattern_ref_name": "metrics_5be8ce9f-db72-47d3-b26e-9e639015b914_0_index_pattern", + "index_pattern_ref_name": "metrics_0ef47305-ecb8-413c-ba38-f08a34885b82_0_index_pattern", "interval": "", "isModelInvalid": false, - "markdown": "**{{ total_pods.pods.last.formatted }}** Pods running out of **{{ allocatable_pods.allocatable.last.formatted }}** Total Allocatable Pods", + "markdown": "**{{ cores_used.used.last.formatted }}** Cores used out of **{{ total_cores.total.last.formatted }}** Allocatable Cores", "max_lines_legend": 1, "series": [ { @@ -1699,21 +1583,38 @@ "fill": 0.5, "filter": { "language": "kuery", - "query": "event.dataset :\"kubernetes.pod\" " + "query": "event.dataset :\"kubernetes.container\" " }, - "formatter": "default", + "formatter": "number", "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", - "label": "Total Pods", + "label": "Cores Used", "line_width": 1, "metrics": [ { "agg_with": "avg", - "field": "kubernetes.pod.name", + "field": "kubernetes.container.cpu.usage.nanocores", "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", "order": "desc", "order_by": "@timestamp", "size": 1, - "type": "cardinality" + "type": "top_hit" + }, + { + "function": "sum", + "id": "5dca2af0-c144-11ec-a410-4702e3767868", + "type": "series_agg" + }, + { + "id": "3078c4d0-cfa4-11ec-9946-abb6b61f731a", + "script": "params.nanocores/1000000000", + "type": "math", + "variables": [ + { + "field": "5bf21665-fbd0-49aa-b81b-9582512db1ff", + "id": "38bab8b0-cfa4-11ec-9946-abb6b61f731a", + "name": "nanocores" + } + ] } ], "override_index_pattern": 0, @@ -1724,10 +1625,12 @@ "point_size": 1, "separate_axis": 0, "series_drop_last_bucket": 0, - "split_mode": "everything", + "split_mode": "terms", "stacked": "none", + "terms_field": "kubernetes.container.name", + "terms_size": "100000", "time_range_mode": "entire_time_range", - "var_name": "pods" + "var_name": "used" }, { "axis_position": "right", @@ -1740,12 +1643,12 @@ }, "formatter": "default", "id": "883dc850-c144-11ec-a410-4702e3767868", - "label": "Allocatable Pods", + "label": "Total Cores", "line_width": 1, "metrics": [ { "agg_with": "avg", - "field": "kubernetes.node.pod.allocatable.total", + "field": "kubernetes.node.cpu.allocatable.cores", "id": "883dc851-c144-11ec-a410-4702e3767868", "order": "desc", "order_by": "@timestamp", @@ -1771,7 +1674,7 @@ "terms_field": "kubernetes.node.name", "terms_size": "100000", "time_range_mode": "entire_time_range", - "var_name": "allocatable" + "var_name": "total" } ], "show_grid": 1, @@ -1783,25 +1686,27 @@ "type": "markdown", "use_kibana_indexes": true }, + "title": "", "type": "metrics", "uiState": {} } }, "gridData": { - "h": 3, - "i": "5be8ce9f-db72-47d3-b26e-9e639015b914", - "w": 14, - "x": 33, - "y": 37 + "h": 4, + "i": "0ef47305-ecb8-413c-ba38-f08a34885b82", + "w": 7, + "x": 40, + "y": 41 }, - "panelIndex": "5be8ce9f-db72-47d3-b26e-9e639015b914", - "title": "Pods Reserved [Metrics Kubernetes]", + "panelIndex": "0ef47305-ecb8-413c-ba38-f08a34885b82", + "title": "Cores Used [Metrics Kubernetes]", "type": "visualization", "version": "8.3.0-SNAPSHOT" }, { "embeddableConfig": { "enhancements": {}, + "hidePanelTitles": false, "savedVis": { "data": { "aggs": [], @@ -1824,10 +1729,10 @@ "query": "event.dataset :\"kubernetes.state_container\" or event.dataset :\"kubernetes.state_node\"" }, "id": "61af87d1-a437-4118-9585-9d1dd6572838", - "index_pattern_ref_name": "metrics_51aa455c-9d9c-438c-b299-9d13585c4e5c_0_index_pattern", + "index_pattern_ref_name": "metrics_f05ed38e-333c-4a45-a441-da0be70b097c_0_index_pattern", "interval": "", "isModelInvalid": false, - "markdown": "**{{ cores_requested.requested.last.formatted }}** Cores requested out of **{{ total_cores.total.last.formatted }}** Allocatable Cores", + "markdown": "**{{ memory_requested.requested.last.formatted }}** Memory requested out of **{{ total_memory.total.last.formatted }}** Allocatable Memory Bytes", "max_lines_legend": 1, "series": [ { @@ -1839,14 +1744,14 @@ "language": "kuery", "query": "event.dataset :\"kubernetes.state_container\" " }, - "formatter": "default", + "formatter": "bytes", "id": "4bc97b43-4c11-40bc-a24f-98a523544a7d", - "label": "Cores Requested", + "label": "Memory Requested", "line_width": 1, "metrics": [ { "agg_with": "avg", - "field": "kubernetes.container.cpu.request.cores", + "field": "kubernetes.container.memory.request.bytes", "id": "5bf21665-fbd0-49aa-b81b-9582512db1ff", "order": "desc", "order_by": "@timestamp", @@ -1883,14 +1788,14 @@ "language": "kuery", "query": "event.dataset :\"kubernetes.state_node\" " }, - "formatter": "default", + "formatter": "bytes", "id": "883dc850-c144-11ec-a410-4702e3767868", - "label": "Total Cores", + "label": "Total Memory", "line_width": 1, "metrics": [ { "agg_with": "avg", - "field": "kubernetes.node.cpu.allocatable.cores", + "field": "kubernetes.node.memory.allocatable.bytes", "id": "883dc851-c144-11ec-a410-4702e3767868", "order": "desc", "order_by": "@timestamp", @@ -1928,19 +1833,20 @@ "type": "markdown", "use_kibana_indexes": true }, + "title": "", "type": "metrics", "uiState": {} } }, "gridData": { - "h": 4, - "i": "51aa455c-9d9c-438c-b299-9d13585c4e5c", + "h": 5, + "i": "f05ed38e-333c-4a45-a441-da0be70b097c", "w": 7, "x": 33, - "y": 40 + "y": 45 }, - "panelIndex": "51aa455c-9d9c-438c-b299-9d13585c4e5c", - "title": "Cores Reserved [Metrics Kubernetes]", + "panelIndex": "f05ed38e-333c-4a45-a441-da0be70b097c", + "title": "Memory Reserved [Metrics Kubernetes]", "type": "visualization", "version": "8.3.0-SNAPSHOT" }, @@ -2082,12 +1988,64 @@ "i": "a91d36c0-f405-4c04-8510-11134bd259f0", "w": 7, "x": 40, - "y": 44 + "y": 45 }, "panelIndex": "a91d36c0-f405-4c04-8510-11134bd259f0", "title": "Memory Used [Metrics Kubernetes]", "type": "visualization", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {} + }, + "gridData": { + "h": 15, + "i": "4a66eae8-63ab-40c9-85c4-69c6165a1c72", + "w": 47, + "x": 0, + "y": 50 + }, + "panelIndex": "4a66eae8-63ab-40c9-85c4-69c6165a1c72", + "panelRefName": "panel_4a66eae8-63ab-40c9-85c4-69c6165a1c72", + "type": "search", + "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "f1541205-b6eb-45a6-bdc5-9aaefa62af66", + "w": 47, + "x": 0, + "y": 0 + }, + "panelIndex": "f1541205-b6eb-45a6-bdc5-9aaefa62af66", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false, @@ -2100,26 +2058,6 @@ "dashboard": "8.3.0" }, "references": [ - { - "id": "metrics-*", - "name": "0ef47305-ecb8-413c-ba38-f08a34885b82:metrics_0ef47305-ecb8-413c-ba38-f08a34885b82_0_index_pattern", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "f05ed38e-333c-4a45-a441-da0be70b097c:metrics_f05ed38e-333c-4a45-a441-da0be70b097c_0_index_pattern", - "type": "index-pattern" - }, - { - "id": "kubernetes-adc7d0c0-d1fc-11ec-8c69-8bbb7ca8f9ee", - "name": "4a66eae8-63ab-40c9-85c4-69c6165a1c72:panel_4a66eae8-63ab-40c9-85c4-69c6165a1c72", - "type": "search" - }, - { - "id": "metrics-*", - "name": "89c9c68b-0d1f-40bb-af36-da9bf23ef231:metrics_89c9c68b-0d1f-40bb-af36-da9bf23ef231_0_index_pattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "14ad41ee-32f8-4733-b844-0afc0733bb2e:control_14ad41ee-32f8-4733-b844-0afc0733bb2e_0_index_pattern", @@ -2230,10 +2168,25 @@ "name": "51aa455c-9d9c-438c-b299-9d13585c4e5c:metrics_51aa455c-9d9c-438c-b299-9d13585c4e5c_0_index_pattern", "type": "index-pattern" }, + { + "id": "metrics-*", + "name": "0ef47305-ecb8-413c-ba38-f08a34885b82:metrics_0ef47305-ecb8-413c-ba38-f08a34885b82_0_index_pattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "f05ed38e-333c-4a45-a441-da0be70b097c:metrics_f05ed38e-333c-4a45-a441-da0be70b097c_0_index_pattern", + "type": "index-pattern" + }, { "id": "metrics-*", "name": "a91d36c0-f405-4c04-8510-11134bd259f0:metrics_a91d36c0-f405-4c04-8510-11134bd259f0_0_index_pattern", "type": "index-pattern" + }, + { + "id": "kubernetes-adc7d0c0-d1fc-11ec-8c69-8bbb7ca8f9ee", + "name": "4a66eae8-63ab-40c9-85c4-69c6165a1c72:panel_4a66eae8-63ab-40c9-85c4-69c6165a1c72", + "type": "search" } ], "type": "dashboard" diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013.json b/packages/kubernetes/kibana/dashboard/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013.json index be5bb93eaf8..fd575d6472c 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013.json @@ -93,7 +93,7 @@ "i": "2397fba8-e01a-480f-b175-83b6172abc31", "w": 48, "x": 0, - "y": 0 + "y": 4 }, "panelIndex": "2397fba8-e01a-480f-b175-83b6172abc31", "title": "Select Namespace and Service [Metrics Kubernetes]", @@ -302,12 +302,48 @@ "i": "3df5f644-b37e-471c-b2c5-ad4db122d1de", "w": 48, "x": 0, - "y": 6 + "y": 10 }, "panelIndex": "3df5f644-b37e-471c-b2c5-ad4db122d1de", "title": "Services Informations [Metrics Kubernetes]", "type": "lens", "version": "8.3.0-SNAPSHOT" + }, + { + "embeddableConfig": { + "enhancements": {}, + "savedVis": { + "data": { + "aggs": [], + "searchSource": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "description": "", + "params": { + "fontSize": 10, + "markdown": "[Kubernetes Overview](#/view/kubernetes-e0195ce0-bcaf-11ec-b64f-7dd6e8e82013),\n[Kubernetes Nodes](#/view/kubernetes-b945b7b0-bcb1-11ec-b64f-7dd6e8e82013), \n[Kubernetes Pods](#/view/kubernetes-3d4d9290-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Deployments](#/view/kubernetes-5be46210-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes StatefulSets](#/view/kubernetes-21694370-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes DaemonSets](#/view/kubernetes-85879010-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes CronJobs](#/view/kubernetes-0a672d50-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Jobs](#/view/kubernetes-9bf990a0-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Volumes](#/view/kubernetes-3912d9a0-bcb2-11ec-b64f-7dd6e8e82013), [Kubernetes PV/PVC](#/view/kubernetes-dd081350-bcb1-11ec-b64f-7dd6e8e82013), [Kubernetes Services](#/view/kubernetes-ff1b3850-bcb1-11ec-b64f-7dd6e8e82013)", + "openLinksInNewTab": false + }, + "type": "markdown", + "uiState": {} + } + }, + "gridData": { + "h": 4, + "i": "60c70dea-d4f0-43ea-a43f-7927dcf5c34d", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "60c70dea-d4f0-43ea-a43f-7927dcf5c34d", + "title": "Kubernetes Dashboards [Metrics Kubernetes]", + "type": "visualization", + "version": "8.3.0-SNAPSHOT" } ], "timeRestore": false,