SignalFx Developers Guide

stddev()

Calculates the standard deviation of metrics in the input stream

Syntax

Aggregation

stddev(by=None)

Table 1. Parameter definitions
Parameter Type Description

by

string or list of strings

Optional, default=None. Names of properties to group the results by

Transformation

stddev(over=None)

Table 2. Parameter definitions
Parameter Type Description

over

Duration (number and duration units indicator: "s" = seconds, "m" = minutes, "h" = hours)

Optional, default=None. Duration of which to get the standard deviation of the input metrics

Both forms return a reference to the input stream object.

Examples

1
2
3
4
5
6
7
8
#Aggregation - stddev by env
data('memory.utilization').stddev(by='env')

#Aggregation - stddev by env and datacenter
data('memory.utilization').stddev(by=['env', 'datacenter'])

#Transformation - cpu.utilization stddev over the past 15 minutes
data('memory.utilization').stddev(over='15m')

© Copyright 2019 SignalFx.

Third-party license information