{ "annotations": { "list": [] }, "editable": false, "fiscalYearStartMonth": 0, "graphTooltip": 0, "panels": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 1, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "editorMode": "code", "expr": "up{job=\"backend\"}", "legendFormat": "backend", "refId": "A" } ], "title": "Backend scrape status", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" }, "unit": "cores" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "id": 2, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "editorMode": "code", "expr": "rate(process_cpu_seconds_total{job=\"backend\"}[5m])", "legendFormat": "CPU cores", "refId": "A" } ], "title": "Process CPU", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 }, "id": 3, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "editorMode": "code", "expr": "process_resident_memory_bytes{job=\"backend\"}", "legendFormat": "resident memory", "refId": "A" } ], "title": "Resident memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 }, "id": 4, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "editorMode": "code", "expr": "go_goroutines{job=\"backend\"}", "legendFormat": "goroutines", "refId": "A" } ], "title": "Go goroutines", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 16 }, "id": 5, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "editorMode": "code", "expr": "go_memstats_heap_alloc_bytes{job=\"backend\"}", "legendFormat": "heap allocated", "refId": "A" } ], "title": "Go heap allocation", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 41, "tags": [ "go", "runtime" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timezone": "browser", "title": "Go runtime", "uid": "go-runtime", "version": 1 }