{ "uid": "golden-signals", "title": "Request path — golden signals", "tags": ["s-16c", "golden-signals"], "timezone": "browser", "schemaVersion": 39, "version": 1, "editable": true, "refresh": "10s", "time": { "from": "now-15m", "to": "now" }, "templating": { "list": [ { "name": "job", "type": "query", "datasource": { "type": "prometheus", "uid": "prometheus" }, "query": "label_values(http_server_request_duration_seconds_count, job)", "includeAll": true, "multi": true, "current": { "text": "All", "value": "$__all" }, "refresh": 2 } ] }, "panels": [ { "id": 1, "title": "Traffic — requests/sec", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "fieldConfig": { "defaults": { "unit": "reqps", "custom": { "drawStyle": "line", "fillOpacity": 10 } }, "overrides": [] }, "targets": [ { "refId": "A", "expr": "sum by (job) (rate(http_server_request_duration_seconds_count{job=~\"$job\"}[$__rate_interval]))", "legendFormat": "{{job}}" } ] }, { "id": 2, "title": "Errors — 5xx responses/sec", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "fieldConfig": { "defaults": { "unit": "reqps", "custom": { "drawStyle": "line", "fillOpacity": 10 }, "color": { "mode": "fixed", "fixedColor": "red" } }, "overrides": [] }, "targets": [ { "refId": "A", "expr": "sum by (job) (rate(http_server_request_duration_seconds_count{job=~\"$job\",http_response_status_code=~\"5..\"}[$__rate_interval]))", "legendFormat": "{{job}}" } ] }, { "id": 3, "title": "Latency — p95 request duration", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 }, "fieldConfig": { "defaults": { "unit": "s", "custom": { "drawStyle": "line", "fillOpacity": 10 } }, "overrides": [] }, "targets": [ { "refId": "A", "expr": "histogram_quantile(0.95, sum by (job, le) (rate(http_server_request_duration_seconds_bucket{job=~\"$job\"}[$__rate_interval])))", "legendFormat": "{{job}} p95" } ] }, { "id": 4, "title": "Saturation — CPU cores in use", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 }, "fieldConfig": { "defaults": { "unit": "none", "custom": { "drawStyle": "line", "fillOpacity": 10 } }, "overrides": [] }, "targets": [ { "refId": "A", "expr": "sum by (job) (rate(dotnet_process_cpu_time_seconds_total{job=~\"$job\"}[$__rate_interval]))", "legendFormat": "{{job}}" } ] } ] }