SignalFx Developers Guide

count()

Count the number of inputs that are reporting data.

Syntax

count(inputstream)

Table 1. Parameter definitions
Parameter Type Description

inputstream

stream

An input stream

Returns a new stream object with the count of reporting metric time series.

Examples

1
2
3
#Find the count of cpu.idle metrics that are reporting
idle = data('cpu.idle')
value = count(idle).publish()

© Copyright 2019 SignalFx.

Third-party license information