SignalFx Developers Guide

sample_stddev()

Calculates the sample standard deviation of metrics in the input stream. This calculation is less biased than the stddev() method when the input stream represents a small population.

Syntax

Aggregation

sample_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 output by

Transformation

sample_stddev(over=None)

Table 2. Parameter definitions
Parameter Type Description

over

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

Duration over which to get the sample 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 - sample stddev by env
data('cpu.utilization').sample_stddev(by='env')

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

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

© Copyright 2019 SignalFx.

Third-party license information