Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
drainer
command
Command drainer is the consumer side of phoebe's metering durability ladder.
|
Command drainer is the consumer side of phoebe's metering durability ladder. |
|
engine-conformance
command
Command engine-conformance verifies that Phoebe's usage-block parsing (internal/metering.Usage) matches what a REAL OpenAI-compatible engine (vLLM / SGLang / TensorRT-LLM) actually emits — especially the cached-token field, which internal/metering flags as needing live verification.
|
Command engine-conformance verifies that Phoebe's usage-block parsing (internal/metering.Usage) matches what a REAL OpenAI-compatible engine (vLLM / SGLang / TensorRT-LLM) actually emits — especially the cached-token field, which internal/metering flags as needing live verification. |
|
interceptor
command
|
|
|
price-fetch
command
Command price-fetch is phoebe's price-book SYNC step: it pulls the customer's effective token prices from the central pricing service (saturn-aws-manager's GET /customer/token-prices) and installs them as the local YAML price file the rater (cmd/rater) loads.
|
Command price-fetch is phoebe's price-book SYNC step: it pulls the customer's effective token prices from the central pricing service (saturn-aws-manager's GET /customer/token-prices) and installs them as the local YAML price file the rater (cmd/rater) loads. |
|
rater
command
Command rater is phoebe's REVENUE path batch job.
|
Command rater is phoebe's REVENUE path batch job. |
|
token-push
command
Command token-push is phoebe's install-side hourly billing PUSH job.
|
Command token-push is phoebe's install-side hourly billing PUSH job. |
|
internal
|
|
|
capture
Package capture defines what the streaming tee extracts from an upstream response — the frozen handoff between the proxy's forward-then-inspect tee (M1) and the metering emitter (M2).
|
Package capture defines what the streaming tee extracts from an upstream response — the frozen handoff between the proxy's forward-then-inspect tee (M1) and the metering emitter (M2). |
|
config
Package config loads interceptor settings from a YAML file, applying defaults then parsing/validating.
|
Package config loads interceptor settings from a YAML file, applying defaults then parsing/validating. |
|
drain
Package drain is the CONSUMER side of the metering durability ladder.
|
Package drain is the CONSUMER side of the metering durability ladder. |
|
emit
Package emit provides a durable metering.Emitter that ships events via a three-level durability ladder:
|
Package emit provides a durable metering.Emitter that ships events via a three-level durability ladder: |
|
identity
Package identity reads the trusted identity headers that atlas-auth (Traefik ForwardAuth) injects upstream.
|
Package identity reads the trusted identity headers that atlas-auth (Traefik ForwardAuth) injects upstream. |
|
iolog
Package iolog is M5: per-tenant, opt-in, sampled, short-retention capture of request and response BODIES, forked from the same upstream bytes the metering tee already sees but written to a SEPARATE store with its own retention and access controls.
|
Package iolog is M5: per-tenant, opt-in, sampled, short-retention capture of request and response BODIES, forked from the same upstream bytes the metering tee already sees but written to a SEPARATE store with its own retention and access controls. |
|
logging
Package logging provides a simple leveled logger, mirroring the convention used across Saturn's Go services (see auth-server's util.Logger).
|
Package logging provides a simple leveled logger, mirroring the convention used across Saturn's Go services (see auth-server's util.Logger). |
|
metering
Package metering defines the immutable billing event and the Emitter contract.
|
Package metering defines the immutable billing event and the Emitter contract. |
|
proxy
Package proxy is the core of the interceptor: a thin, tenant-aware reverse proxy that sits behind Traefik and in front of the inference router/engine.
|
Package proxy is the core of the interceptor: a thin, tenant-aware reverse proxy that sits behind Traefik and in front of the inference router/engine. |
|
rating
Package rating is phoebe's REVENUE path.
|
Package rating is phoebe's REVENUE path. |
Click to show internal directories.
Click to hide internal directories.