| /** |
| * 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": "FaaS-Instance", |
| "configuration": { |
| "children": [ |
| { |
| "x": 0, |
| "y": 12, |
| "w": 24, |
| "h": 52, |
| "i": "0", |
| "type": "Tab", |
| "children": [ |
| { |
| "name": "Overview", |
| "children": [ |
| { |
| "x": 0, |
| "y": 29, |
| "w": 24, |
| "h": 14, |
| "i": "0", |
| "type": "Widget", |
| "widget": { |
| "title": "Function Instance Latency (ms)", |
| "name": "Latency" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "service_instance_resp_time" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "value": "0-0-0", |
| "label": "0-0-0", |
| "associate": [ |
| { |
| "widgetId": "0-0-1" |
| }, |
| { |
| "widgetId": "0-0-3" |
| } |
| ], |
| "relatedTrace": { |
| "enableRelate": true, |
| "latency": true |
| } |
| }, |
| { |
| "x": 0, |
| "y": 14, |
| "w": 24, |
| "h": 15, |
| "i": "1", |
| "type": "Widget", |
| "widget": { |
| "title": "Function Instance Success Rate (%)", |
| "name": "Success_Rate" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "service_instance_sla" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "metricConfig": [ |
| { |
| "calculation": "percentage" |
| } |
| ], |
| "value": "0-0-1", |
| "label": "Success_Rate", |
| "associate": [ |
| { |
| "widgetId": "0-0-0" |
| }, |
| { |
| "widgetId": "0-0-3" |
| } |
| ], |
| "relatedTrace": { |
| "enableRelate": true, |
| "status": "ERROR" |
| } |
| }, |
| { |
| "x": 0, |
| "y": 0, |
| "w": 24, |
| "h": 14, |
| "i": "3", |
| "type": "Widget", |
| "widget": { |
| "title": "Function Instance Load (calls / min)", |
| "tips": "For HTTP 1/2, gRPC, RPC functions, this means Calls Per Minute (calls / min)", |
| "name": "Function_Instance_Load" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "service_instance_cpm" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "value": "0-0-3", |
| "label": "Function_Instance_Load", |
| "associate": [ |
| { |
| "widgetId": "0-0-1" |
| }, |
| { |
| "widgetId": "0-0-0" |
| } |
| ], |
| "relatedTrace": { |
| "enableRelate": true |
| } |
| } |
| ] |
| }, |
| { |
| "name": "Trace", |
| "children": [ |
| { |
| "x": 0, |
| "y": 0, |
| "w": 24, |
| "h": 49, |
| "i": "0", |
| "type": "Trace" |
| } |
| ] |
| }, |
| { |
| "name": "Pod Log", |
| "children": [ |
| { |
| "x": 0, |
| "y": 0, |
| "w": 24, |
| "h": 44, |
| "i": "0", |
| "type": "DemandLog" |
| } |
| ] |
| }, |
| { |
| "name": "Golang", |
| "children": [ |
| { |
| "x": 0, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "24", |
| "type": "Widget", |
| "widget": { |
| "title": "Heap Alloc (MB)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_heap_alloc" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "metricConfig": [ |
| { |
| "calculation": "byteToMB" |
| } |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "16", |
| "type": "Widget", |
| "widget": { |
| "title": "Stack Used (MB)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_stack_used" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "metricConfig": [ |
| { |
| "calculation": "byteToMB" |
| } |
| ], |
| "moved": false |
| }, |
| { |
| "x": 16, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "17", |
| "type": "Widget", |
| "widget": { |
| "title": "Golang GC Pause Time Per Minute (ms)" |
| }, |
| "graph": { |
| "type": "Bar", |
| "showBackground": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_gc_pause_time" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "metricConfig": [ |
| { |
| "calculation": "nanosecondToMillisecond" |
| } |
| ], |
| "moved": false |
| }, |
| { |
| "x": 0, |
| "y": 13, |
| "w": 8, |
| "h": 13, |
| "i": "18", |
| "type": "Widget", |
| "widget": { |
| "title": "Golang GC Count Per Minute" |
| }, |
| "graph": { |
| "type": "Bar", |
| "showBackground": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_gc_count" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 13, |
| "w": 8, |
| "h": 13, |
| "i": "19", |
| "type": "Widget", |
| "widget": { |
| "title": "Live Goroutines Num" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_live_goroutines_num" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 16, |
| "y": 13, |
| "w": 8, |
| "h": 13, |
| "i": "20", |
| "type": "Widget", |
| "widget": { |
| "title": "Golang OS Threads Num" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_golang_os_threads_num" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 0, |
| "y": 26, |
| "w": 8, |
| "h": 13, |
| "i": "21", |
| "type": "Widget", |
| "widget": { |
| "title": "Host CPU Used Rate (%)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_host_cpu_used_rate" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 26, |
| "w": 8, |
| "h": 13, |
| "i": "22", |
| "type": "Widget", |
| "widget": { |
| "title": "Host Memory Used Rate (%)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_host_mem_used_rate" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| } |
| ] |
| }, |
| { |
| "name": "PVM", |
| "children": [ |
| { |
| "x": 0, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "24", |
| "type": "Widget", |
| "widget": { |
| "title": "Host CPU Utilization / PVM CPU Utilization (%)" |
| }, |
| "graph": { |
| "type": "Area", |
| "opacity": 0.4, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_pvm_total_cpu_utilization", |
| "meter_instance_pvm_process_cpu_utilization" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "16", |
| "type": "Widget", |
| "widget": { |
| "title": "PVM Thread Count" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_pvm_thread_active_count" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 16, |
| "y": 0, |
| "w": 8, |
| "h": 13, |
| "i": "17", |
| "type": "Widget", |
| "widget": { |
| "title": "PVM GC Count" |
| }, |
| "graph": { |
| "type": "Bar", |
| "showBackground": true |
| }, |
| "metrics": [ |
| "meter_instance_pvm_gc_g0", |
| "meter_instance_pvm_gc_g1", |
| "meter_instance_pvm_gc_g2" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 0, |
| "y": 13, |
| "w": 8, |
| "h": 13, |
| "i": "18", |
| "type": "Widget", |
| "widget": { |
| "title": "Host Mem Utilization / PVM Mem Utilization (%)" |
| }, |
| "graph": { |
| "type": "Area", |
| "opacity": 0.4, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_pvm_total_mem_utilization", |
| "meter_instance_pvm_process_mem_utilization" |
| ], |
| "metricTypes": [ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "moved": false |
| }, |
| { |
| "x": 8, |
| "y": 13, |
| "w": 8, |
| "h": 13, |
| "i": "19", |
| "type": "Widget", |
| "widget": { |
| "title": "PVM GC Time (ms)" |
| }, |
| "graph": { |
| "type": "Line", |
| "step": false, |
| "smooth": false, |
| "showSymbol": false, |
| "showXAxis": true, |
| "showYAxis": true |
| }, |
| "metrics": [ |
| "meter_instance_pvm_gc_time" |
| ], |
| "metricTypes": [ |
| "readMetricsValues" |
| ], |
| "moved": false |
| } |
| ] |
| } |
| ] |
| }, |
| { |
| "x": 0, |
| "y": 0, |
| "w": 24, |
| "h": 12, |
| "i": "1", |
| "type": "Event", |
| "eventAssociate": true |
| } |
| ], |
| "layer": "FAAS", |
| "entity": "ServiceInstance", |
| "name": "FaaS-Instance", |
| "id": "FaaS-Instance", |
| "isRoot": false |
| } |
| } |
| ] |