[
  {
    "id": "Mesh-Instance",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 12,
          "w": 24,
          "h": 52,
          "i": "1",
          "type": "Tab",
          "children": [
            {
              "name": "Overview",
              "children": [
                {
                  "x": 11,
                  "y": 14,
                  "w": 13,
                  "h": 14,
                  "i": "0",
                  "type": "Widget",
                  "widget": {
                    "title": "Service Instance Latency (ms)",
                    "name": "Instance_Latency"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "1-0-2"
                    },
                    {
                      "widgetId": "1-0-1"
                    },
                    {
                      "widgetId": "1-0-3"
                    }
                  ],
                  "expressions": [
                    "service_instance_resp_time"
                  ]
                },
                {
                  "x": 0,
                  "y": 14,
                  "w": 11,
                  "h": 14,
                  "i": "1",
                  "type": "Widget",
                  "widget": {
                    "title": "Service Instance Successful Rate (%)",
                    "name": "Instance_Successful_Rate"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "1-0-0"
                    },
                    {
                      "widgetId": "1-0-2"
                    },
                    {
                      "widgetId": "1-0-3"
                    }
                  ],
                  "expressions": [
                    "service_instance_sla/100"
                  ]
                },
                {
                  "x": 11,
                  "y": 0,
                  "w": 13,
                  "h": 14,
                  "i": "2",
                  "type": "Widget",
                  "widget": {
                    "title": "Service Instance Throughput (Bytes)",
                    "name": "Instance_Throughput",
                    "tips": "This metrics is only available for TCP services"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "1-0-0"
                    },
                    {
                      "widgetId": "1-0-1"
                    },
                    {
                      "widgetId": "1-0-3"
                    }
                  ],
                  "expressions": [
                    "service_instance_throughput_received",
                    "service_instance_throughput_sent"
                  ]
                },
                {
                  "x": 0,
                  "y": 0,
                  "w": 11,
                  "h": 14,
                  "i": "3",
                  "type": "Widget",
                  "widget": {
                    "title": "Service Instance Load (calls or packets / min)",
                    "name": "Instance_Load"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "1-0-0"
                    },
                    {
                      "widgetId": "1-0-1"
                    },
                    {
                      "widgetId": "1-0-2"
                    }
                  ],
                  "expressions": [
                    "service_instance_cpm"
                  ]
                }
              ]
            },
            {
              "name": "Envoy Proxy",
              "children": [
                {
                  "x": 18,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "10",
                  "type": "Widget",
                  "widget": {
                    "title": "Upstream Request Active"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_up_rq_active"
                  ]
                },
                {
                  "x": 6,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "11",
                  "type": "Widget",
                  "widget": {
                    "title": "Connections Used"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metricConfig": [
                    {
                      "label": "total"
                    },
                    {
                      "label": "parent"
                    }
                  ],
                  "expressions": [
                    "envoy_total_connections_used",
                    "envoy_parent_connections_used"
                  ]
                },
                {
                  "x": 0,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "12",
                  "type": "Widget",
                  "widget": {
                    "title": "Membership Healthy"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_membership_healthy"
                  ]
                },
                {
                  "x": 12,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "13",
                  "type": "Widget",
                  "widget": {
                    "title": "Upstream Connection Increase (Per Minute)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_up_cx_incr"
                  ]
                },
                {
                  "x": 6,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "14",
                  "type": "Widget",
                  "widget": {
                    "title": "Upstream Request Pending Active"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_up_rq_pending_active"
                  ]
                },
                {
                  "x": 0,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "15",
                  "type": "Widget",
                  "widget": {
                    "title": "Heap Memory Used (MB)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metricConfig": [
                    {
                      "label": "allocated_max",
                      "unit": "MB"
                    },
                    {
                      "label": "heap_memory_used",
                      "unit": "MB"
                    },
                    {
                      "label": "allocated",
                      "unit": "MB"
                    },
                    {
                      "label": "physical_size",
                      "unit": "MB"
                    },
                    {
                      "label": "physical_size_max",
                      "unit": "MB"
                    },
                    {
                      "label": "max_used",
                      "unit": "MB"
                    }
                  ],
                  "expressions": [
                    "envoy_memory_allocated_max/1024/1024",
                    "envoy_heap_memory_used/1024/1024",
                    "envoy_memory_allocated/1024/1024",
                    "envoy_memory_physical_size/1024/1024",
                    "envoy_memory_physical_size_max/1024/1024",
                    "envoy_heap_memory_max_used/1024/1024"
                  ]
                },
                {
                  "x": 18,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "16",
                  "type": "Widget",
                  "widget": {
                    "title": "Envoy Bug Failure"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_bug_failures"
                  ]
                },
                {
                  "x": 12,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "17",
                  "type": "Widget",
                  "widget": {
                    "title": "Concurrency"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_worker_threads_max",
                    "envoy_worker_threads"
                  ]
                },
                {
                  "x": 6,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "18",
                  "type": "Widget",
                  "widget": {
                    "title": "Upstream Connection Active"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_up_cx_active"
                  ]
                },
                {
                  "x": 0,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "19",
                  "type": "Widget",
                  "widget": {
                    "title": "Upstream Request Increase (Per Minute)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "envoy_cluster_up_rq_incr"
                  ]
                },
                {
                  "x": 12,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "20",
                  "type": "Widget",
                  "widget": {
                    "title": "Proxy Sidecar Internal Latency in Nanoseconds (Request)",
                    "tips": "For more details to understand this metrics, refer to https://www.envoyproxy.io/docs/envoy/v1.22.0/api-v3/data/accesslog/v3/accesslog.proto.html#data-accesslog-v3-accesslogcommon"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "service_instance_sidecar_internal_req_latency_nanos"
                  ]
                },
                {
                  "x": 18,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "21",
                  "type": "Widget",
                  "widget": {
                    "tips": "For more details to understand this metrics, refer to https://www.envoyproxy.io/docs/envoy/v1.22.0/api-v3/data/accesslog/v3/accesslog.proto.html#data-accesslog-v3-accesslogcommon",
                    "title": "Proxy Sidecar Internal Latency in Nanoseconds (Response)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "service_instance_sidecar_internal_resp_latency_nanos"
                  ]
                }
              ]
            },
            {
              "name": "Envoy Log",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 48,
                  "i": "0",
                  "type": "Log"
                }
              ]
            },
            {
              "name": "Pod Log",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 44,
                  "i": "0",
                  "type": "DemandLog"
                }
              ]
            }
          ]
        },
        {
          "x": 0,
          "y": 0,
          "w": 24,
          "h": 12,
          "i": "2",
          "type": "Event",
          "eventAssociate": true
        }
      ],
      "layer": "MESH",
      "entity": "ServiceInstance",
      "name": "Mesh-Instance",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "avg(service_instance_cpm)",
        "avg(service_instance_sla/100)",
        "avg(service_instance_resp_time)"
      ],
      "expressionsConfig": [
        {
          "unit": "calls / min",
          "label": "Load"
        },
        {
          "label": "Success Rate",
          "unit": "%"
        },
        {
          "label": "Latency",
          "unit": "ms"
        }
      ]
    }
  }
]
