| /** |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| [ |
| { |
| "id": "K8S-Node", |
| "configuration": { |
| "children": [ |
| { |
| "x": 16, |
| "y": 16, |
| "w": 8, |
| "h": 16, |
| "i": "0", |
| "type": "Widget", |
| "widget": { |
| "title": "CPU Usage (m)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_cpu_usage" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 32, |
| "w": 8, |
| "h": 16, |
| "i": "1", |
| "type": "Widget", |
| "widget": { |
| "title": "Network I/O (KB/s)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_network_receive", |
| "k8s_node_network_transmit" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false, |
| "metricConfig": [ |
| { |
| "calculation": "byteToKB" |
| }, |
| { |
| "calculation": "byteToKB" |
| } |
| ] |
| }, |
| { |
| "x": 8, |
| "y": 0, |
| "w": 8, |
| "h": 16, |
| "i": "2", |
| "type": "Widget", |
| "widget": { |
| "title": "Node Status" |
| }, |
| "graph": { |
| "type": "Table", |
| "showTableValues": false, |
| "tableHeaderCol1": "", |
| "tableHeaderCol2": "" |
| }, |
| "metrics": [ |
| "k8s_node_node_status" |
| ], |
| "metricTypes": [ |
| "readLabeledMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 16, |
| "w": 8, |
| "h": 16, |
| "i": "3", |
| "type": "Widget", |
| "widget": { |
| "title": "Storage Resources (Gi)" |
| }, |
| "graph": { |
| "type": "Area", |
| "opacity": 0.4, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_storage_total", |
| "k8s_node_storage_allocatable" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false, |
| "metricConfig": [ |
| { |
| "calculation": "byteToGB" |
| }, |
| { |
| "calculation": "byteToGB" |
| } |
| ] |
| }, |
| { |
| "x": 16, |
| "y": 0, |
| "w": 8, |
| "h": 16, |
| "i": "5", |
| "type": "Widget", |
| "widget": { |
| "title": "CPU Resources (m)" |
| }, |
| "graph": { |
| "type": "Area", |
| "opacity": 0.4, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_cpu_cores_limits", |
| "k8s_node_cpu_cores_requests", |
| "k8s_node_cpu_cores", |
| "k8s_node_cpu_cores_allocatable" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 0, |
| "y": 16, |
| "w": 8, |
| "h": 16, |
| "i": "6", |
| "type": "Widget", |
| "widget": { |
| "title": "Memory Resources (Gi)" |
| }, |
| "graph": { |
| "type": "Area", |
| "opacity": 0.4, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_memory_total", |
| "k8s_node_memory_limits", |
| "k8s_node_memory_allocatable", |
| "k8s_node_memory_requests" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false, |
| "metricConfig": [ |
| { |
| "calculation": "byteToGB" |
| }, |
| { |
| "calculation": "byteToGB" |
| }, |
| { |
| "calculation": "byteToGB" |
| }, |
| { |
| "calculation": "byteToGB" |
| } |
| ] |
| }, |
| { |
| "x": 0, |
| "y": 32, |
| "w": 8, |
| "h": 16, |
| "i": "7", |
| "type": "Widget", |
| "widget": { |
| "title": "Memory Usage (Gi)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_memory_usage" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false, |
| "metricConfig": [ |
| { |
| "calculation": "byteToGB" |
| } |
| ] |
| }, |
| { |
| "x": 0, |
| "y": 0, |
| "w": 8, |
| "h": 16, |
| "i": "8", |
| "type": "Widget", |
| "widget": { |
| "title": "Pod Total" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "k8s_node_pod_total" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| } |
| ], |
| "layer": "K8S", |
| "entity": "ServiceInstance", |
| "name": "K8S-Node", |
| "id": "K8S-Node", |
| "isRoot": false |
| } |
| } |
| ] |