Error Monitoring Feed
An error-tracking feed for surfacing recent exceptions. A summary strip of colored pills totals errors by severity, and the list below shows each error's type, source file and line, occurrence count, and last-seen time. Built for internal observability and status dashboards.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/error-monitoring-feed.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/devtools/devtools17.tsx instead.
Usage
The file also exports devtools17Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Devtools17, devtools17Demo } from "@/components/blocks/devtools/devtools17"; export default function Page() { return <Devtools17 {...devtools17Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Error Monitoring" | Section heading. |
| description | string | undefined | Section intro text below the heading. |
| summary | SummaryPill[] | [] | Severity total pills shown above the error list. |
| errors | ErrorEntry[] | none | Error rows, most relevant first. |
| className | string | none | Extra classes for the outer section element. |
Types
type ErrorSeverity = "critical" | "warning" | "info"; type SummarySeverity = ErrorSeverity | "resolved"; type SummaryPill = { label: string; severity: SummarySeverity }; type ErrorEntry = { id: string; severity: ErrorSeverity; message: string; location: string; occurrences: number; lastSeen: string; };
Behavior notes
- Entirely static; there is no client-side interactivity and nothing here connects to a real error-tracking service.
- summary pills are independent, caller-supplied totals; the component does not compute them from the errors array, so the two are free to represent different windows (e.g. all-time totals vs. the 10 most recent errors).
- occurrences and lastSeen are plain caller-supplied values (a number and a formatted string); the component does not track counts or compute relative time itself.
- Severity colors are fixed by name (critical=red, warning=amber, info=sky, resolved=emerald in the summary pills) and are not independently themeable per entry.
More DevTools Blocks
View all →api-endpoints-sample-call
API Endpoints With Sample Call
Reference list of API endpoints paired with a live sample request and response panel.
cicd-pipeline-status
CI/CD Pipeline Status
Recent CI/CD pipeline runs with per-stage status chips and overall run badges.
code-diff-viewer
Code Diff Viewer
Unified code diff panel with a file header change summary and colored addition/deletion lines.
keyboard-shortcuts-reference
Keyboard Shortcuts Reference
Grouped keyboard shortcut reference with keycap-styled key combos.
performance-waterfall
Performance Waterfall
Network request waterfall chart with cascading timing bars colored by duration.
service-health-board
Service Health Board
Infrastructure status board with a live summary strip and per-service uptime, latency, and health.