SignalFx Developers Guide

not_between()

Only pass through data in the stream that is not between two specified values.

Syntax

not_between(low_limit, high_limit, low_inclusive=False, high_inclusive=False)

Table 1. Parameter definitions
Parameter Type Description

low_limit

number

The lower limit of the "don’t pass" filter

high_limit

number

The upper limit of the "don’t pass" filter

low_inclusive

boolean

Optional, default=False. If True, then low_limit is included in the filter

`high_inclusive

boolean

Optional, default=False. If True, then high_limit is included in the filter

Returns a reference to the input stream object.

Examples

1
2
#Only publish data when cpu.utilization is not between 20(inclusive) and 50
data('cpu.utilization').not_between(20, 50, True).publish()

© Copyright 2019 SignalFx.

Third-party license information