Skip to content

Research: confirm the DigitalOcean facts the design depends on #16

Open

Description

@somethingwithproof

Question

Each row of the DigitalOcean fact table changes the design if it is wrong, and the metrics API does not document its resolution or retention.

Method

With a custom-scoped token (droplet:read, load_balancer:read, monitoring:read) on a test team: list Droplets and load balancers with paging; read every Droplet and load balancer metric the catalog proposes over 1 hour, 1 day, and 7 days; record sample spacing, the newest sample's age, empty results without the metrics agent, and rate-limit headers; confirm 401 and 403 behavior with an expired and an under-scoped token.

Exit criteria

  • Every DigitalOcean row confirmed with request and response excerpts (secrets removed).
  • Native resolution and publication delay recorded per metric.
  • per_page maximum confirmed.

References

Dependencies

Activity

  1. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Documentation half done in #80 (merged): every fact for this provider was re-read against its source (provider facts). This issue stays open for the checks that need a test account with least-privilege credentials:

    • Read cpu and the four bandwidth series for one Droplet over 1 hour, 1 day, and 7 days; record sample spacing, newest sample age, and whether cpu values are cumulative (settles DO7, DO8, Droplet RRD step and conversion)
    • Read every proposed load balancer metric once; record label sets (settles DO14 and the load balancer catalog)
    • Call a metrics endpoint with an expired token and with a token lacking monitoring:read; list Droplets with per_page=200 (settles DO3, DO12)

    Each result goes here with request and response excerpts, secrets removed.

  2. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Answered by docs/research/provider-facts.md, added in PR #80.

  3. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Reopening: the research page lists live DigitalOcean checks that have not been run. Moved to M3: DigitalOcean and Cacti objects.

  4. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    First live run, 2026-11-15, using read-only requests against a test account with 5 Droplets, 2 of them with the metrics agent, and no load balancers. The results and the fix they led to are in #91. In short:

    • cpu needs the metrics agent, so it is no longer an agent-free default.
    • cpu is cumulative.
    • Samples are 120 s apart over a one-hour window.
    • A bad token returns 401.
    • per_page=200 is accepted.
    • The median round trip was 384 ms.

    Still open here: expired and under-scoped tokens (DO3), load balancer metrics (DO14), and paging past one page (DO13).

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: compatibilityCacti, PHP, and extension supportarea: driversProvider driver contract and implementationsphase: 0 researchMilestone 1 researchpriority: blockerStops its milestone until resolvedprovider: digitaloceanSpecific to DigitalOceantype: researchA question answered with evidence before design depends on it

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions