Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			- Implemented RustFsArtifactObjectStore for managing artifacts in RustFS. - Added unit tests for RustFsArtifactObjectStore functionality. - Created a RustFS migrator tool to transfer objects from S3 to RustFS. - Introduced policy preview and report models for API integration. - Added fixtures and tests for policy preview and report functionality. - Included necessary metadata and scripts for cache_pkg package.
		
			
				
	
	
		
			156 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			156 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "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"
 | |
|         }
 | |
|       ]
 | |
|     }
 | |
|   ]
 | |
| }
 |