Skip to content

Commit

Permalink
vmsingle and vmagent: keep_input and ignore_first_samples for streami…
Browse files Browse the repository at this point in the history
…ng aggregation
  • Loading branch information
AndrewChubatiuk committed Jul 2, 2024
1 parent 60842c9 commit 20ff39d
Show file tree
Hide file tree
Showing 6 changed files with 21,485 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/operator/v1beta1/vmextra_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,12 @@ type StreamAggrRule struct {
// +optional
IgnoreOldSamples *bool `json:"ignore_old_samples,omitempty" yaml:"ignore_old_samples,omitempty"`

// IgnoreFirstIntervals instructs to ignore first N intervals after start.
IgnoreFirstIntervals *int `json:"ignore_first_intervals,omitempty" yaml:"ignore_first_intervals,omitempty"`

// KeepInput instructs whether to keep all the matched input samples after the aggregation
KeepInput *bool `json:"keep_input,omitempty" yaml:"keep_input,omitempty"`

// By is an optional list of labels for grouping input series.
//
// See also Without.
Expand Down
10 changes: 10 additions & 0 deletions api/operator/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 20ff39d

Please sign in to comment.