diff --git a/apis/fluentbit/v1alpha2/plugins/output/open_telemetry_types.go b/apis/fluentbit/v1alpha2/plugins/output/open_telemetry_types.go index 33abc459c..5d13907f4 100644 --- a/apis/fluentbit/v1alpha2/plugins/output/open_telemetry_types.go +++ b/apis/fluentbit/v1alpha2/plugins/output/open_telemetry_types.go @@ -44,6 +44,8 @@ type OpenTelemetry struct { *plugins.TLS `json:"tls,omitempty"` // Include fluentbit networking options for this output-plugin *plugins.Networking `json:"networking,omitempty"` + // Limit the maximum number of Chunks in the filesystem for the current output logical destination. + TotalLimitSize string `json:"totalLimitSize,omitempty"` } // Name implement Section() method @@ -98,5 +100,7 @@ func (o *OpenTelemetry) Params(sl plugins.SecretLoader) (*params.KVs, error) { kvs.Merge(net) } + plugins.InsertKVString(kvs, "storage.total_limit_size", o.TotalLimitSize) + return kvs, nil } diff --git a/charts/fluent-bit-crds/templates/fluentbit.fluent.io_clusteroutputs.yaml b/charts/fluent-bit-crds/templates/fluentbit.fluent.io_clusteroutputs.yaml index 656da75be..d99fe03de 100644 --- a/charts/fluent-bit-crds/templates/fluentbit.fluent.io_clusteroutputs.yaml +++ b/charts/fluent-bit-crds/templates/fluentbit.fluent.io_clusteroutputs.yaml @@ -3086,6 +3086,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' diff --git a/charts/fluent-bit-crds/templates/fluentbit.fluent.io_outputs.yaml b/charts/fluent-bit-crds/templates/fluentbit.fluent.io_outputs.yaml index 8a05c01e6..4563f823f 100644 --- a/charts/fluent-bit-crds/templates/fluentbit.fluent.io_outputs.yaml +++ b/charts/fluent-bit-crds/templates/fluentbit.fluent.io_outputs.yaml @@ -3086,6 +3086,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' diff --git a/config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml b/config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml index 49a3c21cb..f4ed038a8 100644 --- a/config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml +++ b/config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml @@ -3083,6 +3083,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' diff --git a/config/crd/bases/fluentbit.fluent.io_outputs.yaml b/config/crd/bases/fluentbit.fluent.io_outputs.yaml index eb855cd47..168eba6f0 100644 --- a/config/crd/bases/fluentbit.fluent.io_outputs.yaml +++ b/config/crd/bases/fluentbit.fluent.io_outputs.yaml @@ -3083,6 +3083,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' diff --git a/manifests/setup/fluent-operator-crd.yaml b/manifests/setup/fluent-operator-crd.yaml index 86eb5ae94..2efc83eee 100644 --- a/manifests/setup/fluent-operator-crd.yaml +++ b/manifests/setup/fluent-operator-crd.yaml @@ -7209,6 +7209,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' @@ -36922,6 +36926,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' diff --git a/manifests/setup/setup.yaml b/manifests/setup/setup.yaml index 99fe14a04..a18448968 100644 --- a/manifests/setup/setup.yaml +++ b/manifests/setup/setup.yaml @@ -7209,6 +7209,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces' @@ -36922,6 +36926,10 @@ spec: description: Hostname to be used for TLS SNI extension type: string type: object + totalLimitSize: + description: Limit the maximum number of Chunks in the filesystem + for the current output logical destination. + type: string tracesUri: description: 'Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces'