Skip to content

Commit

Permalink
feat(keystone): alerting slack contact point with notification policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrax1 committed Nov 6, 2024
1 parent 322f1d5 commit 09b146c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions observability-lib/cmd/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ func BuildDashboardWithType(options *BuildOptions) (*grafana.Observability, erro
Name: options.Name,
MetricsDataSource: options.MetricsDataSource,
LogsDataSource: options.LogsDataSource,
SlackChannel: options.SlackChannel,
SlackWebhookURL: options.SlackWebhookURL,
})
default:
return nil, errors.New("invalid dashboard type")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func registrySyncer(p *Props) []*grafana.Panel {
Height: 8,
Query: []grafana.Query{
{
Expr: `platform_registrysyncer_sync_failures{` + p.QueryFilters + `}`,
Expr: `platform_registrysyncer_sync_failures_total{` + p.QueryFilters + `}`,
Legend: "",
},
},
Expand Down

0 comments on commit 09b146c

Please sign in to comment.