SignalFx Developers Guide

promote()

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

Syntax

  • promote(property)

  • promote([property,property,…])

  • promote(property,property,…)

  • promote([by=property])

Table 1. Parameter definitions
Parameter Type Description

property

string, list of strings, or series of string arguments

Required: 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