From 4dd72681d0295056be77917aff46d98724119ec1 Mon Sep 17 00:00:00 2001 From: patrickhuie19 Date: Mon, 4 Nov 2024 17:01:35 -0500 Subject: [PATCH] adding registry syncer panels --- .../keystone-workflows/component.go | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/observability-lib/dashboards/keystone-workflows/component.go b/observability-lib/dashboards/keystone-workflows/component.go index 131f3635d..c0bdac310 100644 --- a/observability-lib/dashboards/keystone-workflows/component.go +++ b/observability-lib/dashboards/keystone-workflows/component.go @@ -204,5 +204,37 @@ func general(p *Props) []*grafana.Panel { }, })) + panels = append(panels, grafana.NewTimeSeriesPanel(&grafana.TimeSeriesPanelOptions{ + PanelOptions: &grafana.PanelOptions{ + Datasource: p.MetricsDataSource.Name, + Title: "Registry Syncer Failures", + Description: "", + Span: 8, + Height: 8, + Query: []grafana.Query{ + { + Expr: `platform.registry_syncer.sync.failures{` + p.platformOpts.LabelQuery + `}`, + Legend: "", + }, + }, + }, + })) + + panels = append(panels, grafana.NewTimeSeriesPanel(&grafana.TimeSeriesPanelOptions{ + PanelOptions: &grafana.PanelOptions{ + Datasource: p.MetricsDataSource.Name, + Title: "Registry Syncer Launcher Failures", + Description: "", + Span: 8, + Height: 8, + Query: []grafana.Query{ + { + Expr: `platform.registry_syncer.launch.failures{` + p.platformOpts.LabelQuery + `}`, + Legend: "", + }, + }, + }, + })) + return panels }