Create a meter based on a meter type
Create a meter using predefined types that send results to Zuora Billing.
You can create a meter based on a set of predefined meter types. All predefined meter types send the results to Zuora Billing. The following predefined meter types are available:
| Meter Type | Definition |
|---|---|
| Direct | Provides a way to ingest events through an API and maps them directly, without any transformations, to Usage Records in Zuora Billing. |
| Delta | Returns the difference between the current and previous event quantities according to the event time and loads events as Usage Records to Zuora Billing. |
| Sum | Returns the sum of the event quantity during a specific period and loads events as Usage Records to Zuora Billing. |
| Max | Returns the event maximum quantity during the accumulation period and loads events as Usage Records to Zuora Billing. |
| Min | Returns the event minimum quantity during the accumulation period and loads events as Usage Records to Zuora Billing. |
| Count | Returns the count of events during the accumulation period and loads events as Usage Records to Zuora Billing. |
Meters map event data fields to target fields. You can configure the required and optional fields. It also allows the association of the custom fields on the optional fields.
You can preview the example payload and event ingestion data of the meters.
The meter is created. Click Test to initiate a test run. A test run displays simulated output for validating the meter, but it does not write records to the configured target, including the Usage table. Click Run to perform a live run and write records to the target.
Use Test to validate meter logic without affecting target data. Use Run when you want Mediation to write records to the target.