SignalFx Developers Guide

publish()

Publishes an input stream to make it visible outside of a computation

Syntax

publish(label=None)

Table 1. Parameter definitions
Parameter Type Description

label

string

Optional, default=None. Text that appears as the "plot label" on all of the charts based on this stream (see plot label). Use it to tie visualization information to metric time series, or as a way of distinguishing which metric timeseries came from which streams.

Returns a reference to the input stream object.

Examples

1
2
3
4
5
6
7
#Publish all api.latency time series in a chart
data('api.latency').publish()


#Publish the mean of all cpu.utilization metric time series with the label
#"cpu average" in a chart
data('cpu.utilization').mean().publish(label='cpu average')

© Copyright 2019 SignalFx.

Third-party license information