Skip to main content

apps/web/components/telemetry-enrollment-panel.tsx

Metadata

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;
};
};