Skip to content

Commit

Permalink
adding registry syncer panels
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhuie19 committed Nov 4, 2024
1 parent ad10bf9 commit 4dd7268
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions observability-lib/dashboards/keystone-workflows/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 4dd7268

Please sign in to comment.