Documentation forAppOptics

Function: last_fill(set[])

This function is an alias to fill, with the value parameter set to the metric’s last recorded value displayed within the viewable graph.

last_fill(s("AWS.ELB.HTTPCode_Backend_5XX", {"name": "prod.web*"}, {period: "60"}))

In order for last_fill() to work, the metric must have its period attribute set, or you must supply period to the series function.

Example:

In the graph below, the metric has many streams which report intermittently:

composite-last-fill-gaps

Here is the same metric with last_fill() applied:

last_fill(s("json.errors.count",{"name": "prod.web*"}, {period: "300"}))

composite-last-fill

The last recorded value within the viewable graph is repeated for the remaining intervals. This function is not recommended to be used with alerts as the last value only applies to the viewable graph, and will not pull the last value of historical data.

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.