Skip to content

Commit

Permalink
Update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
krzko committed Jul 25, 2022
1 parent 880358b commit 64d68c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/cli/metrics_counter_observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var generateMetricsCounterObserverCommand = &cli.Command{
Usage: "generate metrics of type counter, using observer",
Description: "CounterObserver demonstrates how to measure monotonic (non-decreasing) numbers",
Aliases: []string{"co"},
Hidden: true,
Action: func(c *cli.Context) error {
return generateMetricsCounterObserverAction(c)
},
Expand Down
1 change: 1 addition & 0 deletions internal/cli/metrics_counter_with_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var generateMetricsCounterWithLabelsCommand = &cli.Command{
Usage: "generate metrics of type counter with labels",
Description: "CounterWithLabels demonstrates how to add different labels (\"hits\" and \"misses\")",
Aliases: []string{"cwl"},
Hidden: true,
Action: func(c *cli.Context) error {
return generateMetricsCounterWithLabelsAction(c)
},
Expand Down
1 change: 1 addition & 0 deletions internal/cli/metrics_gauge_observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var generateMetricsGaugeObserverCommand = &cli.Command{
Usage: "generate metrics of type gauge, using observer",
Description: "GaugeObserver demonstrates how to measure non-additive numbers that can go up and down",
Aliases: []string{"go"},
Hidden: true,
Action: func(c *cli.Context) error {
return generateMetricsGaugeObserverAction(c)
},
Expand Down
1 change: 1 addition & 0 deletions internal/cli/metrics_up_down_counter_observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var generateMetricsUpDownCounterObserverCommand = &cli.Command{
Usage: "generate metrics of type up down counter, using observer",
Description: "UpDownCounterObserver demonstrates how to measure numbers that can go up and down",
Aliases: []string{"udco"},
Hidden: true,
Action: func(c *cli.Context) error {
return generateMetricsUpDownCounterObserverAction(c)
},
Expand Down

0 comments on commit 64d68c7

Please sign in to comment.