/**
 * 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": "Browser-app",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 24,
          "h": 52,
          "i": "12",
          "type": "Tab",
          "widget": {
            "title": "Title"
          },
          "graph": {},
          "metrics": [
            ""
          ],
          "metricTypes": [
            ""
          ],
          "activedTabIndex": 0,
          "children": [
            {
              "name": "Overview",
              "children": [
                {
                  "x": 8,
                  "y": 15,
                  "w": 8,
                  "h": 14,
                  "i": "2",
                  "type": "Widget",
                  "widget": {
                    "title": "Error Rate of Versions In The Selected App (%)"
                  },
                  "graph": {
                    "type": "TopList",
                    "topN": "10"
                  },
                  "metrics": [
                    "browser_app_single_version_error_rate"
                  ],
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "moved": false,
                  "metricConfig": [
                    {
                      "calculation": "percentage"
                    }
                  ]
                },
                {
                  "x": 0,
                  "y": 15,
                  "w": 8,
                  "h": 14,
                  "i": "3",
                  "type": "Widget",
                  "widget": {
                    "title": "Load of Versions In The Selected App (calls / min)"
                  },
                  "graph": {
                    "type": "TopList",
                    "topN": "10"
                  },
                  "metrics": [
                    "browser_app_single_version_pv"
                  ],
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "moved": false
                },
                {
                  "x": 16,
                  "y": 0,
                  "w": 8,
                  "h": 15,
                  "i": "5",
                  "type": "Widget",
                  "widget": {
                    "title": "App Error Count"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metrics": [
                    "browser_app_error_sum"
                  ],
                  "metricTypes": [
                    "readMetricsValues"
                  ],
                  "moved": false
                },
                {
                  "x": 0,
                  "y": 0,
                  "w": 8,
                  "h": 15,
                  "i": "7",
                  "type": "Widget",
                  "widget": {
                    "title": "App Load (calls / min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": false,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metrics": [
                    "browser_app_pv"
                  ],
                  "metricTypes": [
                    "readMetricsValues"
                  ],
                  "moved": false
                },
                {
                  "x": 8,
                  "y": 29,
                  "w": 8,
                  "h": 14,
                  "i": "10",
                  "type": "Widget",
                  "widget": {
                    "title": "Top Unstable Pages / Error Count"
                  },
                  "graph": {
                    "type": "TopList",
                    "color": "purple"
                  },
                  "metrics": [
                    "browser_app_page_error_sum"
                  ],
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "moved": false
                },
                {
                  "x": 8,
                  "y": 0,
                  "w": 8,
                  "h": 15,
                  "i": "11",
                  "type": "Widget",
                  "widget": {
                    "title": "App Error Rate (%)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": false,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metrics": [
                    "browser_app_error_rate"
                  ],
                  "metricTypes": [
                    "readMetricsValues"
                  ],
                  "moved": false,
                  "metricConfig": [
                    {
                      "calculation": "percentage"
                    }
                  ]
                },
                {
                  "x": 0,
                  "y": 29,
                  "w": 8,
                  "h": 14,
                  "i": "12",
                  "type": "Widget",
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "metrics": [
                    "browser_app_page_pv"
                  ],
                  "moved": false,
                  "widget": {
                    "title": "Top Hot Pages  (calls / min)"
                  },
                  "graph": {
                    "type": "TopList",
                    "color": "purple"
                  }
                },
                {
                  "x": 16,
                  "y": 29,
                  "w": 8,
                  "h": 14,
                  "i": "13",
                  "type": "Widget",
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "metrics": [
                    "browser_app_page_error_rate"
                  ],
                  "moved": false,
                  "widget": {
                    "title": "Top Unstable Pages / Error Rate (%)"
                  },
                  "graph": {
                    "type": "TopList",
                    "color": "purple"
                  },
                  "metricConfig": [
                    {
                      "calculation": "percentage"
                    }
                  ]
                },
                {
                  "x": 16,
                  "y": 15,
                  "w": 8,
                  "h": 14,
                  "i": "14",
                  "type": "Widget",
                  "metricTypes": [
                    "sortMetrics"
                  ],
                  "metrics": [
                    "browser_app_single_version_error_sum"
                  ],
                  "moved": false,
                  "widget": {
                    "title": "Error Count of Versions In The Selected App"
                  },
                  "graph": {
                    "type": "TopList",
                    "color": "purple"
                  }
                }
              ]
            },
            {
              "name": "Version",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 48,
                  "i": "0",
                  "type": "Widget",
                  "widget": {
                    "title": "Title"
                  },
                  "graph": {
                    "type": "InstanceList",
                    "dashboardName": "Browser-Version",
                    "fontSize": 12
                  },
                  "metrics": [
                    "browser_app_single_version_pv",
                    "browser_app_single_version_error_rage"
                  ],
                  "metricTypes": [
                    "readMetricsValues",
                    "readMetricsValues"
                  ],
                  "moved": false,
                  "metricConfig": [
                    {
                      "label": "PV",
                      "unit": "calls / min",
                      "calculation": "average"
                    },
                    {
                      "calculation": "percentageAvg",
                      "unit": "%",
                      "label": "Error Rate"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Page",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 49,
                  "i": "0",
                  "type": "Widget",
                  "widget": {
                    "title": "Title"
                  },
                  "graph": {
                    "type": "EndpointList",
                    "dashboardName": "Browser-Page",
                    "fontSize": 12,
                    "showXAxis": false,
                    "showYAxis": false
                  },
                  "metrics": [
                    "browser_app_page_pv",
                    "browser_app_page_error_rate"
                  ],
                  "metricTypes": [
                    "readMetricsValues",
                    "readMetricsValues"
                  ],
                  "moved": false,
                  "metricConfig": [
                    {
                      "label": "PV",
                      "unit": "calls / min",
                      "calculation": "average"
                    },
                    {
                      "calculation": "percentageAvg",
                      "unit": "%",
                      "label": "Error Rate"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Trace",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 48,
                  "i": "0",
                  "type": "Trace",
                  "metricTypes": [
                    ""
                  ],
                  "metrics": [
                    ""
                  ],
                  "moved": false
                }
              ]
            }
          ],
          "moved": false
        }
      ],
      "layer": "BROWSER",
      "entity": "Service",
      "name": "Browser-App",
      "id": "Browser-app",
      "isRoot": false
    }
  }
]
