Skip to content

Commit 20ff39d

Browse files
vmsingle and vmagent: keep_input and ignore_first_samples for streaming aggregation
1 parent 60842c9 commit 20ff39d

File tree

6 files changed

+21485
-0
lines changed

6 files changed

+21485
-0
lines changed

api/operator/v1beta1/vmextra_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,12 @@ type StreamAggrRule struct {
513513
// +optional
514514
IgnoreOldSamples *bool `json:"ignore_old_samples,omitempty" yaml:"ignore_old_samples,omitempty"`
515515

516+
// IgnoreFirstIntervals instructs to ignore first N intervals after start.
517+
IgnoreFirstIntervals *int `json:"ignore_first_intervals,omitempty" yaml:"ignore_first_intervals,omitempty"`
518+
519+
// KeepInput instructs whether to keep all the matched input samples after the aggregation
520+
KeepInput *bool `json:"keep_input,omitempty" yaml:"keep_input,omitempty"`
521+
516522
// By is an optional list of labels for grouping input series.
517523
//
518524
// See also Without.

api/operator/v1beta1/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)