Skip to content

Per-provider metric catalog and cost preview #95

Open

Description

@somethingwithproof

Goal

Keep the metric catalog and the cost preview per provider.

Why

The cost preview (#41, PR #87) and the catalog model #91 just changed need per-provider data:

If these stay DigitalOcean-shaped, every new provider has to edit shared code.

Scope

  • Per-provider data: a catalog entry per provider, resource type and metric. It carries the unit, the resolution, a "needs agent" flag and the request cost.
  • Cost preview: the preview reads prices and request costs from the provider's catalog, and states the source and date of each price.
  • Needs-agent metrics: a metric that needs an agent is shown as unavailable, with the reason, until data arrives. It is never shown as zero.

Exit criteria

  • The DigitalOcean catalog is expressed in the per-provider form, with no change in behavior.
  • Unit tests for a second, fixture-only provider catalog.

Refs #41, #87, #91, #22, #76.

Activity

  1. added
    type: requirementA testable behavior the plugin must have
    area: driversProvider driver contract and implementations
    area: costRequest budgets, provider pricing, and estimates
    phase: futureResearch backlog, not scheduled
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: costRequest budgets, provider pricing, and estimatesarea: driversProvider driver contract and implementationsphase: futureResearch backlog, not scheduledpriority: normalOrdinary prioritytype: requirementA testable behavior the plugin must have

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions