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:
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.
Configure the Event Source:
-
Select the Source Type from the drop-down list.
This could be a Streaming API or an Upload File.
-
Click the Select button to specify the event definition.
The event definition is a data schema and describes the structure of the event data. You can create a new event definition, select an existing one from the list, or import a definition.
Click the Field Mapping link at the lower right corner of the page to proceed with field mapping.
Field mapping involves mapping event header fields to target fields.
In the Required Fields section, select the Event Fields from the drop-down lists that are to be mapped to the corresponding Target Fields that are displayed.
If needed, specify additional mappings in the Optional Fields section.
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.