Creating Product Meters

This topic explains how to create a Meter for collecting the data which you will use to set up usage-based pricing for specific Products your end customers will consume:

  • Any Aggregations that target a Product Meter also become specific to the same Product and can only be used to price Plans for that Product.

  • Product Meters can also be used to collect Product-specific user data you require to serve other business purposes.

Tip: Meters that are not Product-specific? You can also create Global Meters, which allow you to collect usage data which you can use to set up pricing across multiple Products. Any Aggregations that target a Global Meter also become Global and can then be used to price Plans belonging to any Product. See Creating Global Meters.

Understanding Meter Options! We strongly recommend that you review the options available for configuring Meters before you attempt to create them. See Reviewing Meter Options.

To create a Product Meter:

1. Select Metering>Meters. The Meters page opens and lists Meters by Product for All Products together with any Global Meters.

2. You can select or search for the Product you want to create a new Meter for:

  • Use the Products drop-down at top-right, select the Product you want to create the new Meter for. The Meters page adjusts and shows:

    • The selected Product and any existing Meters created for it.

    • Any Global Meters.

  • In the Search box at top-left, start to type in the name of a Meter belonging to the Product. The Meter pages adjusts as you type and shows:

    • The Meters whose name matches the entered text string under their Product.

    • Any Global Meters whose name matches the entered text string.

Tip: Global Meter? You can create a Global Meter, which is not tied to a specific Product. For more details, see Creating Global Meters.

3. Once you have filtered the Meters list for the Product you want to create a new Meter for, select Create Meter under the Product.

The Create page opens:

  • The Product is pre-selected.

  • Alternatively, you can skip Step 2 above to search/filter for the Product and select Create Meter immediately at top-right. If you do this you will then have to select the Product on the Create page when it opens.

4. Enter the Meter Details:

  • Name. Descriptive name for the Meter.

  • Code. Unique identifier for the Meter in the m3ter system. You will need this Code as a unique id when submitting API calls, such as a call to update a Meter.

    • Notes:

      • When you've entered a Name and clicked in the Code field, a Code is automatically entered based on the Name. You can then edit the auto-generated Code as required.

      • The Code string has a maximum length of 80 characters and must not contain non-printable or whitespace characters (except space), and cannot start/end with whitespace.

5. Add the Data Fields you need to collect usage data. For example, a field to collect data on the volume of files stored on your service:

  • Name. Descriptive name for the field.

  • Code. Unique Identifier for field. You will need this Code as a unique id when submitting API calls, such as a call to submit measurements for this field.

    • Notes:

      • When you've entered a Name and clicked in the Code field, a Code is automatically entered based on the Name. You can then edit the auto-generated Code as required.

      • The Code string has a maximum length of 80 characters and can only contain letters, numbers, underscore, and the dollar character, and must not start with a number. The same applies to the Code used for any Derived Fields you add to a Meter - see Step 6 below.

  • Category. Defines what type of usage data you want to collect using this field. Select a Measure field type for this example.

  • Unit. Defines the unit of measure, which is GiBy for this example.

Important: Units of Measure? We recommend that the units you use for your Data Fields conform to The Unified Code for Units of Measure (UCUM), which is designed to facilitate the communication between electronic systems of quantities with their units. In our worked example, we therefore use GiBy as the unit for gigabytes stored. For more details, see Units for Meter Fields - Examples.

6. Add any required Derived Fields or Custom Fields to the Meter:

7. Select Create. The Meter Details page opens:

8. If you want to create an Aggregation that targets one of the Meter's Data Fields or Derived Fields, then select Create Aggregation for that field:

  • You are taken directly to the Aggregations>Create page where the Product is pre-selected and the Meter and Target field under Meter Settings are also pre-selected.

  • When you complete the Aggregations>Create workflow, you are returned to the Meter Details page.

  • For more details, see Creating Product Aggregations.

9. If you want to edit a Meter's details, select the Edit button, make your changes, and click Update.

10. If you want to remove a Meter, return to the Meters page and select the Delete button for the Meter:

A confirmation popup opens.

11. Select Yes to confirm the delete action.

Next: Creating Global Meters



Additional Support

Login to the Support portal for additional help and to send questions to our Support team.