SignalFx Developers Guide

percentile()

Get the nth percentile of the inputs.

Syntax

percentile(pct, inputstream [,inputstream…])

Table 1. Parameter definitions
Parameter Type Description

pct

Double, 0.0 < pct ≤ 100.0

The percentile to calculate over all the inputs

inputstream

stream

One or more input streams

Returns a new stream object with the nth percentile over all the inputs

Examples

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

© Copyright 2019 SignalFx.

Third-party license information