Create a custom metric aggregation implementation

  • Release version: Australia
  • Updated July 10, 2026
  • 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 All > System Scripted Extension Points > Scripted 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.

    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.