Skip to content

[Redence verify] Observability & metrics — record a new event type to D1 analytics #97

Description

@PAMulligan

Redence capability: Observability & metrics (Backend)

Repo: Claudius. Existing: worker/src/analytics.ts writes events to Cloudflare D1.

Substantive change: capture a new, useful metric end-to-end — e.g. record rate-limit rejections (or request latency) as a new analytics event type, with the D1 write and any needed migration/column. Add a Vitest test asserting the event is recorded with the right fields. The diff must show real instrumentation, not a comment.

Done when: change + test merged to main, checks green. Include the current Redence proof token (Observability & metrics verify page) in the commit message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions