From a7b4b398c8a35bb83bd85cd638228047aa21d655 Mon Sep 17 00:00:00 2001 From: Bence Csati Date: Mon, 9 Dec 2024 09:50:11 +0100 Subject: [PATCH] chore: adjust doc comments Signed-off-by: Bence Csati --- api/telemetry/v1alpha1/otlp_config.go | 1 + .../crds/telemetry.kube-logging.dev_outputs.yaml | 3 +++ config/crd/bases/telemetry.kube-logging.dev_outputs.yaml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/api/telemetry/v1alpha1/otlp_config.go b/api/telemetry/v1alpha1/otlp_config.go index 517cfae..19fed94 100644 --- a/api/telemetry/v1alpha1/otlp_config.go +++ b/api/telemetry/v1alpha1/otlp_config.go @@ -79,6 +79,7 @@ type BackOffConfig struct { // MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. // Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + // Default value is 0 to ensure that the data is never discarded. MaxElapsedTime *time.Duration `json:"max_elapsed_time,omitempty"` } diff --git a/charts/telemetry-controller/crds/telemetry.kube-logging.dev_outputs.yaml b/charts/telemetry-controller/crds/telemetry.kube-logging.dev_outputs.yaml index 564e3fa..d7cbeaf 100644 --- a/charts/telemetry-controller/crds/telemetry.kube-logging.dev_outputs.yaml +++ b/charts/telemetry-controller/crds/telemetry.kube-logging.dev_outputs.yaml @@ -183,6 +183,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: @@ -381,6 +382,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: @@ -606,6 +608,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: diff --git a/config/crd/bases/telemetry.kube-logging.dev_outputs.yaml b/config/crd/bases/telemetry.kube-logging.dev_outputs.yaml index 564e3fa..d7cbeaf 100644 --- a/config/crd/bases/telemetry.kube-logging.dev_outputs.yaml +++ b/config/crd/bases/telemetry.kube-logging.dev_outputs.yaml @@ -183,6 +183,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: @@ -381,6 +382,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: @@ -606,6 +608,7 @@ spec: description: |- MaxElapsedTime is the maximum amount of time (including retries) spent trying to send a request/batch. Once this value is reached, the data is discarded. If set to 0, the retries are never stopped. + Default value is 0 to ensure that the data is never discarded. format: int64 type: integer max_interval: