Creates a Unit of Measurement on a part.
Stores aggregation type and dimension information.
Name of the Unit of Measurement (UOM). Unit of Measurement is a unit of measure defined over a part offered by a Dev Org. A single part can have multiple unit of measurements defined over it. For example, a part can be ‘video call’, one UOM defined on this can be ‘number_of_calls’, other UOM can be ‘call_duration’ etc.Metric name should be unique across all UOMs in a Dev Org.Metric name can only contain alphanumeric characters (A-Z, a-z, and 0-9) and underscores (_). Metric name cannot start with a number and is case-insensitive.
Human readable name of the Unit of Measurement (UOM).
The product ID for which the Unit of Measurement (UOM) is defined.
Unit encapsulates the name of the unit and the type of the unit. For example, ‘#Number of API calls’ where name is ‘number_of_api_calls’ and type is ‘number’.
Description of the Unit of Measurement (UOM).
The list of dimensions that can be emitted as part of metrics data. Dimensions consist of list of key-value pairs. For example, if the UOM is ‘number_of_api_calls’, then dimensions can be [‘api_name’, ‘api_version’].Dimension keys can only contain alphanumeric characters (A-Z, a-z, and 0-9) and underscores (_). Dimension keys cannot start with a number and is case-insensitive.Dimension keys must be unique and it is not allowed to have more than one value with the same key.Metrics data ingested in DevRev metrics format will be grouped and aggregated based on the dimensions specified in UOM.
The part ID for which the Unit of Measurement (UOM) is defined. When defined, ingested metrics data will be associated with part and product specified in UOM.