Documentation forAppOptics

Function: divide(set[2])

Takes a set of precisely 2 series. Uses the first (set[0]) as the dividend and the second (set[1]) as the divisor to generate a quotient series (i.e. set[0]/set[1]) as the return value.

If at any point in time there are not exactly two points (a dividend and a divisor) nothing is included in the result for that point in time. If the input set to divide() does not contain exactly two series, the return value will be an empty set.

divide([
    sum(s("memory_used",{"@host": "prod.web*"})),
    sum(s("memory_total",{"@host": "prod.web*"}))])

Navigation Notice: When the APM Integrated Experience is enabled, AppOptics shares a common navigation and enhanced feature set with other integrated experience products. How you navigate AppOptics and access its features may vary from these instructions.

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.