SigNoz
Docs
PricingCustomers
Get Started - Free
Docs
IntroductionContributingMigrate from DatadogSigNoz API
OpenTelemetry
What is OpenTelemetryOpenTelemetry Collector GuideOpenTelemetry Demo
Community
Support
Slack
X
Launch Week
Changelog
Dashboard Templates
DevOps Wordle
Newsletter
KubeCon, Atlanta 2025
More
SigNoz vs DatadogSigNoz vs New RelicSigNoz vs GrafanaSigNoz vs Dynatrace
Careers
AboutTermsPrivacySecurity & Compliance
SigNoz Logo
SigNoz
All systems operational
HIPAASOC-2
SigNoz Cloud - This page applies to SigNoz Cloud editions.
Self-Host - This page applies to self-hosted SigNoz editions.

Functions for Extended Data Analysis

The Metrics Query Builder provides functions to enhance analytical capabilities.

Functions available in the Metrics Query Builder
Functions available in the Metrics Query Builder

Function Types

Exclusion Functions

Exclusion functions allow you to exclude data points based on certain conditions, such as values falling outside a specified range.

  • Cut Off Min — Excludes data points below a specified threshold
  • Cut Off Max — Ignores values above a certain point

Clamping Functions

Clamping functions constrain data points to a specified range instead of excluding them.

  • Clamp Min — Sets a floor value; any data point below the threshold is raised to the threshold
  • Clamp Max — Sets a ceiling value; any data point above the threshold is lowered to the threshold

Arithmetic Functions

Arithmetic functions enable mathematical operations to customize metric calculations.

  • Absolute — Returns the absolute value of data points
  • Running Diff — Computes the difference between consecutive data points in a time series
  • Log2 — Transforms data to a base-2 logarithmic scale
  • Log10 — Transforms data to a base-10 logarithmic scale

Smoothing Functions

Smoothing functions address volatile data through moving averages and similar techniques.

  • EWMA 3 — Exponentially Weighted Moving Average over 3 periods
  • EWMA 5 — Exponentially Weighted Moving Average over 5 periods
  • EWMA 7 — Exponentially Weighted Moving Average over 7 periods

Time Shift Functions

Time shift functions enable comparisons of data across different time periods, useful for analyzing trends, changes, or anomalies over time. Input time shift values in seconds (e.g., 3600 seconds = 1 hour).

Chain Functions

Combine two or more functions sequentially — such as applying a logarithmic scale after setting a minimum cutoff — to tailor your metric outputs precisely.

Chained functions
Chain two functions to get your required metrics

Example: Comparing Service Performance with Time Shift

The Time Shift function demonstrates practical value by comparing service call volumes across time intervals. For example, you can compare frontend service calls across a 1-hour interval to assess performance before and after deployments.

Time Shift function
Use the time shift function to compare data across different time periods
Compare performance of services
Check the performance of frontend service an hour apart with the help of time shift function

Last updated: May 18, 2026

Edit on GitHub

Was this page helpful?

Your response helps us improve this page.

Prev
Multi-Query Analysis
Next
Reference
On this page
Function Types
Exclusion Functions
Clamping Functions
Arithmetic Functions
Smoothing Functions
Time Shift Functions
Chain Functions
Example: Comparing Service Performance with Time Shift

Is this page helpful?

Your response helps us improve this page.