{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "datasource": "Jaeger", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 1, "options": { "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.5.0", "targets": [ { "query": "tyapi-server", "refId": "A" } ], "title": "TYAPI服务链路追踪", "type": "jaeger" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "id": 2, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "values": false, "calcs": [ "lastNotNull" ], "fields": "" }, "textMode": "auto" }, "pluginVersion": "7.5.0", "targets": [ { "expr": "rate(http_requests_total[5m])", "interval": "", "legendFormat": "{{method}} {{path}}", "refId": "A" } ], "title": "HTTP请求速率", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 0.5 }, { "color": "red", "value": 1 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }, "id": 3, "options": { "displayMode": "list", "orientation": "horizontal", "reduceOptions": { "values": false, "calcs": [ "lastNotNull" ], "fields": "" }, "showUnfilled": true }, "pluginVersion": "7.5.0", "targets": [ { "expr": "histogram_quantile(0.95, rate(http_request_duration_seconds_bucket[5m]))", "interval": "", "legendFormat": "95th percentile - {{method}} {{path}}", "refId": "A" }, { "expr": "histogram_quantile(0.50, rate(http_request_duration_seconds_bucket[5m]))", "interval": "", "legendFormat": "50th percentile - {{method}} {{path}}", "refId": "B" } ], "title": "HTTP请求延迟分布", "type": "bargauge" } ], "schemaVersion": 27, "style": "dark", "tags": [ "jaeger", "tracing", "tyapi" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "TYAPI链路追踪监控", "uid": "tyapi-tracing", "version": 1 }