Stats Panel
7 min
the stats panel displays your data as a single prominent value it includes a query box to define the data and a set of settings to control how that value is calculated and visually presented when the panel type is set to stats, the following settings are available under the general tab panel name enter a name for your panel this appears as the panel title on the dashboard description enter a description to provide additional context about what the panel displays calculations select the aggregate calculation you want the panel to display available options include count, mean, max, min, total, and others this determines the single value shown prominently in the panel rename rename the label displayed alongside the stat value in the panel this is useful when the default query label is too technical or not meaningful to the viewer stat config control the formatting of the value displayed in the panel use the format dropdown to choose how the value is presented, such as number, percentage, or duration set the maximum number of decimal places to control precision optionally multiply the value by a number, or add a prefix and suffix to the displayed value standard options configure the visual presentation of the stat panel display mode choose between grid view, which presents multiple values in a grid layout, or table view, which displays values in a sortable table format text mode choose what information appears in the panel the label only, the value only, or both together color mode choose whether the color is applied to the value text only, or to the entire panel background color scheme select a single color to apply uniformly to all values, or use threshold based coloring so the color automatically changes when a value crosses a defined threshold threshold define threshold values to visually indicate when a stat crosses an important boundary a default color is shown for values that do not cross any threshold click add threshold to define additional threshold values, each with its own color threshold mode choose between absolute value (based on the actual data value) or relative percentage (based on a percentage of the range) when the stat value crosses a threshold, the panel color updates to the corresponding threshold color data links & actions add url links that users can access from within the panel value mappings map specific data values to custom display text and colors based on defined conditions when a value meets a condition, it is replaced with the mapped text and displayed in the mapped color click edit to add or modify mappings time range configure time range behavior for this panel independently from the dashboard override dashboard time range enable this to allow the panel to use its own time range instead of the one selected at the dashboard level time shift shift the panel’s start and end time by a specified expression use the minus ( ) operator to subtract time, with the same units supported by the dashboard time range expressions refer to time range expressions and settings docid\ jn8 ke6vhkt4h1ecoleym for supported units and syntax