Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello OpenMeter Community,

We need to manage plans and quotas at both the account level and the individual user level (an account contains one or more users).

Our current understanding is that OpenMeter's subjects are primarily "accounts."

The currently proposed approach involves:

  • Treating each account and each user as a separate "subject" in OpenMeter.
  • Managing user-to-account associations and subscription assignments externally to OpenMeter.

This approach may require publishing two separate usage events for a single operation (one for user, one for account metering), raising concerns about consistency.

We've also explored an approach of using account subjects with user IDs as event properties and dynamically creating enforcement rules based on user ID grouping.
This is advised against in OpenMeter documentation (https://openmeter.io/docs/metering/guides/best-practices#group-by).

We're looking for guidance on:

  • More direct or idiomatic ways in OpenMeter to manage quotas for both accounts and individual users.
  • Potential enhancements to the "seat-based pricing" feature for individual seat metering.
  • Recommended methods for publishing events to ensure consistency when both account and user-level metering are required from a single operation.

Any insights or examples are greatly appreciated!

You must be logged in to vote

Hi @ron-placer,
We're working on consolidating subjects with customers and you'll be able to specify multiple event subjects in a customer's usage attribution: https://openmeter.io/blog/updates-to-the-subject-apis#-allow-assigning-multiple-subjects-to-a-customer
I'll notify you once we publish this change in the next version.

Replies: 1 comment · 1 reply

Comment options

Hi @ron-placer,
We're working on consolidating subjects with customers and you'll be able to specify multiple event subjects in a customer's usage attribution: https://openmeter.io/blog/updates-to-the-subject-apis#-allow-assigning-multiple-subjects-to-a-customer
I'll notify you once we publish this change in the next version.

You must be logged in to vote
1 reply
@ron-placer
Comment options

Hi!

Thank you for the update. This sounds like exactly what we need for our multi-level metering requirements. We'll be sure to check it out as soon as the next version is published.

Answer selected by ron-placer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.