[
  {
    "id": "Virtual-Database-Service",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 13,
          "w": 24,
          "h": 24,
          "i": "2",
          "type": "Widget",
          "widget": {
            "title": "Slow Statements (ms)"
          },
          "graph": {
            "type": "TopList",
            "color": "purple"
          },
          "expressions": [
            "top_n(top_n_database_statement,10,des)"
          ],
          "relatedTrace": {
            "refIdType": "traceId"
          }
        },
        {
          "x": 6,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "3",
          "type": "Widget",
          "widget": {
            "title": "Database Access Successful Rate (%)",
            "name": "Successful_Rate"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "metricConfig": [
            {
              "label": "success_rate"
            }
          ],
          "associate": [
            {
              "widgetId": "5"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            }
          ],
          "expressions": [
            "database_access_sla/100"
          ]
        },
        {
          "x": 12,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "4",
          "type": "Widget",
          "widget": {
            "title": "Database Traffic (calls / min)",
            "name": "Database_Traffic"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "associate": [
            {
              "widgetId": "3"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            }
          ],
          "metricConfig": [
            {
              "label": "traffic"
            }
          ],
          "expressions": [
            "database_access_cpm"
          ]
        },
        {
          "x": 18,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "5",
          "type": "Widget",
          "widget": {
            "title": "Database Access Latency Percentile (ms)",
            "name": "Latency_Percentile"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "associate": [
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            }
          ],
          "expressions": [
            "relabels(database_access_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
          ]
        },
        {
          "x": 0,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "6",
          "type": "Widget",
          "widget": {
            "title": "Database Avg Response Time (ms)",
            "name": "Database_Avg_Response"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "associate": [
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            }
          ],
          "metricConfig": [
            {
              "label": "latency"
            }
          ],
          "expressions": [
            "database_access_resp_time"
          ]
        }
      ],
      "layer": "VIRTUAL_DATABASE",
      "entity": "Service",
      "name": "Virtual-Database-Service",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "avg(database_access_resp_time)",
        "avg(database_access_sla)/100",
        "avg(database_access_cpm)"
      ],
      "expressionsConfig": [
        {
          "unit": "ms",
          "label": "Latency"
        },
        {
          "unit": "%",
          "label": "Successful Rate"
        },
        {
          "unit": "calls / min",
          "label": "Traffic"
        }
      ]
    }
  }
]
