SignalFx Developers Guide

promote()

Converts ("promotes") a custom property into a dimension

Syntax

promote(property) promote([property, …​]) promote(property, …​)

Table 1. Parameter definitions
Parameter Type Description

property

string or list of strings

One or more property names to promote to dimensions

Examples

1
2
3
4
5
6
7
data('cpu.utilization').promote('aws_availability_zone').publish()
#An example with correlation:
properties = ['aws_availability_zone', 'endpoint']
requests = data('requests').promote(properties)
cpu_usage = data('cpu.utilization').mean(by='aws_availability_zone')
#Output is each endpoint in each availability zone.
(100 * cpu_usage / requests).publish('cpu spent handling a request')

© Copyright 2019 SignalFx.

Third-party license information