Skip to content

Gauge

Gauge panel - circular gauge with thresholds.

Use for showing a single value against a range.

<Gauge
title="CPU Load"
unit="percent"
min={0}
max={100}
thresholds={{ 70: 'yellow', 90: 'red' }}
>
avg(system_load1)
</Gauge>
// With threshold labels and custom sizing
<Gauge
title="Memory"
unit="percent"
showThresholdLabels
minVizWidth={100}
minVizHeight={100}
>
avg(memory_usage_percent)
</Gauge>
PropTypeDefaultDescription
unitUnit-Display unit
decimalsnumber-Decimal places
minnumber-Minimum value
maxnumber-Maximum value
thresholdsThresholdSpec-Threshold configuration
showThresholdLabelsboolean-Show threshold labels on gauge
showThresholdMarkersboolean-Show threshold markers on gauge
overridesOverrideConfig[]-Field overrides for series-specific styling
transformationsTransformation[]-Data transformations
minVizWidthnumber-Minimum visualization width in pixels
minVizHeightnumber-Minimum visualization height in pixels
sizingBarGaugeSizing-Sizing mode
orientationVizOrientation-Visualization orientation
reduceOptionsReduceDataOptions-Data reduction options (advanced)
textTextFormattingOptions-Text formatting options

Inherits from BasePanelProps