|
|
@@ -22,20 +22,20 @@ The singlestat panel has a normal query editor to allow you define your exact me
|
|
|
|
|
|
{{< docs-imagebox img="/img/docs/v45/singlestat-value-options.png" class="docs-image--no-shadow" max-width="900px" >}}
|
|
|
|
|
|
-1. `Stats`: The Stats field let you set the function (min, max, average, current, total, first, delta, range) that your entire query is reduced into a single value with. This reduces the entire query into a single summary value that is displayed.
|
|
|
- * `min` - The smallest value in the series
|
|
|
- * `max` - The largest value in the series
|
|
|
- * `avg` - The average of all the non-null values in the series
|
|
|
- * `current` - The last value in the series. If the series ends on null the previous value will be used.
|
|
|
- * `total` - The sum of all the non-null values in the series
|
|
|
- * `first` - The first value in the series
|
|
|
- * `delta` - The total incremental increase (of a counter) in the series. An attempt is made to account for counter resets, but this will only be accurate for single instance metrics. Used to show total counter increase in time series.
|
|
|
- * `diff` - The difference betwen 'current' (last value) and 'first'.
|
|
|
- * `range` - The difference between 'min' and 'max'. Useful the show the range of change for a gauge.
|
|
|
-2. `Prefix/Postfix`: The Prefix/Postfix fields let you define a custom label to appear *before/after* the value. The `$__name` variable can be used here to use the series name or alias from the metric query.
|
|
|
-3. `Units`: Units are appended to the the Singlestat within the panel, and will respect the color and threshold settings for the value.
|
|
|
-4. `Decimals`: The Decimal field allows you to override the automatic decimal precision, and set it explicitly.
|
|
|
-5. `Font Size`: You can use this section to select the font size of the different texts in the Singlestat Panel, i.e. prefix, value and postfix.
|
|
|
+1. **Stats**: The Stats field let you set the function (min, max, average, current, total, first, delta, range) that your entire query is reduced into a single value with. This reduces the entire query into a single summary value that is displayed.
|
|
|
+ * **min** - The smallest value in the series
|
|
|
+ * **max** - The largest value in the series
|
|
|
+ * **avg** - The average of all the non-null values in the series
|
|
|
+ * **current** - The last value in the series. If the series ends on null the previous value will be used.
|
|
|
+ * **total** - The sum of all the non-null values in the series
|
|
|
+ * **first** - The first value in the series
|
|
|
+ * **delta** - The total incremental increase (of a counter) in the series. An attempt is made to account for counter resets, but this will only be accurate for single instance metrics. Used to show total counter increase in time series.
|
|
|
+ * **diff** - The difference betwen 'current' (last value) and 'first'.
|
|
|
+ * **range** - The difference between 'min' and 'max'. Useful the show the range of change for a gauge.
|
|
|
+2. **Prefix/Postfix**: The Prefix/Postfix fields let you define a custom label to appear *before/after* the value. The `$__name` variable can be used here to use the series name or alias from the metric query.
|
|
|
+3. **Units**: Units are appended to the the Singlestat within the panel, and will respect the color and threshold settings for the value.
|
|
|
+4. **Decimals**: The Decimal field allows you to override the automatic decimal precision, and set it explicitly.
|
|
|
+5. **Font Size**: You can use this section to select the font size of the different texts in the Singlestat Panel, i.e. prefix, value and postfix.
|
|
|
|
|
|
### Coloring
|
|
|
|
|
|
@@ -43,11 +43,11 @@ The coloring options of the Singlestat Panel config allow you to dynamically cha
|
|
|
|
|
|
{{< docs-imagebox img="/img/docs/v45/singlestat-color-options.png" max-width="500px" class="docs-image--right docs-image--no-shadow">}}
|
|
|
|
|
|
-1. `Background`: This checkbox applies the configured thresholds and colors to the entirety of the Singlestat Panel background.
|
|
|
-2. `Thresholds`: Change the background and value colors dynamically within the panel, depending on the Singlestat value. The threshold field accepts **2 comma-separated** values which represent 3 ranges that correspond to the three colors directly to the right. For example: if the thresholds are 70, 90 then the first color represents < 70, the second color represents between 70 and 90 and the third color represents > 90.
|
|
|
-3. `Colors`: Select a color and opacity
|
|
|
-4. `Value`: This checkbox applies the configured thresholds and colors to the summary stat.
|
|
|
-5. `Invert order`: This link toggles the threshold color order.</br>For example: Green, Orange, Red (<img class="no-shadow" src="/img/docs(v1/gyr.png">) will become Red, Orange, Green (<img class="no-shadow" src="/img/docs/v1/ryg.png">).
|
|
|
+1. **Background**: This checkbox applies the configured thresholds and colors to the entirety of the Singlestat Panel background.
|
|
|
+2. **Thresholds**: Change the background and value colors dynamically within the panel, depending on the Singlestat value. The threshold field accepts **2 comma-separated** values which represent 3 ranges that correspond to the three colors directly to the right. For example: if the thresholds are 70, 90 then the first color represents < 70, the second color represents between 70 and 90 and the third color represents > 90.
|
|
|
+3. **Colors**: Select a color and opacity
|
|
|
+4. **Value**: This checkbox applies the configured thresholds and colors to the summary stat.
|
|
|
+5. **Invert order**: This link toggles the threshold color order.</br>For example: Green, Orange, Red (<img class="no-shadow" src="/img/docs(v1/gyr.png">) will become Red, Orange, Green (<img class="no-shadow" src="/img/docs/v1/ryg.png">).
|
|
|
|
|
|
### Spark Lines
|
|
|
|
|
|
@@ -55,10 +55,10 @@ Sparklines are a great way of seeing the historical data related to the summary
|
|
|
|
|
|
{{< docs-imagebox img="/img/docs/v45/singlestat-spark-options.png" max-width="500px" class="docs-image--right docs-image--no-shadow">}}
|
|
|
|
|
|
-1. `Show`: The show checkbox will toggle whether the spark line is shown in the Panel. When unselected, only the Singlestat value will appear.
|
|
|
-2. `Full Height`: Check if you want the sparklines to take up the full panel height, or uncheck if they should be below the main Singlestat value.
|
|
|
-3. `Line Color`: This color selection applies to the color of the sparkline itself.
|
|
|
-4. `Fill Color`: This color selection applies to the area below the sparkline.
|
|
|
+1. **Show**: The show checkbox will toggle whether the spark line is shown in the Panel. When unselected, only the Singlestat value will appear.
|
|
|
+2. **Full Height**: Check if you want the sparklines to take up the full panel height, or uncheck if they should be below the main Singlestat value.
|
|
|
+3. **Line Color**: This color selection applies to the color of the sparkline itself.
|
|
|
+4. **Fill Color**: This color selection applies to the area below the sparkline.
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
@@ -70,10 +70,10 @@ Gauges gives a clear picture of how high a value is in it's context. It's a grea
|
|
|
|
|
|
{{< docs-imagebox img="/img/docs/v45/singlestat-gauge-options.png" max-width="500px" class="docs-image--right docs-image--no-shadow">}}
|
|
|
|
|
|
-1. `Show`: The show checkbox will toggle wether the gauge is shown in the panel. When unselected, only the Singlestat value will appear.
|
|
|
-2. `Min/Max`: This sets the start and end point for the gauge.
|
|
|
-3. `Threshold Labels`: Check if you want to show the threshold labels. Thresholds are set in the color options.
|
|
|
-4. `Threshold Markers`: Check if you want to have a second meter showing the thresholds.
|
|
|
+1. **Show**: The show checkbox will toggle wether the gauge is shown in the panel. When unselected, only the Singlestat value will appear.
|
|
|
+2. **Min/Max**: This sets the start and end point for the gauge.
|
|
|
+3. **Threshold Labels**: Check if you want to show the threshold labels. Thresholds are set in the color options.
|
|
|
+4. **Threshold Markers**: Check if you want to have a second meter showing the thresholds.
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|