Skip to content

Commit e16eeaa

Browse files
committed
Add NoValue option to Gauge panel builders
1 parent 6309c89 commit e16eeaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

observability-lib/grafana/panels.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ func NewBarGaugePanel(options *BarGaugePanelOptions) *Panel {
454454
Description(options.Description).
455455
Transparent(options.Transparent).
456456
Span(options.Span).
457+
NoValue(options.NoValue).
457458
Height(options.Height).
458459
Unit(options.Unit).
459460
ReduceOptions(
@@ -528,6 +529,7 @@ func NewGaugePanel(options *GaugePanelOptions) *Panel {
528529
Description(options.Description).
529530
Transparent(options.Transparent).
530531
Span(options.Span).
532+
NoValue(options.NoValue).
531533
Height(options.Height).
532534
Unit(options.Unit).
533535
ReduceOptions(

0 commit comments

Comments
 (0)