Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: usage/record capability definition #1562

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fforbeck
Copy link
Contributor

@fforbeck fforbeck commented Oct 11, 2024

Add usage/record Capability definition for Egress Traffic Tracking

Summary:

  • Introduced a new capability usage/record definition to track egress traffic metrics.
  • The w3upInfra upload-api will be updated to implement this new capability by leveraging Stripe's Usage Records API for accurate tracking and billing.

RFC: storacha/RFC#37

@fforbeck fforbeck changed the title feat: usage/record capability feat: usage/record capability definition Oct 11, 2024
@fforbeck fforbeck force-pushed the feat/egress-tracking branch 3 times, most recently from 01d4f07 to 845af69 Compare October 11, 2024 17:05
packages/capabilities/src/types.ts Outdated Show resolved Hide resolved
packages/capabilities/src/usage.js Outdated Show resolved Hide resolved
packages/upload-api/test/storage/usage-storage.js Outdated Show resolved Hide resolved
packages/w3up-client/src/capability/usage.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants