Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wlog
command
Command wlog is the single-binary OTLP receiver + embedded web UI for Claude Code session telemetry.
|
Command wlog is the single-binary OTLP receiver + embedded web UI for Claude Code session telemetry. |
|
internal
|
|
|
api
Package api is the UI-facing HTTP JSON API for wlog (PLAN §10 — frozen contract).
|
Package api is the UI-facing HTTP JSON API for wlog (PLAN §10 — frozen contract). |
|
app
Package app wires together the wlog subsystems (receiver, ingest, store, api, web) and manages process lifecycle (start + graceful shutdown).
|
Package app wires together the wlog subsystems (receiver, ingest, store, api, web) and manages process lifecycle (start + graceful shutdown). |
|
config
Package config holds runtime configuration for wlog: ports, bind policy, data path resolution (XDG / LOCALAPPDATA / macOS), retention, recv limits, and WLOG_* environment overrides.
|
Package config holds runtime configuration for wlog: ports, bind policy, data path resolution (XDG / LOCALAPPDATA / macOS), retention, recv limits, and WLOG_* environment overrides. |
|
deps
Package deps pins the verified third-party dependencies that downstream batches (otel parser, store, receiver) will import, so that `go mod tidy` retains them in go.mod and teammates working in parallel worktrees do not hit module-graph conflicts.
|
Package deps pins the verified third-party dependencies that downstream batches (otel parser, store, receiver) will import, so that `go mod tidy` retains them in go.mod and teammates working in parallel worktrees do not hit module-graph conflicts. |
|
ingest
Package ingest is the normalize-and-persist pipeline plus the live bus that feeds the SSE endpoint (PLAN §9, REVIEWS A·C, Eng F7 / Design D-02).
|
Package ingest is the normalize-and-persist pipeline plus the live bus that feeds the SSE endpoint (PLAN §9, REVIEWS A·C, Eng F7 / Design D-02). |
|
jsonl
Package jsonl converts Claude Code transcript JSONL (the per-session ~/.claude/projects/<enc-cwd>/<session-uuid>.jsonl files) into the wlog domain model (internal/model).
|
Package jsonl converts Claude Code transcript JSONL (the per-session ~/.claude/projects/<enc-cwd>/<session-uuid>.jsonl files) into the wlog domain model (internal/model). |
|
model
Package model defines the wlog domain types, the single-writer Batch unit, and the storage interfaces consumed by the ingest and otel packages.
|
Package model defines the wlog domain types, the single-writer Batch unit, and the storage interfaces consumed by the ingest and otel packages. |
|
otel
Package otel converts OTLP export requests (metrics, logs, traces) into the wlog domain model (internal/model).
|
Package otel converts OTLP export requests (metrics, logs, traces) into the wlog domain model (internal/model). |
|
pricing
Package pricing maps Claude model names to approximate per-token USD prices so the cost API can report dollar figures (cumulative spend, burn rate, cache savings) instead of raw token counts.
|
Package pricing maps Claude model names to approximate per-token USD prices so the cost API can report dollar figures (cumulative spend, burn rate, cache savings) instead of raw token counts. |
|
receiver
Package receiver terminates OTLP over gRPC (:4317) and HTTP (:4318), applies wire-level limits and defenses, and hands each request to the ingest pipeline with retryable backpressure (PLAN §5, §17, REVIEWS B·D).
|
Package receiver terminates OTLP over gRPC (:4317) and HTTP (:4318), applies wire-level limits and defenses, and hands each request to the ingest pipeline with retryable backpressure (PLAN §5, §17, REVIEWS B·D). |
|
store
Package store is the SQLite persistence layer for wlog (PLAN §8, §8a, §16).
|
Package store is the SQLite persistence layer for wlog (PLAN §8, §8a, §16). |
|
version
Package version holds the build version metadata for the wlog binary.
|
Package version holds the build version metadata for the wlog binary. |
|
web
Package web embeds the built static UI assets (ui/ -> dist) into the binary and serves them with SPA fallback.
|
Package web embeds the built static UI assets (ui/ -> dist) into the binary and serves them with SPA fallback. |
|
tools
|
|
|
replay
command
Command replay is the wlog dogfood harness CLI: it synthesizes realistic Claude Code OTLP telemetry (via the synth package) and replays it at a running wlog receiver over gRPC or HTTP (PLAN §2 dogfood, §19 T9).
|
Command replay is the wlog dogfood harness CLI: it synthesizes realistic Claude Code OTLP telemetry (via the synth package) and replays it at a running wlog receiver over gRPC or HTTP (PLAN §2 dogfood, §19 T9). |
|
replay/synth
Package synth synthesizes realistic Claude Code OTLP telemetry (metrics + logs + traces for one or more sessions) for the wlog dogfood harness and the integration tests (PLAN §2 dogfood, §14 tests).
|
Package synth synthesizes realistic Claude Code OTLP telemetry (metrics + logs + traces for one or more sessions) for the wlog dogfood harness and the integration tests (PLAN §2 dogfood, §14 tests). |
Click to show internal directories.
Click to hide internal directories.