[
  {
    "id": "General-Endpoint",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 24,
          "h": 52,
          "i": "0",
          "type": "Tab",
          "children": [
            {
              "name": "Overview",
              "children": [
                {
                  "x": 16,
                  "y": 0,
                  "w": 8,
                  "h": 13,
                  "i": "3",
                  "type": "Widget",
                  "widget": {
                    "title": "Endpoint Response Time Percentile (ms)",
                    "name": "Endpoint_Response_Percentile"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "0-0-5"
                    },
                    {
                      "widgetId": "0-0-4"
                    },
                    {
                      "widgetId": "0-0-6"
                    },
                    {
                      "widgetId": "0-0-7"
                    },
                    {
                      "widgetId": "0-0-8"
                    }
                  ],
                  "relatedTrace": {
                    "enableRelate": true,
                    "latency": true
                  },
                  "expressions": [
                    "relabels(endpoint_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                },
                {
                  "x": 8,
                  "y": 0,
                  "w": 8,
                  "h": 13,
                  "i": "4",
                  "type": "Widget",
                  "widget": {
                    "title": "Endpoint Avg Response Time (ms)",
                    "name": "Endpoint_Avg_Response"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "0-0-3"
                    },
                    {
                      "widgetId": "0-0-5"
                    },
                    {
                      "widgetId": "0-0-6"
                    },
                    {
                      "widgetId": "0-0-7"
                    },
                    {
                      "widgetId": "0-0-8"
                    }
                  ],
                  "relatedTrace": {
                    "enableRelate": true,
                    "latency": true
                  },
                  "metricConfig": [
                    {
                      "label": "latency"
                    }
                  ],
                  "expressions": [
                    "endpoint_resp_time"
                  ]
                },
                {
                  "x": 8,
                  "y": 13,
                  "w": 8,
                  "h": 13,
                  "i": "5",
                  "type": "Widget",
                  "widget": {
                    "title": "Message Queue Avg Consuming Latency (ms)",
                    "tips": "The avg latency of message consuming. Latency = timestamp(received) - timestamp(producing)",
                    "name": "Message_Consuming_Latency"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "0-0-3"
                    },
                    {
                      "widgetId": "0-0-4"
                    },
                    {
                      "widgetId": "0-0-6"
                    },
                    {
                      "widgetId": "0-0-7"
                    },
                    {
                      "widgetId": "0-0-8"
                    }
                  ],
                  "metricConfig": [
                    {
                      "label": "latency"
                    }
                  ],
                  "expressions": [
                    "endpoint_mq_consume_latency"
                  ]
                },
                {
                  "x": 0,
                  "y": 13,
                  "w": 8,
                  "h": 13,
                  "i": "7",
                  "type": "Widget",
                  "widget": {
                    "title": "Endpoint Success Rate (%)",
                    "name": "Endpoint_Success_Rate"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "0-0-3"
                    },
                    {
                      "widgetId": "0-0-4"
                    },
                    {
                      "widgetId": "0-0-6"
                    },
                    {
                      "widgetId": "0-0-5"
                    },
                    {
                      "widgetId": "0-0-8"
                    }
                  ],
                  "relatedTrace": {
                    "enableRelate": true,
                    "status": "ERROR"
                  },
                  "metricConfig": [
                    {
                      "label": "success_rate"
                    }
                  ],
                  "expressions": [
                    "endpoint_sla/100"
                  ]
                },
                {
                  "x": 0,
                  "y": 0,
                  "w": 8,
                  "h": 13,
                  "i": "8",
                  "type": "Widget",
                  "widget": {
                    "title": "Endpoint Load (calls / min)",
                    "name": "Endpoint_Load",
                    "tips": "requests(HTTP / RPC) / min, consuming messages(MQ) / min"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "associate": [
                    {
                      "widgetId": "0-0-3"
                    },
                    {
                      "widgetId": "0-0-4"
                    },
                    {
                      "widgetId": "0-0-6"
                    },
                    {
                      "widgetId": "0-0-7"
                    },
                    {
                      "widgetId": "0-0-5"
                    }
                  ],
                  "metricConfig": [
                    {
                      "label": "load"
                    }
                  ],
                  "expressions": [
                    "endpoint_cpm"
                  ]
                }
              ]
            },
            {
              "name": "Topology",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 49,
                  "i": "0",
                  "type": "Topology",
                  "graph": {
                    "showDepth": true
                  },
                  "linkDashboard": "General-Endpoint-Relation",
                  "nodeDashboard": "General-Endpoint",
                  "nodeMetrics": [],
                  "description": {},
                  "linkServerMetricConfig": [
                    {
                      "label": "Success Rate",
                      "unit": "%"
                    },
                    {
                      "label": "Latency",
                      "unit": "ms"
                    },
                    {
                      "label": "Load",
                      "unit": "calls / min"
                    }
                  ],
                  "nodeMetricConfig": [
                    {
                      "label": "Success Rate",
                      "unit": "%"
                    },
                    {
                      "label": "Latency",
                      "unit": "ms"
                    },
                    {
                      "label": "Load",
                      "unit": "calls / min"
                    }
                  ],
                  "linkServerExpressions": [
                    "avg(endpoint_relation_sla/100)",
                    "avg(endpoint_relation_resp_time)",
                    "avg(endpoint_relation_cpm)"
                  ],
                  "linkClientExpressions": [],
                  "nodeExpressions": [
                    "avg(endpoint_sla/100)",
                    "avg(endpoint_resp_time)",
                    "avg(endpoint_cpm)"
                  ],
                  "legendMQE": {
                    "expression": ""
                  },
                  "linkClientMetricConfig": []
                }
              ]
            },
            {
              "name": "Trace",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 49,
                  "i": "0",
                  "type": "Trace"
                }
              ]
            },
            {
              "name": "Log",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 49,
                  "i": "0",
                  "type": "Log"
                }
              ]
            }
          ]
        }
      ],
      "layer": "GENERAL",
      "entity": "Endpoint",
      "name": "General-Endpoint",
      "id": "General-Endpoint",
      "isRoot": false
    }
  }
]
