-
Notifications
You must be signed in to change notification settings - Fork 177
21.2 Readiness cost metering #1063
Copy link
Copy link
Open
Labels
Stellar WaveDrips Wave Program - opt an issue in by applying this labelDrips Wave Program - opt an issue in by applying this labelarea:workersWorker layer and worker marketplace (packages/worker-core)Worker layer and worker marketplace (packages/worker-core)blockedWaiting on an upstream issueWaiting on an upstream issuecomplexity:medium150 points150 pointstype:feature--force--forcetype:opsDeployment, CI, secrets, release mechanicsDeployment, CI, secrets, release mechanics
Milestone
Description
Metadata
Metadata
Assignees
Labels
Stellar WaveDrips Wave Program - opt an issue in by applying this labelDrips Wave Program - opt an issue in by applying this labelarea:workersWorker layer and worker marketplace (packages/worker-core)Worker layer and worker marketplace (packages/worker-core)blockedWaiting on an upstream issueWaiting on an upstream issuecomplexity:medium150 points150 pointstype:feature--force--forcetype:opsDeployment, CI, secrets, release mechanicsDeployment, CI, secrets, release mechanics
Labels:
type:featurearea:workerstype:opsMilestone: Phase 4 - Workers W3: backstop
Effort: Medium
Depends on: 21.1
Description
§C.7 is explicit: model the readiness cost before pricing, because it is not pure
margin. Monitoring cost scales with the number of backstopped subscriptions
regardless of how many ever need intervention.
Meter it: RPC calls, export scans, compute and storage attributable per
subscription per window. Without this, the pricing page in 21.3 is a guess and
the product's margin is discovered in a monthly bill.
Acceptance criteria
and storage
docs/design/with the measured numbers, not estimatesImplementation notes
packages/pulse-webhooks/src/metrics.ts,PrometheusWebhookMetrics.tsandOtelWebhookMetrics.ts- one metrics idiomacross the project.
and the shape is what decides whether the tier is viable at scale.
lever; measure before optimizing it.
Affected files
packages/worker-core/src/backstop/costMeter.tspackages/worker-core/src/metrics.tsdocs/design/backstop-cost-model.md