SignalFx Developers Guide

bottom()

Get the bottom values in the stream.

Syntax

bottom(count=None, percentage=None, by=None)

Table 1. Parameter definitions
Parameter Type Description

count

integer

Optional. Default is "None". The count of bottom metrics to pass through. This parameter is mutually exclusive with the percentage parameter.

percentage

Double in the range 0 to 1.0

The percentage of bottom metrics to pass through, expressed as a decimal. This parameter is mutually exclusive with the count parameter

by

single string or array of strings

Names of properties with which to group the stream

Examples

1
2
3
4
5
6
7
8
9
Returns a reference to the input _stream_ object.
#bottom 5 metrics
data('cpu.utilization').bottom(5)

#bottom 5 percent of the metrics, grouped by their `env` property
data('cpu.utilization').bottom(percentage=.05,by='env')

#bottom 10 metrics, grouped by their `env` and `datacenter` properties
data('cpu.utilization').bottom(10, by=['env','datacenter'])

© Copyright 2019 SignalFx.

Third-party license information