Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

22.8 KB
Raw Blame
{
  "schemaVersion": "v6",
  "image": "",
  "name": "",
  "generateName": true,
  "tags": [
    {
      "key": "tag",
      "value": "mongo"
    },
    {
      "key": "tag",
      "value": "database"
    }
  ],
  "spec": {
    "display": {
      "name": "Mongo overview",
      "description": "This dashboard provides a high-level overview of your MongoDB. It includes read/write performance, most-used replicas, collection metrics etc..."
    },
    "variables": [
      {
        "kind": "ListVariable",
        "spec": {
          "display": {
            "name": "host.name",
            "description": "List of hosts sending mongo metrics"
          },
          "allowAllValue": true,
          "allowMultiple": true,
          "customAllValue": "",
          "capturingRegexp": "",
          "sort": "alphabetical-asc",
          "plugin": {
            "kind": "signoz/QueryVariable",
            "spec": {
              "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mongodb_memory_usage'\nGROUP BY `host.name`"
            }
          },
          "name": "host.name"
        }
      }
    ],
    "panels": {
      "0c3d2b15-89be-4d62-a821-b26d93332ed3": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Network IO",
            "description": ""
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "bytes",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "plugin": {
                  "kind": "signoz/CompositeQuery",
                  "spec": {
                    "queries": [
                      {
                        "type": "builder_query",
                        "spec": {
                          "name": "A",
                          "stepInterval": 60,
                          "signal": "metrics",
                          "source": "",
                          "aggregations": [
                            {
                              "metricName": "mongodb.network.io.receive",
                              "temporality": "",
                              "timeAggregation": "avg",
                              "spaceAggregation": "avg",
                              "reduceTo": "sum"
                            }
                          ],
                          "disabled": false,
                          "filter": {
                            "expression": "host.name IN $host.name"
                          },
                          "groupBy": [
                            {
                              "name": "host.name",
                              "signal": "",
                              "fieldContext": "attribute",
                              "fieldDataType": "string"
                            }
                          ],
                          "order": [],
                          "having": {
                            "expression": ""
                          },
                          "legend": "Bytes received :: {{host.name}}"
                        }
                      },
                      {
                        "type": "builder_query",
                        "spec": {
                          "name": "B",
                          "stepInterval": 60,
                          "signal": "metrics",
                          "source": "",
                          "aggregations": [
                            {
                              "metricName": "mongodb.network.io.transmit",
                              "temporality": "",
                              "timeAggregation": "avg",
                              "spaceAggregation": "avg",
                              "reduceTo": "sum"
                            }
                          ],
                          "disabled": false,
                          "filter": {
                            "expression": "host.name IN $host.name"
                          },
                          "groupBy": [
                            {
                              "name": "host.name",
                              "signal": "",
                              "fieldContext": "attribute",
                              "fieldDataType": "string"
                            }
                          ],
                          "order": [],
                          "having": {
                            "expression": ""
                          },
                          "legend": "Bytes transmitted :: {{host.name}}"
                        }
                      }
                    ]
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "14504a3c-4a05-4d22-bab3-e22e94f51380": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Read latency",
            "description": ""
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "µs",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.operation.latency.time",
                        "temporality": "",
                        "timeAggregation": "max",
                        "spaceAggregation": "max",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "(operation = 'read' AND host.name IN $host.name)"
                    },
                    "groupBy": [],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "Latency"
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "4c07a7d2-893a-46c2-bcdb-a19b6efeac3a": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Operations count",
            "description": "Total number of operations"
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "none",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.operation.count",
                        "temporality": "",
                        "timeAggregation": "rate",
                        "spaceAggregation": "sum",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "host.name IN $host.name"
                    },
                    "groupBy": [
                      {
                        "name": "operation",
                        "signal": "",
                        "fieldContext": "attribute",
                        "fieldDataType": "string"
                      }
                    ],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "{{operation}}"
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "503af589-ef4d-4fe3-8934-c8f7eb480d9a": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Command latency",
            "description": ""
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "µs",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.operation.latency.time",
                        "temporality": "",
                        "timeAggregation": "max",
                        "spaceAggregation": "max",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "(host.name IN $host.name AND operation = 'command')"
                    },
                    "groupBy": [],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "Latency"
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "a5a64eec-1034-4aa6-8cb1-05673c4426c6": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Write latency",
            "description": ""
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "µs",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.operation.latency.time",
                        "temporality": "",
                        "timeAggregation": "max",
                        "spaceAggregation": "max",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "(host.name IN $host.name AND operation = 'write')"
                    },
                    "groupBy": [],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "Latency"
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "bfc9e80b-02bf-4122-b3da-3dd943d35012": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Total operations time",
            "description": "The total time spent performing operations."
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "ms",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.operation.time",
                        "temporality": "",
                        "timeAggregation": "rate",
                        "spaceAggregation": "sum",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "host.name IN $host.name"
                    },
                    "groupBy": [
                      {
                        "name": "operation",
                        "signal": "",
                        "fieldContext": "attribute",
                        "fieldDataType": "string"
                      }
                    ],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "{{operation}}"
                  }
                }
              }
            }
          ],
          "links": []
        }
      },
      "dcfb3829-c3f2-44bb-907d-8dc8a6dc4aab": {
        "kind": "Panel",
        "spec": {
          "display": {
            "name": "Cache operations",
            "description": "The number of cache operations"
          },
          "plugin": {
            "kind": "signoz/TimeSeriesPanel",
            "spec": {
              "visualization": {
                "timePreference": "global_time",
                "fillSpans": false
              },
              "formatting": {
                "unit": "none",
                "decimalPrecision": "2"
              },
              "chartAppearance": {
                "lineInterpolation": "spline",
                "showPoints": false,
                "lineStyle": "solid",
                "fillMode": "none",
                "spanGaps": {
                  "fillOnlyBelow": false,
                  "fillLessThan": ""
                }
              },
              "axes": {
                "softMin": null,
                "softMax": null,
                "isLogScale": false
              },
              "legend": {
                "position": "bottom",
                "mode": "list",
                "customColors": null
              },
              "thresholds": null
            }
          },
          "queries": [
            {
              "kind": "time_series",
              "spec": {
                "name": "A",
                "plugin": {
                  "kind": "signoz/BuilderQuery",
                  "spec": {
                    "name": "A",
                    "stepInterval": 60,
                    "signal": "metrics",
                    "source": "",
                    "aggregations": [
                      {
                        "metricName": "mongodb.cache.operations",
                        "temporality": "",
                        "timeAggregation": "rate",
                        "spaceAggregation": "sum",
                        "reduceTo": "sum"
                      }
                    ],
                    "disabled": false,
                    "filter": {
                      "expression": "host.name IN $host.name"
                    },
                    "groupBy": [
                      {
                        "name": "type",
                        "signal": "",
                        "fieldContext": "attribute",
                        "fieldDataType": "string"
                      }
                    ],
                    "order": [],
                    "having": {
                      "expression": ""
                    },
                    "legend": "{{type}}"
                  }
                }
              }
            }
          ],
          "links": []
        }
      }
    },
    "layouts": [
      {
        "kind": "Grid",
        "spec": {
          "items": [
            {
              "x": 0,
              "y": 0,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/4c07a7d2-893a-46c2-bcdb-a19b6efeac3a"
              }
            },
            {
              "x": 6,
              "y": 0,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/bfc9e80b-02bf-4122-b3da-3dd943d35012"
              }
            },
            {
              "x": 0,
              "y": 3,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/dcfb3829-c3f2-44bb-907d-8dc8a6dc4aab"
              }
            },
            {
              "x": 6,
              "y": 3,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/0c3d2b15-89be-4d62-a821-b26d93332ed3"
              }
            },
            {
              "x": 0,
              "y": 6,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/14504a3c-4a05-4d22-bab3-e22e94f51380"
              }
            },
            {
              "x": 6,
              "y": 6,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/a5a64eec-1034-4aa6-8cb1-05673c4426c6"
              }
            },
            {
              "x": 0,
              "y": 9,
              "width": 6,
              "height": 3,
              "content": {
                "$ref": "#/spec/panels/503af589-ef4d-4fe3-8934-c8f7eb480d9a"
              }
            }
          ]
        }
      }
    ],
    "duration": "",
    "refreshInterval": "",
    "links": []
  }
}