SignalFx Developers Guide

mean()

Find the average value of the inputs.

Syntax

mean(inputstream, [inputstream…​])

Table 1. Parameter definitions
Parameter Type Description

inputstream

stream

An input stream

Returns a new stream object with the mean of all inputs.

Examples

1
2
3
4
#Find the mean of the percentage of cpu.idle and cpu.user metrics
idle = data('cpu.idle')
user = data('cpu.user')
value = mean(idle, user).publish()

© Copyright 2019 SignalFx.

Third-party license information