---
sourceDocument: Brazil Telecommunications Service Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/telecom-service-ops

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Telecommunications Service Operations Management

ft:clusterId :

    - tsom

bundleId :

    - tsom

workflow :

    - Customer and Industry


---

# Create a custom metric aggregation implementation

# Create a custom metric aggregation implementation {#ariaid-title1}

Release version: Brazil  
Updated November 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Create a custom implementation of the metric aggregation scripted extension point when the default aggregation modes don't cover a calculation you need.

## Before you begin

Role required: tsom_visibility_admin

## About this task

The metric aggregation scripted extension point includes a default implementation that covers the standard aggregation modes. If the default implementation doesn't cover the aggregation you need, create your own
implementation of the extension point. Your implementation runs without requiring a product change.

## Procedure

1. Navigate to AllSystem Scripted Extension PointsScripted Extension Points.
2. Search for `TSOMMetricAggregator`.
3. Select Create implementation.
4. In the Script field, define your aggregation logic.  
   Provide the aggregation configuration that your implementation uses, following the same configuration structure as the default aggregation modes.
5. In the Order field, set the execution priority for your implementation.
6. Select Submit.
{#create-custom-metric-aggregation-implementation__steps_hdy_1pk_rjc}

## Result

Your custom implementation is active. A scheduled job that calls the metric aggregation scripted extension point runs your implementation along with the other registered implementations.
**Related concepts**   

* [Metric aggregation modes](https://www.servicenow.com/docs/YWOJmbyfSpVWBHtYFEntJQ "Metric aggregation rolls up raw metrics collected from individual network resources into calculated metrics on parent or anchor configuration items (CIs). The aggregation mode determines how source resources are selected and where the aggregated result is published.")
* [Metric aggregation scripted extension](https://www.servicenow.com/docs/nKBY7x8VPAoMAPOnIaxK7Q "You can define custom KPI calculations on top of raw metrics collected from source systems. Configurable formulas combine, aggregate, and label metrics without requiring code changes to the platform.")  
**Related tasks**   

* [Configure a metric aggregation job](https://www.servicenow.com/docs/WMzpe4k1_hM~rdyt6dVlCg "Configure a scheduled job to aggregate raw metrics into a calculated metric on a parent or anchor configuration item (CI). Aggregated metrics let you view performance data at a higher level of the network.")  
**Related reference**   

* [Metric aggregation configuration reference](https://www.servicenow.com/docs/GsflslmFF_ggscCXPCxb0g "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.")

*[\>]: and then


