Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Embedded ActivityPub debug dashboard for Fedify
Functions
Wraps a Federation object with a debug dashboard.
Interfaces
Options for createFederationDebugger with an explicit exporter.
- auth: FederationDebuggerAuth
Authentication configuration for the debug dashboard. When omitted, the dashboard is accessible without authentication.
- exporter: FedifySpanExporter
The FedifySpanExporter to query trace data from.
- kv: KvStore
The KvStore to persist log records to. This should typically be the same
KvStoreinstance that was passed to theFedifySpanExporterso that logs and traces are co-located and accessible from all processes (e.g., both web and worker nodes). - path: string
The path prefix for the debug dashboard. Defaults to
"/__debug__".
Options for createFederationDebugger without an explicit exporter.
A serialized log record for the debug dashboard.
- category: readonly string[]
The logger category.
- level: string
The log level.
- message: string
The rendered log message.
- properties: Record<string, unknown>
The extra properties of the log record (excluding traceId and spanId).
- timestamp: number
The timestamp in milliseconds since the Unix epoch.
Type Aliases
| { readonly type: "password"; readonly password: string; }
| { readonly type: "usernamePassword"; authenticate(
| { readonly type: "usernamePassword"; readonly username: string; readonly password: string; }
| { readonly type: "request"; authenticate(request: Request): boolean | Promise<boolean>; }
Authentication configuration for the debug dashboard.