Repository navigation
Docs: billing adapter guides (Stripe, Metronome, Lago, custom) and terminology - #2
Merged
Merged
Conversation
…logy The docs site gets a Billing Adapters section with full guides for Stripe, Metronome, Lago and a custom billing adapter, and Getting Started no longer assumes Lago: choose a billing platform, install, configure pricing and packaging, verify. Wording follows how vCluster Labs talks about the product: tenant cluster, control plane cluster, AI Cloud, billing platform and billing adapter, node capacity tracking, and "reserved" only as a capacity type. Also fixed: the AI Clouds section layout on the landing page, the Metronome pricing example (pricing and presentation keys must form the metric's group key), v0.1 log lines quoted in troubleshooting, a note that billing states need a Stripe or Metronome webhook secret, the admission policy's reach for tenant clusters with their own nodes, horizontal scrolling at phone width, and gitignored key file names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
New Billing Adapters section in the docs sidebar, mirroring the adapter graphic on the landing page:
docs/stripe.html), the guide that was missing:docs/metronome.html): customers, billable metrics and their group keys, contracts, the Stripe link, pricing on dimensions, delivery, reconciliation, webhooks.docs/lago.html): the Lago walkthrough moved out of Getting Started, plus running the whole pipeline on a laptop with vind.docs/custom-adapter.html): the webhook adapter (event types, signature verification, retries), the ingest API, and writing a Go adapter. The example compiles against the repo.Getting Started is adapter-neutral now: choose a billing platform, install, configure pricing and packaging, verify. It had been Lago-only, with v0.1 commands and log output.
Terminology follows vCluster Labs usage across the docs, README, chart notes and demo script:
Fixes found along the way
billing_modein the pricing key..gitignorecovers the key file names the docs tell you to create (stripe-test-key,lago-api-key, and so on).Checked: internal links and anchors across all 11 pages,
helm lint,bash -n scripts/demo.sh, and a secrets scan of the diff (placeholders only).🤖 Generated with Claude Code