Relates to #105
Create the Error Investigation dashboard enabling debugging with log stream, error filtering, stack trace viewing, and requestId correlation lookup.
Create config/grafana/dashboards/error-investigation.json with these panels:
config/grafana/dashboards/error-investigation.json
{container=~"mvp-.*"} | json | level="error"
sum(count_over_time({container=~"mvp-.*"} | json | level="error" [1m]))
sum by (container) (count_over_time({container=~"mvp-.*"} | json | level="error" [5m]))
sum by (path) (count_over_time({container="mvp-backend"} | json | level="error" [5m]))
{container="mvp-backend"} | json | level="error" | line_format "{{.error}}\n{{.stack}}"
requestId
{container="mvp-backend"} |= "$requestId"
{container="mvp-backend"} | json | msg="Request processed" | status >= 500
Phase: Execution | Agent: Platform Agent | Status: PASS
Created config/grafana/dashboards/error-investigation.json with all 7 panels per spec:
datasource
errors
debugging
backend
0345e39 - feat: add Error Investigation Grafana dashboard (refs #109)
0345e39
feat: add Error Investigation Grafana dashboard (refs #109)
Verdict: PASS | Next: QR post-implementation review
No dependencies set.
The note is not visible to the blocked user.
Parent Issue
Relates to #105
Summary
Create the Error Investigation dashboard enabling debugging with log stream, error filtering, stack trace viewing, and requestId correlation lookup.
Scope
Create
config/grafana/dashboards/error-investigation.jsonwith these panels:{container=~"mvp-.*"} | json | level="error"sum(count_over_time({container=~"mvp-.*"} | json | level="error" [1m]))sum by (container) (count_over_time({container=~"mvp-.*"} | json | level="error" [5m]))sum by (path) (count_over_time({container="mvp-backend"} | json | level="error" [5m])){container="mvp-backend"} | json | level="error" | line_format "{{.error}}\n{{.stack}}"requestId(text input){container="mvp-backend"} |= "$requestId"{container="mvp-backend"} | json | msg="Request processed" | status >= 500Dashboard Variables
requestId- Text input for correlation ID lookupFiles Changed
config/grafana/dashboards/error-investigation.json(NEW)Acceptance Criteria
Milestone: Error Investigation Dashboard
Phase: Execution | Agent: Platform Agent | Status: PASS
Summary
Created
config/grafana/dashboards/error-investigation.jsonwith all 7 panels per spec:{container=~"mvp-.*"} | json | level="error"sum(count_over_time({container=~"mvp-.*"} | json | level="error" [1m]))sum by (container) (count_over_time({container=~"mvp-.*"} | json | level="error" [5m]))sum by (path) (count_over_time({container="mvp-backend"} | json | level="error" [5m])){container="mvp-backend"} | json | level="error" | line_format "{{.error}}\n{{.stack}}"{container="mvp-backend"} |= "$requestId"{container="mvp-backend"} | json | msg="Request processed" | status >= 500Template Variables
datasource- Loki datasource selector (standard)requestId- Text input for correlation ID lookupPattern Conformance
errors,debugging,backendCommit
0345e39-feat: add Error Investigation Grafana dashboard (refs #109)Verdict: PASS | Next: QR post-implementation review