Skip to content

Commit

Permalink
fix: make observability command visible
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Oct 25, 2024
1 parent 18059f6 commit 2f59fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions cmd/observability/export/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ var grafanaDashboardTemplate []byte

func Cmd() *cobra.Command {
cmd := &cobra.Command{
Use: "observability",
Short: "Commands related to RollApp's component observability",
Use: "export",
Short: "Exports a baseline grafana dashboard for the RollApp's key metrics",
Run: func(cmd *cobra.Command, args []string) {
err := initconfig.AddFlags(cmd)
if err != nil {
Expand All @@ -38,7 +38,5 @@ func Cmd() *cobra.Command {
},
}

cmd.Flags().Bool("mock", false, "initialize the rollapp with mock backend")

return cmd
}
2 changes: 0 additions & 2 deletions cmd/observability/observability.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ func Cmd() *cobra.Command {
cmd := &cobra.Command{
Use: "observability",
Short: "Commands related to RollApp's component observability",
Run: func(cmd *cobra.Command, args []string) {
},
}

cmd.AddCommand(export.Cmd())
Expand Down

0 comments on commit 2f59fb5

Please sign in to comment.