/**
 * 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-Relation",
    "configuration": {
      "children": [
        {
          "x": 12,
          "y": 12,
          "w": 12,
          "h": 12,
          "i": "1",
          "type": "Widget",
          "widget": {
            "title": "Response Time Percentile (Client) (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_percentile"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "key": "P50, P75, P90, P95, P99",
              "labelsIndex": "0,1,2,3,4",
              "label": "P50, P75, P90, P95, P99"
            }
          ]
        },
        {
          "x": 0,
          "y": 24,
          "w": 12,
          "h": 12,
          "i": "2",
          "type": "Widget",
          "widget": {
            "title": "Success Rate (Client) (%)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_call_sla"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "percentage"
            }
          ]
        },
        {
          "x": 12,
          "y": 36,
          "w": 12,
          "h": 12,
          "i": "3",
          "type": "Widget",
          "widget": {
            "title": "Load (Client) (calls / min)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_cpm"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 0,
          "y": 12,
          "w": 12,
          "h": 12,
          "i": "4",
          "type": "Widget",
          "widget": {
            "title": "Response Time (Client) (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_resp_time"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 12,
          "y": 0,
          "w": 12,
          "h": 12,
          "i": "5",
          "type": "Widget",
          "widget": {
            "title": "Response Time Percentile (Server) (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_server_percentile"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "key": "P50, P75, P90, P95, P99",
              "labelsIndex": "0,1,2,3,4",
              "label": "P50, P75, P90, P95, P99"
            }
          ]
        },
        {
          "x": 0,
          "y": 36,
          "w": 12,
          "h": 12,
          "i": "6",
          "type": "Widget",
          "widget": {
            "title": "Success Rate (Server) (%)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_server_call_sla"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "percentage"
            }
          ]
        },
        {
          "x": 12,
          "y": 24,
          "w": 12,
          "h": 12,
          "i": "7",
          "type": "Widget",
          "widget": {
            "title": "Load (Server) (calls / min)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_server_cpm"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 0,
          "y": 0,
          "w": 12,
          "h": 12,
          "i": "8",
          "type": "Widget",
          "widget": {
            "title": "Response Time (Server) (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_server_resp_time"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false
        }
      ],
      "layer": "FAAS",
      "entity": "ServiceInstanceRelation",
      "name": "FaaS-Instance-Relation",
      "id": "FaaS-Instance-Relation",
      "isRoot": false
    }
  }
]