InitMetrics
Version 1.1 by Outhman Moustaghfir on 2024/02/01 12:57
InitMetrics Function Documentation
Overview
The InitMetrics function provides functionality to initialize metrics in a flexible way. It allows for the deletion of metrics, projections, and the initialization of projections with fixed values or XPath expressions.
Request Parameters
- metricName (Required): The alias of the metric to be initialized.
- projection (Optional): The specific projection to initialize or delete.
- value (Optional): The value used for initialization. For deleting metrics or projections, this parameter can be omitted.
- defaultValue (Optional): The default value used in case of XPath expression evaluation failure. Defaults to 0 if not provided.