Function: bottom(set[], options={})
The bottom method operates over the entire series across the given time-window. For each series returned in the set[]
list, the method will compute the given function (as specified in the options) across all points in the window. The output of that function will be a scalar value and it is used to generate a ranking of each series. From that ranking the bottom function will return one to N series, where the series are ordered from lowest to highest rank value. The following options are supported:
- count: how many series to return
- function: a function that defines the ranking algorithm by which the streams should be selected. The permitted functions are: min, max, mean, and sum. The default function is mean.
Example
The following expression will return the bottom 10 streams for the system.cpu.user metric based on the minimum value in the observed time period.
bottom(s("system.cpu.user", {"@host":"*"}), {"count": "10","function": "min"})
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.