diff --git a/observability-lib/grafana/builder_test.go b/observability-lib/grafana/builder_test.go index 2c4f562532..7c4c213866 100644 --- a/observability-lib/grafana/builder_test.go +++ b/observability-lib/grafana/builder_test.go @@ -179,7 +179,7 @@ func TestBuilder_AddPanel(t *testing.T) { panel := grafana.NewStatPanel(&grafana.StatPanelOptions{ PanelOptions: &grafana.PanelOptions{ - Title: "Panel Title", + Title: grafana.Pointer("Panel Title"), }, }) diff --git a/observability-lib/grafana/dashboard_test.go b/observability-lib/grafana/dashboard_test.go index ecac1d04ab..704a73c655 100644 --- a/observability-lib/grafana/dashboard_test.go +++ b/observability-lib/grafana/dashboard_test.go @@ -21,10 +21,10 @@ func TestGenerateJSON(t *testing.T) { builder.AddPanel(grafana.NewTimeSeriesPanel(&grafana.TimeSeriesPanelOptions{ PanelOptions: &grafana.PanelOptions{ Datasource: "datasource-name", - Title: "ETH Balance", + Title: grafana.Pointer("ETH Balance"), Span: 12, Height: 6, - Decimals: 2, + Decimals: grafana.Pointer(2.0), Query: []grafana.Query{ { Expr: `eth_balance`,