[
  {
    "id": "MongoDB-Node",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "0",
          "type": "Widget",
          "graph": {
            "type": "Card",
            "fontSize": 30,
            "textAlign": "center",
            "showUnit": true
          },
          "metricConfig": [
            {
              "unit": "day"
            }
          ],
          "widget": {
            "title": "Uptime"
          },
          "expressions": [
            "latest(meter_mongodb_node_uptime)/3600/24"
          ]
        },
        {
          "x": 4,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "1",
          "type": "Widget",
          "graph": {
            "type": "Card",
            "fontSize": 30,
            "textAlign": "center",
            "showUnit": true
          },
          "widget": {
            "title": "QPS"
          },
          "expressions": [
            "avg(meter_mongodb_node_qps)"
          ]
        },
        {
          "x": 8,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "2",
          "type": "Widget",
          "graph": {
            "type": "Card",
            "fontSize": 30,
            "textAlign": "center",
            "showUnit": true
          },
          "widget": {
            "title": "Latency"
          },
          "expressions": [
            "avg(aggregate_labels(meter_mongodb_node_latency_rate,sum)/aggregate_labels(meter_mongodb_node_op_rate,sum))"
          ],
          "metricConfig": [
            {
              "unit": "µs"
            }
          ]
        },
        {
          "x": 12,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "3",
          "type": "Widget",
          "metricConfig": [
            {
              "unit": "%"
            }
          ],
          "graph": {
            "type": "Card",
            "fontSize": 30,
            "textAlign": "center",
            "showUnit": true
          },
          "widget": {
            "title": "Memory Usage"
          },
          "expressions": [
            "avg(meter_mongodb_node_memory_usage)"
          ]
        },
        {
          "x": 16,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "4",
          "type": "Widget",
          "graph": {
            "type": "Table",
            "showTableValues": false,
            "tableHeaderCol1": "Version",
            "tableHeaderCol2": ""
          },
          "widget": {
            "title": "Version"
          },
          "expressions": [
            "meter_mongodb_node_version"
          ]
        },
        {
          "x": 20,
          "y": 0,
          "w": 4,
          "h": 7,
          "i": "5",
          "type": "Widget",
          "graph": {
            "type": "Table",
            "showTableValues": false,
            "tableHeaderCol1": "ReplSet State",
            "tableHeaderCol2": ""
          },
          "widget": {
            "title": "ReplSet State"
          },
          "expressions": [
            "meter_mongodb_node_rs_state"
          ]
        },
        {
          "x": 0,
          "y": 7,
          "w": 6,
          "h": 12,
          "i": "6",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_cpu_total_percentage"
          ],
          "metricConfig": [
            {
              "label": "CPU usage"
            }
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "CPU Usage (%)"
          }
        },
        {
          "x": 6,
          "y": 7,
          "w": 6,
          "h": 12,
          "i": "7",
          "type": "Widget",
          "metricConfig": [
            {
              "label": "in"
            },
            {
              "label": "out"
            }
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Network (KB/s)"
          },
          "expressions": [
            "meter_mongodb_node_network_bytes_in/1024",
            "meter_mongodb_node_network_bytes_out/1024"
          ]
        },
        {
          "x": 12,
          "y": 7,
          "w": 6,
          "h": 12,
          "i": "8",
          "type": "Widget",
          "metricConfig": [
            {
              "label": "Mem"
            },
            {
              "label": "Swap"
            }
          ],
          "graph": {
            "type": "Bar",
            "showBackground": true
          },
          "widget": {
            "title": "Memory Free (GB)"
          },
          "expressions": [
            "meter_mongodb_node_memory_free_kb/1024/1024",
            "meter_mongodb_node_swap_memory_free_kb/1024/1024"
          ]
        },
        {
          "x": 18,
          "y": 7,
          "w": 6,
          "h": 12,
          "i": "9",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_fs_used_size/1024/1024/1024",
            "meter_mongodb_node_fs_total_size/1024/1024/1024"
          ],
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metricConfig": [
            {
              "label": "used"
            },
            {
              "label": "total"
            }
          ],
          "widget": {
            "title": "Disk (GB)"
          }
        },
        {
          "x": 0,
          "y": 19,
          "w": 8,
          "h": 12,
          "i": "10",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true,
            "legend": {
              "show": false,
              "asTable": false
            }
          },
          "widget": {
            "title": "Connections"
          },
          "expressions": [
            "meter_mongodb_node_connections"
          ],
          "metricConfig": [
            {
              "label": "connections"
            }
          ]
        },
        {
          "x": 8,
          "y": 19,
          "w": 8,
          "h": 12,
          "i": "11",
          "type": "Widget",
          "metricConfig": [
            {
              "label": "total"
            },
            {
              "label": "writer"
            },
            {
              "label": "reader"
            }
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Active Client"
          },
          "expressions": [
            "meter_mongodb_node_active_total_num",
            "meter_mongodb_node_active_writer_num",
            "meter_mongodb_node_active_reader_num"
          ]
        },
        {
          "x": 16,
          "y": 19,
          "w": 8,
          "h": 12,
          "i": "12",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_transactions_active",
            "meter_mongodb_node_transactions_inactive"
          ],
          "metricConfig": [
            {
              "label": "active"
            },
            {
              "label": "inactive"
            }
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Transactions"
          }
        },
        {
          "x": 0,
          "y": 31,
          "w": 8,
          "h": 12,
          "i": "13",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Document QPS"
          },
          "expressions": [
            "meter_mongodb_node_document_qps"
          ]
        },
        {
          "x": 8,
          "y": 31,
          "w": 8,
          "h": 12,
          "i": "14",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true,
            "legend": {
              "asTable": false
            }
          },
          "widget": {
            "title": "Operation QPS"
          },
          "associate": [],
          "expressions": [
            "meter_mongodb_node_operation_qps"
          ]
        },
        {
          "x": 16,
          "y": 31,
          "w": 8,
          "h": 12,
          "i": "15",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_repl_operation_qps"
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Repl Operation QPS"
          }
        },
        {
          "x": 0,
          "y": 43,
          "w": 6,
          "h": 12,
          "i": "16",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true,
            "legend": {
              "asTable": false
            }
          },
          "widget": {
            "title": "Operation Latency (µs)"
          },
          "expressions": [
            "aggregate_labels(meter_mongodb_node_latency_rate,sum(op_type))/aggregate_labels(meter_mongodb_node_op_rate,sum(op_type))"
          ]
        },
        {
          "x": 6,
          "y": 43,
          "w": 6,
          "h": 12,
          "i": "17",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true,
            "legend": {
              "show": true,
              "asTable": false
            }
          },
          "widget": {
            "title": "Cursor"
          },
          "expressions": [
            "meter_mongodb_node_cursor"
          ]
        },
        {
          "x": 12,
          "y": 43,
          "w": 6,
          "h": 12,
          "i": "18",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_mem_virtual",
            "meter_mongodb_node_mem_resident"
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Server Status Memory (MB)"
          },
          "metricConfig": [
            {
              "label": "virtual"
            },
            {
              "label": "resident"
            }
          ]
        },
        {
          "x": 18,
          "y": 43,
          "w": 6,
          "h": 12,
          "i": "19",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Asserts"
          },
          "expressions": [
            "meter_mongodb_node_asserts"
          ]
        },
        {
          "x": 0,
          "y": 55,
          "w": 8,
          "h": 12,
          "i": "20",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_repl_buffer_count"
          ],
          "metricConfig": [
            {
              "label": "repl buffer count"
            }
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Repl Buffer Count"
          }
        },
        {
          "x": 8,
          "y": 55,
          "w": 8,
          "h": 12,
          "i": "21",
          "type": "Widget",
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Repl Buffer Size (MB)"
          },
          "expressions": [
            "meter_mongodb_node_repl_buffer_size/1024/1024",
            "meter_mongodb_node_repl_buffer_size_max/1024/1024"
          ],
          "metricConfig": [
            {
              "label": "current"
            },
            {
              "label": "max"
            }
          ]
        },
        {
          "x": 16,
          "y": 55,
          "w": 8,
          "h": 12,
          "i": "22",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "Queued Operation"
          },
          "expressions": [
            "meter_mongodb_node_queued_operation"
          ]
        },
        {
          "x": 0,
          "y": 67,
          "w": 12,
          "h": 12,
          "i": "23",
          "type": "Widget",
          "expressions": [
            "meter_mongodb_node_write_wait_num",
            "meter_mongodb_node_write_wait_timeout_num"
          ],
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "getLastError Write Num"
          },
          "metricConfig": [
            {
              "label": "total"
            },
            {
              "label": "timeout"
            }
          ]
        },
        {
          "x": 12,
          "y": 67,
          "w": 12,
          "h": 12,
          "i": "24",
          "type": "Widget",
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_mongodb_node_write_wait_time"
          ],
          "metricConfig": [
            {
              "label": "write wait time"
            }
          ],
          "widget": {
            "title": "getLastError Write Time (ms)"
          }
        }
      ],
      "layer": "MONGODB",
      "entity": "ServiceInstance",
      "name": "MongoDB-Node",
      "id": "MongoDB-Node",
      "isRoot": false
    }
  }
]
