apps/web/components/telemetry-enrollment-panel.tsx
Metadata
- Purpose: Reusable frontend UI component used by web routes.
- Domain:
applications - Language:
tsx - Bytes: 4306
- Lines: 90
- Content hash (short):
c659bb6e - Source (start): apps/web/components/telemetry-enrollment-panel.tsx:1
- Source (end): apps/web/components/telemetry-enrollment-panel.tsx:90
Indexed Symbols
TelemetryEnrollmentPanel(line 27, function) - Implements telemetry enrollment panel for module behavior.
Markdown Headings (if applicable)
No markdown headings detected.
Source Preview
import { Card, StatusPill } from "@anchor/ui";
import { rotateEdgeEnrollmentTokenAction } from "../app/actions/operator-actions";
type TelemetryEnrollmentPanelProps = {
workspaceId: string;
enrollment: {
mode: string;
rotationDays: number;
policy: Record<string, unknown>;
ingestUrl: string;
};
ingestStatus: {
since: string;
batches24h: number;
events24h: number;
pendingOutbox: number;
failedOutbox: number;
schemaRejected24h: number;
};
tokenResult?: {
token?: string;
expiresAt?: string;
ingestUrl?: string;
};
};