abs(set[])¶
Given an arbitrary number of series, returns the absolute value of the set by removing any present negative symbol.
abs([
sum(s("foo.total", {"host": "prod.web*"}))
])
Example:
The example below illustrates how abs()
works. The chart above shows the raw metric with both
positive and negative values. The chart below is a composite using the abs()
function.