SignalFx Developers Guide

mean()

Find the average value of the inputs.

Syntax

mean(input, [input…​])

Table 1. Parameter definitions
Parameter Type Description

input

stream

One or more input streams

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