mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-03 17:36:29 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			1843 lines
		
	
	
		
			45 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			1843 lines
		
	
	
		
			45 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "__inputs": [
 | 
						|
    {
 | 
						|
      "name": "DS_PROMETHEUS",
 | 
						|
      "label": "prometheus",
 | 
						|
      "description": "",
 | 
						|
      "type": "datasource",
 | 
						|
      "pluginId": "prometheus",
 | 
						|
      "pluginName": "Prometheus"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "__elements": {},
 | 
						|
  "__requires": [
 | 
						|
    {
 | 
						|
      "type": "panel",
 | 
						|
      "id": "gauge",
 | 
						|
      "name": "Gauge",
 | 
						|
      "version": ""
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "grafana",
 | 
						|
      "id": "grafana",
 | 
						|
      "name": "Grafana",
 | 
						|
      "version": "10.4.1"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "panel",
 | 
						|
      "id": "heatmap",
 | 
						|
      "name": "Heatmap",
 | 
						|
      "version": ""
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "datasource",
 | 
						|
      "id": "prometheus",
 | 
						|
      "name": "Prometheus",
 | 
						|
      "version": "1.0.0"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "panel",
 | 
						|
      "id": "timeseries",
 | 
						|
      "name": "Time series",
 | 
						|
      "version": ""
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "annotations": {
 | 
						|
    "list": [
 | 
						|
      {
 | 
						|
        "builtIn": 1,
 | 
						|
        "datasource": {
 | 
						|
          "type": "datasource",
 | 
						|
          "uid": "grafana"
 | 
						|
        },
 | 
						|
        "enable": true,
 | 
						|
        "hide": true,
 | 
						|
        "iconColor": "rgba(0, 211, 255, 1)",
 | 
						|
        "name": "Annotations & Alerts",
 | 
						|
        "target": {
 | 
						|
          "limit": 100,
 | 
						|
          "matchAny": false,
 | 
						|
          "tags": [],
 | 
						|
          "type": "dashboard"
 | 
						|
        },
 | 
						|
        "type": "dashboard"
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "editable": true,
 | 
						|
  "fiscalYearStartMonth": 0,
 | 
						|
  "graphTooltip": 0,
 | 
						|
  "id": null,
 | 
						|
  "links": [],
 | 
						|
  "liveNow": false,
 | 
						|
  "panels": [
 | 
						|
    {
 | 
						|
      "collapsed": false,
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus"
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 1,
 | 
						|
        "w": 24,
 | 
						|
        "x": 0,
 | 
						|
        "y": 0
 | 
						|
      },
 | 
						|
      "id": 14,
 | 
						|
      "panels": [],
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus"
 | 
						|
          },
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Web application metrics",
 | 
						|
      "type": "row"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "fixedColor": "purple",
 | 
						|
            "mode": "fixed"
 | 
						|
          },
 | 
						|
          "decimals": 0,
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "none"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 0,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 22,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_index_count{job=\"$job\", instance=\"$instance\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Indexes Count",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "thresholds"
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 4,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 18,
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "expr": "meilisearch_index_docs_count{job=\"$job\", index=\"$Index\", instance=\"$instance\"}",
 | 
						|
          "hide": false,
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Total Documents",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "thresholds"
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 8,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 26,
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "round(increase(meilisearch_degraded_search_requests{job=\"$job\"}[1h]))",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Total Degraded Searches (1h)",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "thresholds"
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 12,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 19,
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "round(increase(meilisearch_http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"$job\"}[1h]))",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Total Searches (1h)",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "thresholds"
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 16,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 20,
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "round(increase(meilisearch_http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"$job\"}[24h]))",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Total Searches (24h)",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "thresholds"
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 6,
 | 
						|
        "w": 4,
 | 
						|
        "x": 20,
 | 
						|
        "y": 1
 | 
						|
      },
 | 
						|
      "id": 21,
 | 
						|
      "options": {
 | 
						|
        "minVizHeight": 75,
 | 
						|
        "minVizWidth": 75,
 | 
						|
        "orientation": "auto",
 | 
						|
        "reduceOptions": {
 | 
						|
          "calcs": [
 | 
						|
            "lastNotNull"
 | 
						|
          ],
 | 
						|
          "fields": "",
 | 
						|
          "values": false
 | 
						|
        },
 | 
						|
        "showThresholdLabels": false,
 | 
						|
        "showThresholdMarkers": true,
 | 
						|
        "sizing": "auto",
 | 
						|
        "text": {}
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "round(increase(meilisearch_http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"$job\"}[30d]))",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Total Searches (30d)",
 | 
						|
      "type": "gauge"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "description": "",
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 25,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineStyle": {
 | 
						|
              "fill": "solid"
 | 
						|
            },
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "auto",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "min": 0,
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "bytes"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 0,
 | 
						|
        "y": 7
 | 
						|
      },
 | 
						|
      "id": 2,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "bottom",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "9.5.2",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_db_size_bytes{job=\"$job\", instance=\"$instance\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "Database size on disk",
 | 
						|
          "range": true,
 | 
						|
          "refId": "DB Size on disk"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "expr": "meilisearch_used_db_size_bytes{job=\"$job\", instance=\"$instance\"}",
 | 
						|
          "hide": false,
 | 
						|
          "legendFormat": "Used bytes",
 | 
						|
          "range": true,
 | 
						|
          "refId": "Actual used bytes"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Database Size in bytes",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "continuous-YlBl"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "s"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 12,
 | 
						|
        "y": 7
 | 
						|
      },
 | 
						|
      "id": 3,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "8.1.4",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "rate(meilisearch_http_response_time_seconds_sum{instance=\"$instance\", job=\"$job\"}[5m]) / rate(meilisearch_http_response_time_seconds_count[5m])",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{method}} {{path}}",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Mean response time (All Indexes)",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "description": "number of requests per second, faceted by its HTTP status code",
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 0,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "auto",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 0,
 | 
						|
        "y": 18
 | 
						|
      },
 | 
						|
      "id": 27,
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "code",
 | 
						|
          "expr": "sum(rate(meilisearch_http_requests_total{instance=~\"$instance\",job=~\"$job\"} [$__rate_interval])) by (status)",
 | 
						|
          "instant": false,
 | 
						|
          "legendFormat": "HTTP Server - {{status}}",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Request Rate",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "description": "percentage of 4xx and 5xx HTTP responses over the total of the requests",
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 0,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "auto",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green",
 | 
						|
                "value": null
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 12,
 | 
						|
        "y": 18
 | 
						|
      },
 | 
						|
      "id": 28,
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "code",
 | 
						|
          "expr": "sum by (status) (rate(meilisearch_http_requests_total{status=~\"(4|5).*\",instance=~\"$instance\",job=~\"$job\"}[$__rate_interval])) / ignoring(status) group_left sum(rate(meilisearch_http_requests_total{instance=~\"$instance\",job=~\"$job\"}[$__rate_interval]))",
 | 
						|
          "instant": false,
 | 
						|
          "legendFormat": "HTTP Server - {{status}}",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Error Rate",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "continuous-YlBl"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "decimals": 2,
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 0,
 | 
						|
        "y": 29
 | 
						|
      },
 | 
						|
      "id": 1,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "rate(meilisearch_http_requests_total{instance=\"$instance\", job=\"$job\"}[5m])",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{method}} {{path}}",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "HTTP requests per second (All Indexes)",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "cards": {},
 | 
						|
      "color": {
 | 
						|
        "cardColor": "#b4ff00",
 | 
						|
        "colorScale": "sqrt",
 | 
						|
        "colorScheme": "interpolateBlues",
 | 
						|
        "exponent": 0.5,
 | 
						|
        "mode": "spectrum"
 | 
						|
      },
 | 
						|
      "dataFormat": "tsbuckets",
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "custom": {
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 12,
 | 
						|
        "y": 29
 | 
						|
      },
 | 
						|
      "heatmap": {},
 | 
						|
      "hideZeroBuckets": false,
 | 
						|
      "highlightCards": true,
 | 
						|
      "id": 16,
 | 
						|
      "legend": {
 | 
						|
        "show": false
 | 
						|
      },
 | 
						|
      "options": {
 | 
						|
        "calculate": false,
 | 
						|
        "calculation": {},
 | 
						|
        "cellGap": 2,
 | 
						|
        "cellValues": {},
 | 
						|
        "color": {
 | 
						|
          "exponent": 0.4,
 | 
						|
          "fill": "#b4ff00",
 | 
						|
          "mode": "scheme",
 | 
						|
          "reverse": false,
 | 
						|
          "scale": "exponential",
 | 
						|
          "scheme": "Blues",
 | 
						|
          "steps": 128
 | 
						|
        },
 | 
						|
        "exemplars": {
 | 
						|
          "color": "rgba(255,0,255,0.7)"
 | 
						|
        },
 | 
						|
        "filterValues": {
 | 
						|
          "le": 1e-9
 | 
						|
        },
 | 
						|
        "legend": {
 | 
						|
          "show": false
 | 
						|
        },
 | 
						|
        "rowsFrame": {
 | 
						|
          "layout": "auto"
 | 
						|
        },
 | 
						|
        "showValue": "never",
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "showColorScale": false,
 | 
						|
          "yHistogram": false
 | 
						|
        },
 | 
						|
        "yAxis": {
 | 
						|
          "axisPlacement": "left",
 | 
						|
          "decimals": 0,
 | 
						|
          "reverse": false,
 | 
						|
          "unit": "s"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "10.4.1",
 | 
						|
      "reverseYBuckets": false,
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "sum by(le) (increase(meilisearch_http_response_time_seconds_bucket{path=\"/indexes/$Index/search\", instance=\"$instance\", job=\"$job\"}[30s]))",
 | 
						|
          "format": "heatmap",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{le}}",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Response time distribution over time (`POST /indexes/:index/search`)",
 | 
						|
      "tooltip": {
 | 
						|
        "show": true,
 | 
						|
        "showHistogram": false
 | 
						|
      },
 | 
						|
      "type": "heatmap",
 | 
						|
      "xAxis": {
 | 
						|
        "show": true
 | 
						|
      },
 | 
						|
      "xBucketNumber": 10,
 | 
						|
      "yAxis": {
 | 
						|
        "decimals": 2,
 | 
						|
        "format": "s",
 | 
						|
        "logBase": 1,
 | 
						|
        "show": true
 | 
						|
      },
 | 
						|
      "yBucketBound": "auto",
 | 
						|
      "yBucketNumber": 10
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "none"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 0,
 | 
						|
        "y": 40
 | 
						|
      },
 | 
						|
      "id": 23,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "8.1.4",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_nb_tasks{instance=\"$instance\", job=\"$job\", kind=\"statuses\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{value}} ",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Number of tasks by statuses",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "none"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 12,
 | 
						|
        "y": 40
 | 
						|
      },
 | 
						|
      "id": 24,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "8.1.4",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_nb_tasks{instance=\"$instance\", job=\"$job\", kind=\"types\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{value}} ",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Number of tasks by types",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "none"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 0,
 | 
						|
        "y": 51
 | 
						|
      },
 | 
						|
      "id": 25,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "8.1.4",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_nb_tasks{instance=\"$instance\", job=\"$job\", kind=\"indexes\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{value}} ",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Number of tasks by indexes",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "${DS_PROMETHEUS}"
 | 
						|
      },
 | 
						|
      "fieldConfig": {
 | 
						|
        "defaults": {
 | 
						|
          "color": {
 | 
						|
            "mode": "palette-classic"
 | 
						|
          },
 | 
						|
          "custom": {
 | 
						|
            "axisBorderShow": false,
 | 
						|
            "axisCenteredZero": false,
 | 
						|
            "axisColorMode": "text",
 | 
						|
            "axisLabel": "",
 | 
						|
            "axisPlacement": "auto",
 | 
						|
            "barAlignment": 0,
 | 
						|
            "drawStyle": "line",
 | 
						|
            "fillOpacity": 15,
 | 
						|
            "gradientMode": "none",
 | 
						|
            "hideFrom": {
 | 
						|
              "legend": false,
 | 
						|
              "tooltip": false,
 | 
						|
              "viz": false
 | 
						|
            },
 | 
						|
            "insertNulls": false,
 | 
						|
            "lineInterpolation": "linear",
 | 
						|
            "lineWidth": 1,
 | 
						|
            "pointSize": 5,
 | 
						|
            "scaleDistribution": {
 | 
						|
              "type": "linear"
 | 
						|
            },
 | 
						|
            "showPoints": "never",
 | 
						|
            "spanNulls": false,
 | 
						|
            "stacking": {
 | 
						|
              "group": "A",
 | 
						|
              "mode": "none"
 | 
						|
            },
 | 
						|
            "thresholdsStyle": {
 | 
						|
              "mode": "off"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "mappings": [],
 | 
						|
          "thresholds": {
 | 
						|
            "mode": "absolute",
 | 
						|
            "steps": [
 | 
						|
              {
 | 
						|
                "color": "green"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "color": "red",
 | 
						|
                "value": 80
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "unit": "none"
 | 
						|
        },
 | 
						|
        "overrides": []
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 11,
 | 
						|
        "w": 12,
 | 
						|
        "x": 12,
 | 
						|
        "y": 51
 | 
						|
      },
 | 
						|
      "id": 29,
 | 
						|
      "interval": "5s",
 | 
						|
      "options": {
 | 
						|
        "legend": {
 | 
						|
          "calcs": [],
 | 
						|
          "displayMode": "list",
 | 
						|
          "placement": "right",
 | 
						|
          "showLegend": true
 | 
						|
        },
 | 
						|
        "tooltip": {
 | 
						|
          "mode": "single",
 | 
						|
          "sort": "none"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "pluginVersion": "8.1.4",
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "editorMode": "builder",
 | 
						|
          "exemplar": true,
 | 
						|
          "expr": "meilisearch_task_queue_latency_seconds{instance=\"$instance\", job=\"$job\"}",
 | 
						|
          "interval": "",
 | 
						|
          "legendFormat": "{{value}} ",
 | 
						|
          "range": true,
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "Task queue latency",
 | 
						|
      "type": "timeseries"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "collapsed": true,
 | 
						|
      "datasource": {
 | 
						|
        "type": "prometheus",
 | 
						|
        "uid": "i51CxikVz"
 | 
						|
      },
 | 
						|
      "gridPos": {
 | 
						|
        "h": 1,
 | 
						|
        "w": 24,
 | 
						|
        "x": 0,
 | 
						|
        "y": 62
 | 
						|
      },
 | 
						|
      "id": 12,
 | 
						|
      "panels": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "fieldConfig": {
 | 
						|
            "defaults": {
 | 
						|
              "color": {
 | 
						|
                "mode": "continuous-YlBl"
 | 
						|
              },
 | 
						|
              "custom": {
 | 
						|
                "axisBorderShow": false,
 | 
						|
                "axisCenteredZero": false,
 | 
						|
                "axisColorMode": "text",
 | 
						|
                "axisLabel": "",
 | 
						|
                "axisPlacement": "auto",
 | 
						|
                "barAlignment": 0,
 | 
						|
                "drawStyle": "line",
 | 
						|
                "fillOpacity": 15,
 | 
						|
                "gradientMode": "none",
 | 
						|
                "hideFrom": {
 | 
						|
                  "legend": false,
 | 
						|
                  "tooltip": false,
 | 
						|
                  "viz": false
 | 
						|
                },
 | 
						|
                "insertNulls": false,
 | 
						|
                "lineInterpolation": "linear",
 | 
						|
                "lineWidth": 1,
 | 
						|
                "pointSize": 5,
 | 
						|
                "scaleDistribution": {
 | 
						|
                  "type": "linear"
 | 
						|
                },
 | 
						|
                "showPoints": "never",
 | 
						|
                "spanNulls": false,
 | 
						|
                "stacking": {
 | 
						|
                  "group": "A",
 | 
						|
                  "mode": "none"
 | 
						|
                },
 | 
						|
                "thresholdsStyle": {
 | 
						|
                  "mode": "off"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "decimals": 2,
 | 
						|
              "mappings": [],
 | 
						|
              "thresholds": {
 | 
						|
                "mode": "absolute",
 | 
						|
                "steps": [
 | 
						|
                  {
 | 
						|
                    "color": "green"
 | 
						|
                  },
 | 
						|
                  {
 | 
						|
                    "color": "red",
 | 
						|
                    "value": 80
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              },
 | 
						|
              "unit": "percentunit"
 | 
						|
            },
 | 
						|
            "overrides": []
 | 
						|
          },
 | 
						|
          "gridPos": {
 | 
						|
            "h": 11,
 | 
						|
            "w": 12,
 | 
						|
            "x": 0,
 | 
						|
            "y": 60
 | 
						|
          },
 | 
						|
          "id": 4,
 | 
						|
          "interval": "5s",
 | 
						|
          "options": {
 | 
						|
            "legend": {
 | 
						|
              "calcs": [],
 | 
						|
              "displayMode": "list",
 | 
						|
              "placement": "bottom",
 | 
						|
              "showLegend": true
 | 
						|
            },
 | 
						|
            "tooltip": {
 | 
						|
              "mode": "single",
 | 
						|
              "sort": "none"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "targets": [
 | 
						|
            {
 | 
						|
              "datasource": {
 | 
						|
                "type": "prometheus",
 | 
						|
                "uid": "${DS_PROMETHEUS}"
 | 
						|
              },
 | 
						|
              "editorMode": "builder",
 | 
						|
              "exemplar": true,
 | 
						|
              "expr": "rate(process_cpu_seconds_total{job=\"$job\", instance=\"$instance\"}[1m])",
 | 
						|
              "interval": "",
 | 
						|
              "legendFormat": "process",
 | 
						|
              "range": true,
 | 
						|
              "refId": "A"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "datasource": {
 | 
						|
                "type": "prometheus",
 | 
						|
                "uid": "${DS_PROMETHEUS}"
 | 
						|
              },
 | 
						|
              "exemplar": true,
 | 
						|
              "expr": "sum(rate(container_cpu_usage_seconds_total{name='mongodb-redis'}[1m])) by (name)",
 | 
						|
              "interval": "",
 | 
						|
              "legendFormat": "container",
 | 
						|
              "refId": "B"
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "title": "CPU usage",
 | 
						|
          "type": "timeseries"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "${DS_PROMETHEUS}"
 | 
						|
          },
 | 
						|
          "fieldConfig": {
 | 
						|
            "defaults": {
 | 
						|
              "color": {
 | 
						|
                "mode": "continuous-YlBl"
 | 
						|
              },
 | 
						|
              "custom": {
 | 
						|
                "axisBorderShow": false,
 | 
						|
                "axisCenteredZero": false,
 | 
						|
                "axisColorMode": "text",
 | 
						|
                "axisLabel": "MiB",
 | 
						|
                "axisPlacement": "left",
 | 
						|
                "barAlignment": 0,
 | 
						|
                "drawStyle": "line",
 | 
						|
                "fillOpacity": 15,
 | 
						|
                "gradientMode": "none",
 | 
						|
                "hideFrom": {
 | 
						|
                  "legend": false,
 | 
						|
                  "tooltip": false,
 | 
						|
                  "viz": false
 | 
						|
                },
 | 
						|
                "insertNulls": false,
 | 
						|
                "lineInterpolation": "linear",
 | 
						|
                "lineWidth": 1,
 | 
						|
                "pointSize": 5,
 | 
						|
                "scaleDistribution": {
 | 
						|
                  "type": "linear"
 | 
						|
                },
 | 
						|
                "showPoints": "never",
 | 
						|
                "spanNulls": false,
 | 
						|
                "stacking": {
 | 
						|
                  "group": "A",
 | 
						|
                  "mode": "none"
 | 
						|
                },
 | 
						|
                "thresholdsStyle": {
 | 
						|
                  "mode": "off"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              "mappings": [],
 | 
						|
              "thresholds": {
 | 
						|
                "mode": "absolute",
 | 
						|
                "steps": [
 | 
						|
                  {
 | 
						|
                    "color": "green"
 | 
						|
                  },
 | 
						|
                  {
 | 
						|
                    "color": "red",
 | 
						|
                    "value": 80
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "overrides": []
 | 
						|
          },
 | 
						|
          "gridPos": {
 | 
						|
            "h": 11,
 | 
						|
            "w": 12,
 | 
						|
            "x": 12,
 | 
						|
            "y": 60
 | 
						|
          },
 | 
						|
          "id": 5,
 | 
						|
          "interval": "5s",
 | 
						|
          "options": {
 | 
						|
            "legend": {
 | 
						|
              "calcs": [],
 | 
						|
              "displayMode": "list",
 | 
						|
              "placement": "bottom",
 | 
						|
              "showLegend": true
 | 
						|
            },
 | 
						|
            "tooltip": {
 | 
						|
              "mode": "single",
 | 
						|
              "sort": "none"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "targets": [
 | 
						|
            {
 | 
						|
              "datasource": {
 | 
						|
                "type": "prometheus",
 | 
						|
                "uid": "${DS_PROMETHEUS}"
 | 
						|
              },
 | 
						|
              "editorMode": "builder",
 | 
						|
              "exemplar": true,
 | 
						|
              "expr": "process_resident_memory_bytes{job=\"$job\", instance=\"$instance\"} / 1024 / 1024",
 | 
						|
              "interval": "",
 | 
						|
              "legendFormat": "process",
 | 
						|
              "range": true,
 | 
						|
              "refId": "A"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "datasource": {
 | 
						|
                "type": "prometheus",
 | 
						|
                "uid": "${DS_PROMETHEUS}"
 | 
						|
              },
 | 
						|
              "exemplar": true,
 | 
						|
              "expr": "container_memory_usage_bytes{name=\"mongodb-redis\"} / 1024 / 1024",
 | 
						|
              "interval": "",
 | 
						|
              "legendFormat": "container",
 | 
						|
              "refId": "B"
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "title": "Memory usage",
 | 
						|
          "type": "timeseries"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "targets": [
 | 
						|
        {
 | 
						|
          "datasource": {
 | 
						|
            "type": "prometheus",
 | 
						|
            "uid": "i51CxikVz"
 | 
						|
          },
 | 
						|
          "refId": "A"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "title": "System metrics",
 | 
						|
      "type": "row"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "refresh": "10s",
 | 
						|
  "schemaVersion": 39,
 | 
						|
  "tags": [],
 | 
						|
  "templating": {
 | 
						|
    "list": [
 | 
						|
      {
 | 
						|
        "current": {},
 | 
						|
        "datasource": {
 | 
						|
          "type": "prometheus",
 | 
						|
          "uid": "${DS_PROMETHEUS}"
 | 
						|
        },
 | 
						|
        "definition": "label_values(instance)",
 | 
						|
        "hide": 0,
 | 
						|
        "includeAll": false,
 | 
						|
        "label": "Instance",
 | 
						|
        "multi": false,
 | 
						|
        "name": "instance",
 | 
						|
        "options": [],
 | 
						|
        "query": {
 | 
						|
          "query": "label_values(instance)",
 | 
						|
          "refId": "StandardVariableQuery"
 | 
						|
        },
 | 
						|
        "refresh": 1,
 | 
						|
        "regex": "",
 | 
						|
        "skipUrlSync": false,
 | 
						|
        "sort": 0,
 | 
						|
        "type": "query"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "current": {},
 | 
						|
        "datasource": {
 | 
						|
          "type": "prometheus",
 | 
						|
          "uid": "${DS_PROMETHEUS}"
 | 
						|
        },
 | 
						|
        "definition": "label_values(index)",
 | 
						|
        "hide": 0,
 | 
						|
        "includeAll": false,
 | 
						|
        "label": "index",
 | 
						|
        "multi": false,
 | 
						|
        "name": "Index",
 | 
						|
        "options": [],
 | 
						|
        "query": {
 | 
						|
          "query": "label_values(index)",
 | 
						|
          "refId": "StandardVariableQuery"
 | 
						|
        },
 | 
						|
        "refresh": 1,
 | 
						|
        "regex": "",
 | 
						|
        "skipUrlSync": false,
 | 
						|
        "sort": 0,
 | 
						|
        "type": "query"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "current": {},
 | 
						|
        "datasource": {
 | 
						|
          "type": "prometheus",
 | 
						|
          "uid": "${DS_PROMETHEUS}"
 | 
						|
        },
 | 
						|
        "definition": "label_values(job)",
 | 
						|
        "description": "Prometheus job_name from scrape config (default is meilisearch)",
 | 
						|
        "hide": 0,
 | 
						|
        "includeAll": false,
 | 
						|
        "label": "Job",
 | 
						|
        "multi": false,
 | 
						|
        "name": "job",
 | 
						|
        "options": [],
 | 
						|
        "query": {
 | 
						|
          "query": "label_values(job)",
 | 
						|
          "refId": "StandardVariableQuery"
 | 
						|
        },
 | 
						|
        "refresh": 1,
 | 
						|
        "regex": "",
 | 
						|
        "skipUrlSync": false,
 | 
						|
        "sort": 0,
 | 
						|
        "type": "query"
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "time": {
 | 
						|
    "from": "now-5m",
 | 
						|
    "to": "now"
 | 
						|
  },
 | 
						|
  "timepicker": {
 | 
						|
    "refresh_intervals": [
 | 
						|
      "5s",
 | 
						|
      "10s",
 | 
						|
      "30s",
 | 
						|
      "1m",
 | 
						|
      "5m"
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "timezone": "",
 | 
						|
  "title": "Meilisearch",
 | 
						|
  "uid": "7wcZ94dnz",
 | 
						|
  "version": 2,
 | 
						|
  "weekStart": ""
 | 
						|
} |