Feature Requests
Open

Feature Request: Metadata Filtering & Dodo Sync Support for Usage Events

Summary

We would like to request the following enhancements for usage events:

  1. Support filtering usage events by custom metadata fields in the usage_event_list API.
  2. Add usage event synchronization support to dodo-sync.

Problem

Many applications emit usage events with rich metadata to attribute costs across projects, sessions, operations, or other business dimensions. While this metadata is used for billing, it cannot currently be used to query or retrieve usage events through the API.

Additionally, dodo-sync currently syncs customers, payments, subscriptions, and licenses, but not usage events. This requires developers to build and maintain their own synchronization pipeline.

Proposed Enhancements

  • Extend usage_event_list to support filtering by metadata fields or arbitrary metadata key-value pairs.
  • Add usage event synchronization support to dodo-sync, allowing merchants to keep their analytics and reporting systems in sync without implementing custom ingestion pipelines.

Benefits

  • Simplifies reporting and analytics by custom business dimensions.
  • Reduces the need to paginate and aggregate all usage events externally.
  • Enables easier integration with data warehouses and BI tools.
  • Improves developer experience by allowing usage events to be synchronized alongside other Dodo resources.

0 Comments

Sign in to comment

No comments yet. Be the first to share your thoughts!