Commit ·
4634e2c
1
Parent(s): b98ed92
updating grafana dashboards
Browse files61 unmodified lines6263646566676862 unmodified lines1311321331341351361371381391401411429 unmodified lines15215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218317 unmodified lines2012022032042052062072082092102112122132 unmodified lines21621721821922022122212 unmodified lines23523623723823924024117 unmodified lines25926026126226326426526626726826927027133 unmodified lines30530630730830931031116 unmodified lines32832933033133233333433533633733833934034111 unmodified lines35335435535635735861 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "rate(fastapi_requests_total[1m])","refId": "A"}],62 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "histogram_quantile(0.95, rate(fastapi_request_duration_seconds_bucket[5m])) * 1000","legendFormat": "p95","refId": "A"},{"expr": "histogram_quantile(0.50, rate(fastapi_request_duration_seconds_bucket[5m])) * 1000","legendFormat": "p50 (median)","refId": "B"}9 unmodified lines"color": {"mode": "thresholds"},"mappings": [{"options": {"0": {"color": "red","index": 1,"text": "No Drift"},"1": {"color": "green","index": 0,"text": "Drift Detected"}},"type": "value"}],"thresholds": {"mode": "absolute","steps": [{"color": "green","value": null}]}}},"gridPos": {17 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "drift_detected","refId": "A"}],"title": "Data Drift Status","type": "stat","description": "Current data drift detection status (1 = drift detected, 0 = no drift)"},{"datasource": "Prometheus",2 unmodified lines"color": {"mode": "thresholds"},"decimals": 4,"mappings": [],"thresholds": {"mode": "absolute",12 unmodified lines}]},"unit": "short"}},"gridPos": {17 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "drift_p_value","refId": "A"}],"title": "Drift P-Value","type": "stat","description": "Statistical significance of detected drift (lower = more significant)"},{"datasource": "Prometheus",33 unmodified lines}]},"unit": "short"}},"gridPos": {16 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "drift_distance","legendFormat": "Distance","refId": "A"}],"title": "Drift Distance Over Time","type": "timeseries","description": "Statistical distance between baseline and current data distribution"}],"refresh": "10s",11 unmodified lines"timezone": "","title": "Hopcroft ML Model Monitoring","uid": "hopcroft-ml-dashboard","version": 1,"weekStart": ""}61 unmodified lines6263646566676862 unmodified lines1311321331341351361371381391401411429 unmodified lines15215315415515615715815916016116216316416516616716816917017117217317417517617 unmodified lines1941951961971981992002012022032042052062 unmodified lines20921021121221321421512 unmodified lines22822923023123223323417 unmodified lines25225325425525625725825926026126226326433 unmodified lines29829930030130230330416 unmodified lines32132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340411 unmodified lines41641741841942042161 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "sum(rate(hopcroft_requests_total[1m]))","refId": "A"}],62 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "histogram_quantile(0.95, sum(rate(hopcroft_request_duration_seconds_bucket[5m])) by (le)) * 1000","legendFormat": "p95","refId": "A"},{"expr": "histogram_quantile(0.50, sum(rate(hopcroft_request_duration_seconds_bucket[5m])) by (le)) * 1000","legendFormat": "p50 (median)","refId": "B"}9 unmodified lines"color": {"mode": "thresholds"},"mappings": [],"thresholds": {"mode": "absolute","steps": [{"color": "green","value": null},{"color": "yellow","value": 1},{"color": "red","value": 5}]},"unit": "short"}},"gridPos": {17 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "sum(hopcroft_in_progress_requests)","refId": "A"}],"title": "In-Progress Requests","type": "stat","description": "Number of requests currently being processed"},{"datasource": "Prometheus",2 unmodified lines"color": {"mode": "thresholds"},"decimals": 2,"mappings": [],"thresholds": {"mode": "absolute",12 unmodified lines}]},"unit": "percentunit"}},"gridPos": {17 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "sum(rate(hopcroft_requests_total{http_status=~\"5..\"}[5m])) / sum(rate(hopcroft_requests_total[5m]))","refId": "A"}],"title": "Error Rate (5xx)","type": "stat","description": "Percentage of requests resulting in 5xx errors"},{"datasource": "Prometheus",33 unmodified lines}]},"unit": "s"}},"gridPos": {16 unmodified lines"pluginVersion": "9.0.0","targets": [{"expr": "rate(hopcroft_prediction_processing_seconds_sum[5m]) / rate(hopcroft_prediction_processing_seconds_count[5m])","legendFormat": "Avg Prediction Time","refId": "A"}],"title": "Model Prediction Time","type": "timeseries","description": "Average time spent processing model predictions"},{"datasource": "Prometheus","fieldConfig": {"defaults": {"color": {"mode": "palette-classic"},"custom": {"axisLabel": "","axisPlacement": "auto","barAlignment": 0,"drawStyle": "bars","fillOpacity": 80,"gradientMode": "none","hideFrom": {"tooltip": false,"viz": false,"legend": false},"lineInterpolation": "linear","lineWidth": 1,"pointSize": 5,"scaleDistribution": {"type": "linear"},"showPoints": "never","spanNulls": false},"mappings": [],"thresholds": {"mode": "absolute","steps": [{"color": "green","value": null}]},"unit": "short"}},"gridPos": {"h": 8,"w": 24,"x": 0,"y": 14},"id": 6,"options": {"legend": {"calcs": ["sum"],"displayMode": "table","placement": "right"},"tooltip": {"mode": "multi"}},"pluginVersion": "9.0.0","targets": [{"expr": "sum by (endpoint) (increase(hopcroft_requests_total[5m]))","legendFormat": "{{endpoint}}","refId": "A"}],"title": "Requests by Endpoint","type": "timeseries","description": "Number of requests per endpoint over time"}],"refresh": "10s",11 unmodified lines"timezone": "","title": "Hopcroft ML Model Monitoring","uid": "hopcroft-ml-dashboard","version": 2,"weekStart": ""}
monitoring/grafana/dashboards/hopcroft_dashboard.json+98-35