Documentation forAppOptics

Function: abs(set[])

Given an arbitrary number of series, returns the absolute value of the set by removing any present negative symbol.

Copy
abs([
   sum(s("foo.total", {"@host": "prod.web*"}))
])

Example:

The example below illustrates how abs() works. The chart on the left shows the raw metric with both positive and negative values. The chart on the right uses a composite with the abs() function.

composite_abs

When the APM Integrated Experience is enabled, AppOptics shares a common navigation and settings with the other integrated experiences' products. How you navigate AppOptics and access its features may vary from these instructions. For more information, go to the APM Integrated Experience documentation.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.