{ "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": 1, "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", "uid": "i51CxikVz" }, "refId": "A" } ], "title": "Web application metrics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl" }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 0, "y": 1 }, "id": 2, "interval": "5s", "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "meilisearch_db_size_bytes{job=\"meilisearch\", instance=\"$instance\"}", "interval": "", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Database Size", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": 4, "y": 1 }, "id": 22, "interval": "5s", "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "meilisearch_index_count{job=\"meilisearch\", instance=\"$instance\"}", "interval": "", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Indexes Count", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 8, "y": 1 }, "id": 18, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "expr": "meilisearch_index_docs_count{job=\"meilisearch\", index=\"$Index\", instance=\"$instance\"}", "hide": false, "range": true, "refId": "A" } ], "title": "Total Documents", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "round(increase(http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"meilisearch\"}[1h]))", "interval": "", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total Searches (1h)", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "round(increase(http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"meilisearch\"}[24h]))", "interval": "", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total Searches (24h)", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "pluginVersion": "9.0.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "round(increase(http_requests_total{method=\"POST\", path=\"/indexes/$Index/search\", job=\"meilisearch\"}[30d]))", "interval": "", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total Searches (30d)", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": 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", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 7 }, "id": 1, "interval": "5s", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "rate(http_requests_total{instance=\"$instance\", job=\"meilisearch\"}[5m])", "interval": "", "legendFormat": "{{method}} {{path}}", "range": true, "refId": "A" } ], "title": "HTTP requests per second (All Indexes)", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": 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" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.1.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "rate(http_response_time_seconds_sum{instance=\"$instance\", job=\"meilisearch\"}[5m]) / rate(http_response_time_seconds_count[5m])", "interval": "", "legendFormat": "{{method}} {{path}}", "range": true, "refId": "A" } ], "title": "Mean response time (All Indexes)", "type": "timeseries" }, { "cards": {}, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "mode": "spectrum" }, "dataFormat": "tsbuckets", "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 18 }, "heatmap": {}, "hideZeroBuckets": false, "highlightCards": true, "id": 16, "legend": { "show": false }, "pluginVersion": "8.1.4", "reverseYBuckets": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "sum by(le) (increase(http_response_time_seconds_bucket{path=\"/indexes/$Index/search\", instance=\"$instance\", job=\"meilisearch\"}[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 }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "i51CxikVz" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 30 }, "id": 12, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "i51CxikVz" }, "refId": "A" } ], "title": "System metrics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": 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", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 31 }, "id": 4, "interval": "5s", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "rate(process_cpu_seconds_total{job=\"meilisearch\", instance=\"$instance\"}[1m])", "interval": "", "legendFormat": "process", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": "1MRsknzVz" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl" }, "custom": { "axisLabel": "MiB", "axisPlacement": "left", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": 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 } ] } }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 12, "y": 31 }, "id": 5, "interval": "5s", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "editorMode": "builder", "exemplar": true, "expr": "process_resident_memory_bytes{job=\"meilisearch\", instance=\"$instance\"} / 1024 / 1024", "interval": "", "legendFormat": "process", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "exemplar": true, "expr": "container_memory_usage_bytes{name=\"mongodb-redis\"} / 1024 / 1024", "interval": "", "legendFormat": "container", "refId": "B" } ], "title": "Memory usage", "type": "timeseries" } ], "refresh": "5s", "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "localhost:7700", "value": "localhost:7700" }, "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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": { "selected": false, "text": "movie-collection", "value": "movie-collection" }, "datasource": { "type": "prometheus", "uid": "1MRsknzVz" }, "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" } ] }, "time": { "from": "now-15m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m" ] }, "timezone": "", "title": "Meilisearch", "uid": "7wcZ94dnz", "version": 47, "weekStart": "" }