SignalFx Developers Guide

median()

Find the median value of the inputs.

Syntax

median(input, [input…​]))

Table 1. Parameter definitions
Parameter Type Description

input

stream

One or more input streams

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

Examples

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

© Copyright 2019 SignalFx.

Third-party license information