Reviewing Meter Options - m3ter Documentation

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.


You can set up Meters to collect usage data on your end customer activity when they consume your products and services. For example:

Meters offer you wide-ranging flexibility when configuring the types of data you need to collect to support the usage-based pricing models you want to apply to your products and services.

This topic explains the difference between Product and Global Meters and the configuration options available for Meters:

Product Meters vs. Global Meters

You can create Meters that belong to a specific Product or create Global Meters. Usage data Meters collect:

Aggregations targeting Meters:

Switching Meters between Product-specific and Global:

Configuring Meter Fields

When you create and set up a Meter, the key configuration is adding fields to collect data:

Data Field Options

You can add Data Fields to a Meter to collect:

Each Meter can have up to a maximum of fifteen Data Fields. For each field, you can define the type of data you want the field to collect using the Category attribute. There are eight options:

Important: When setting up Measures on Meters, consider how you want to aggregate your usage data! The options for Aggregating usage data collected by a Meter are constrained by the Categories you select for a Meter’s Data Fields.

Derived Fields

Each Meter can have up to a maximum of fifteen Derived Fields. The values of a Derived Field are always the result of a calculation or function performed on Meter Data Fields. Derived Fields add a powerful extra dimension of flexibility for setting up the data on which your usage-based pricing plans will be based.

Tip: Examples? The Derived Fields for Meters - Examples and Supported Syntax topic offers examples of how to set up Derived Fields on your Meters.

Units for Meter Fields - Examples

For numeric Meter Data and Derived Fields - Measure, Income, or Cost - we recommend conforming to the The Unified Code for Units of Measure (UCUM).

Measures of Data Storage

For example, services that want to price on sum of storage used:

Measures of Rates of Consumption

For example, services that want to price on maximum rates of consumption:

Measures of Computing Resource

For example, services that want to price on sum of memory allocation over time:

Non-Units of Measure - Counts

Counts aren’t strictly units of measure, but within UCUM, curly braces can be used to represent them. For example, a service that wants to price on the basis of number of API calls:

Tip: Other Resources? You might also like to consult the Wikipedia article on the Unified Code for Units of Measure.

Custom Fields

You can define Custom Fields when creating a Meter or edit the Meter at a later date. Custom Fields you create for an individual Meter override those created at the Organizational level. We recommend reviewing Working with Custom Fields before you create and use Custom Fields.