[
  {
    "id": "Self-Observability-OAP-Instance",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 24,
          "h": 59,
          "i": "16",
          "type": "Tab",
          "children": [
            {
              "name": "Status",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "14",
                  "type": "Widget",
                  "widget": {
                    "title": "CPU (%)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "meter_oap_instance_cpu_percentage"
                  ]
                },
                {
                  "x": 6,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "1",
                  "type": "Widget",
                  "widget": {
                    "title": "Memory (MB)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "meter_oap_instance_jvm_memory_bytes_used/1024/1024"
                  ]
                },
                {
                  "x": 12,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "0",
                  "type": "Widget",
                  "widget": {
                    "title": "GC Count (Per Minute)"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "expressions": [
                    "meter_oap_instance_jvm_gc_count"
                  ]
                },
                {
                  "x": 18,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "2",
                  "type": "Widget",
                  "widget": {
                    "title": "GC Time (ms / min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "meter_oap_instance_jvm_gc_time"
                  ]
                },
                {
                  "x": 0,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "11",
                  "type": "Widget",
                  "widget": {
                    "title": "Aggregation (Per Minute)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "meter_oap_instance_metrics_aggregation"
                  ]
                },
                {
                  "x": 6,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "6",
                  "type": "Widget",
                  "widget": {
                    "title": "Persistence Count (Per Minutes)"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metricConfig": [
                    {
                      "label": "prepare_count"
                    },
                    {
                      "label": "execute_count"
                    }
                  ],
                  "expressions": [
                    "meter_oap_instance_persistence_prepare_count",
                    "meter_oap_instance_persistence_execute_count"
                  ]
                },
                {
                  "x": 12,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "9",
                  "type": "Widget",
                  "widget": {
                    "title": "Persistence Preparing Latency Per Metric Type (ms / 5min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "relabels(meter_oap_instance_persistence_prepare_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                },
                {
                  "x": 18,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "8",
                  "type": "Widget",
                  "widget": {
                    "title": "Persistence Execution Latency Per Metric Type (ms / 5min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "relabels(meter_oap_instance_persistence_execute_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                },
                {
                  "x": 0,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "15",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Metrics Persistent Cache Count(Per Minute)"
                  },
                  "expressions": [
                    "meter_oap_instance_metrics_persistent_cache"
                  ]
                },
                {
                  "x": 6,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "7",
                  "type": "Widget",
                  "widget": {
                    "title": "Thread Count"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metricConfig": [
                    {
                      "label": "live"
                    },
                    {
                      "label": "peak"
                    },
                    {
                      "label": "daemon"
                    }
                  ],
                  "expressions": [
                    "meter_oap_jvm_thread_live_count",
                    "meter_oap_jvm_thread_peak_count",
                    "meter_oap_jvm_thread_daemon_count"
                  ]
                },
                {
                  "x": 12,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "10",
                  "type": "Widget",
                  "widget": {
                    "title": "Thread State Count"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metricConfig": [
                    {
                      "label": "runnable"
                    },
                    {
                      "label": "timed_waiting"
                    },
                    {
                      "label": "blocked"
                    },
                    {
                      "label": "waiting"
                    }
                  ],
                  "expressions": [
                    "meter_oap_jvm_thread_runnable_count",
                    "meter_oap_jvm_thread_timed_waiting_count",
                    "meter_oap_jvm_thread_blocked_count",
                    "meter_oap_jvm_thread_waiting_count"
                  ]
                },
                {
                  "x": 18,
                  "y": 26,
                  "w": 6,
                  "h": 13,
                  "i": "5",
                  "type": "Widget",
                  "widget": {
                    "title": "Class Count"
                  },
                  "graph": {
                    "type": "Area",
                    "opacity": 0.4,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "metricConfig": [
                    {
                      "label": "loaded"
                    },
                    {
                      "label": "total_unloaded"
                    },
                    {
                      "label": "total_loaded"
                    }
                  ],
                  "expressions": [
                    "meter_oap_jvm_class_loaded_count",
                    "meter_oap_jvm_class_total_unloaded_count",
                    "meter_oap_jvm_class_total_loaded_count"
                  ]
                }
              ]
            },
            {
              "name": "Inbound Traffic",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "13",
                  "type": "Widget",
                  "widget": {
                    "title": "Trace Analysis Count (Per Minute)"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metricConfig": [
                    {
                      "label": "count"
                    },
                    {
                      "label": "error_count"
                    }
                  ],
                  "expressions": [
                    "meter_oap_instance_trace_count",
                    "meter_oap_instance_trace_analysis_error_count"
                  ]
                },
                {
                  "x": 6,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "4",
                  "type": "Widget",
                  "widget": {
                    "title": "Trace Analysis Latency (ms / min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "relabels(meter_oap_instance_trace_latency_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                },
                {
                  "x": 12,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "3",
                  "type": "Widget",
                  "widget": {
                    "title": "Mesh Analysis Count (Per Minute)"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metricConfig": [
                    {
                      "label": "count"
                    },
                    {
                      "label": "error_count"
                    }
                  ],
                  "expressions": [
                    "meter_oap_instance_mesh_count",
                    "meter_oap_instance_mesh_analysis_error_count"
                  ]
                },
                {
                  "x": 18,
                  "y": 0,
                  "w": 6,
                  "h": 13,
                  "i": "12",
                  "type": "Widget",
                  "widget": {
                    "title": "Mesh Analysis Latency (ms / min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "relabels(meter_oap_instance_mesh_latency_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                },
                {
                  "x": 0,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "17",
                  "type": "Widget",
                  "widget": {
                    "title": "K8S ALS Analysis Count (Per Minute)"
                  },
                  "graph": {
                    "type": "Bar",
                    "showBackground": true
                  },
                  "metricConfig": [
                    {
                      "label": "count"
                    },
                    {
                      "label": "drop_count"
                    }
                  ],
                  "expressions": [
                    "meter_oap_instance_k8s_als_count",
                    "meter_oap_instance_k8s_als_drop"
                  ]
                },
                {
                  "x": 6,
                  "y": 13,
                  "w": 6,
                  "h": 13,
                  "i": "18",
                  "type": "Widget",
                  "widget": {
                    "title": "K8S ALS Analysis Latency (ms / min)"
                  },
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "expressions": [
                    "relabels(meter_oap_instance_k8s_als_latency_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
                  ]
                }
              ]
            }
          ]
        }
      ],
      "layer": "SO11Y_OAP",
      "entity": "ServiceInstance",
      "name": "Self-Observability-OAP-Instance",
      "id": "Self-Observability-OAP-Instance",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "avg(meter_oap_instance_cpu_percentage)",
        "avg(meter_oap_instance_persistence_execute_count)"
      ],
      "expressionsConfig": [
        {
          "unit": "%",
          "label": "CPU Avg Usage"
        },
        {
          "unit": "count / 5min",
          "label": "Persistence Count"
        }
      ]
    }
  }
]
