You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Unique code used to identify the billable metric associated with the API request. This code associates each event with the correct metric.
[optional]
description
String
Internal description of the billable metric.
[optional]
recurring
Boolean
Defines if the billable metric is persisted billing period over billing period. - If set to `true`: the accumulated number of units calculated from the previous billing period is persisted to the next billing period. - If set to `false`: the accumulated number of units is reset to 0 at the end of the billing period. - If not defined in the request, default value is `false`.
[optional]
field_name
String
Property of the billable metric used for aggregating usage data. This field is not required for `count_agg`.
[optional]
aggregation_type
String
Aggregation method used to compute usage for this billable metric.
[optional]
weighted_interval
String
Parameter exclusively utilized in conjunction with the `weighted_sum` aggregation type. It serves to adjust the aggregation result by assigning weights and proration to the result based on time intervals. When this field is not provided, the default time interval is assumed to be in `seconds`.