SignalFx Developers Guide

mean_plus_stddev()

Calculates the mean + n standard deviations of metric timeseries in the input stream

Syntax

Aggregation

mean_plus_stddev(stddevs=1, by=None)

Table 1. Parameter definitions
Parameter Type Description

stddevs

integer

Optional, default = 1. Number of standard deviations to add

by

string or list of strings

Names of properties to group the results by

Transformation

mean_plus_stddev(stddevs=1, over=None)

Table 2. Parameter definitions
Parameter Type Description

stddevs

integer

Optional, default = 1. Number of standard deviations to add

over

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

Duration over which to get the mean + standard deviations of the metric timeseries in the input stream

Both forms return a reference to the input stream object.

Examples

1
2
3
4
5
6
7
8
#Aggregation - mean plus 3 standard deviations by env
data('cpu.utilization').mean_plus_stddev(3, by='env')

#Aggregation - mean plus standard deviation by env and datacenter
data('cpu.utilization').mean_plus_stddev(by=['env', 'datacenter'])

#Transformation - cpu.utilization mean plus 2 standard deviations over that past 45 minutes
data('cpu.utilization').mean_plus_stddev(2, over='45m')

© Copyright 2019 SignalFx.

Third-party license information