Skip to content

Commit

Permalink
Add a collectOnly flag to the metric specification
Browse files Browse the repository at this point in the history
  • Loading branch information
jgustie committed Oct 30, 2020
1 parent 09256e2 commit 2cfc501
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/redskyapi/experiments/v1alpha1/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ type Metric struct {
Name string `json:"name"`
// The flag indicating this metric should be minimized.
Minimize bool `json:"minimize,omitempty"`
// The flag indicating this metric is not optimized.
CollectOnly bool `json:"collectOnly,omitempty"`
}

type ConstraintType string
Expand Down

0 comments on commit 2cfc501

Please sign in to comment.