SignalFx Developers Guide

percentile()

Get the nth percentile of the inputs.

Syntax

percentile(pct, input, [input…​])

Table 1. Parameter definitions
Parameter Type Description

pct

Double in the range 0.0 (exclusive) to 100.0 (inclusive)

The percentile to calculate over all the inputs

input

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