Skip to content
Release: Australia · Updated: 2026-07-09 · Official documentation · View source

Metric aggregation configuration reference

The configuration object passed to the metric aggregation scripted extension point defines what to aggregate, how to aggregate it, and where to publish the result. The parameters that apply depend on the aggregation mode.

Configuration parameters

ParameterTypeApplies to modeRequiredDescription
modeStringBothRequiredAggregation mode. One of hierarchy or flat. The mode determines how source resources are selected and where the calculated metric is published. See Metric aggregation modes.
targetCIClassStringHierarchyRequired (hierarchy)CMDB class of the parent or target CI that receives the calculated metric, for example cmdb_ci_baseband_unit. The aggregation traverses CMDB relationships downward from each target CI to collect the matching source CIs.
sourceCIClassStringBothRequiredCMDB class of the source CIs whose raw metric is aggregated, for example cmdb_ci_mobile_cell.
sourceMetricStringBothRequiredName of the raw metric collected on the source CIs that is read as input to the aggregation.
aggregateStringBothRequiredAggregate function applied to the source metric values. One of avg, sum, max, min, count, or p95.
calculatedMetricNameStringBothRequiredName of the calculated metric that the aggregation produces and publishes.
unitStringBothOptionalUnit label applied to the calculated metric, for example Mbps.
levelIntegerHierarchyOptionalDepth limit that bounds how far the CMDB traversal descends from each target CI. Prevents the traversal from following relationships beyond the resources you intend to aggregate.
rangeStartStringFlatOptionalStart of a contiguous range of source resources identified by name, for example SIM010. Use with rangeEnd to select source CIs by range.
rangeEndStringFlatOptionalEnd of the contiguous range of source resources identified by name, for example SIM050.
filtersArrayFlatOptionalField filters that restrict the source CIs to those meeting a condition. Each element is an object with field, operator, and value. See Filter object.
anchorCiSysIdStringFlatRequired (flat)The sys_id of the anchor CI that holds the calculated metric. In flat mode the result is not tied to an existing parent CI, so you specify an anchor CI to hold it.

Filter object

Each element of the filters array selects source CIs that meet a single field condition.

PropertyTypeDescription
fieldStringName of the field on the source CI to evaluate, for example operational_status.
operatorStringComparison operator applied to the field, for example =.
valueStringValue the field is compared against, for example 1.

Parent Topic:Telecommunications Service Operations Management reference

Related topics

Metric aggregation modes

Configure a metric aggregation job