Skip to content

Commit

Permalink
chore: adjust doc comments
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
  • Loading branch information
csatib02 committed Dec 9, 2024
1 parent e43879c commit a7b4b39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/telemetry/v1alpha1/otlp_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/telemetry.kube-logging.dev_outputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a7b4b39

Please sign in to comment.