{ "title": "StellaOps Scanner Analyzer Benchmarks", "uid": "scanner-analyzer-bench", "schemaVersion": 38, "version": 1, "editable": true, "timezone": "", "graphTooltip": 0, "time": { "from": "now-24h", "to": "now" }, "templating": { "list": [ { "name": "datasource", "type": "datasource", "query": "prometheus", "refresh": 1, "hide": 0, "current": {} } ] }, "annotations": { "list": [] }, "panels": [ { "id": 1, "title": "Max Duration (ms)", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "unit": "ms", "displayName": "{{scenario}}" }, "overrides": [] }, "options": { "legend": { "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "expr": "scanner_analyzer_bench_max_ms", "legendFormat": "{{scenario}}", "refId": "A" }, { "expr": "scanner_analyzer_bench_baseline_max_ms", "legendFormat": "{{scenario}} baseline", "refId": "B" } ] }, { "id": 2, "title": "Regression Ratio vs Limit", "type": "timeseries", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "unit": "percentunit", "displayName": "{{scenario}}", "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 20 } ] } }, "overrides": [] }, "options": { "legend": { "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "multi", "sort": "none" } }, "targets": [ { "expr": "(scanner_analyzer_bench_regression_ratio - 1) * 100", "legendFormat": "{{scenario}} regression %", "refId": "A" }, { "expr": "(scanner_analyzer_bench_regression_limit - 1) * 100", "legendFormat": "{{scenario}} limit %", "refId": "B" } ] }, { "id": 3, "title": "Breached Scenarios", "type": "stat", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "displayName": "{{scenario}}", "unit": "short" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "center", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false } }, "targets": [ { "expr": "scanner_analyzer_bench_regression_breached", "legendFormat": "{{scenario}}", "refId": "A" } ] } ] }