Skip to content

Commit 3638ae1

Browse files
committed
chore: make generate
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent f6dc72e commit 3638ae1

File tree

3 files changed

+243
-0
lines changed

3 files changed

+243
-0
lines changed

api/telemetry/v1alpha1/zz_generated.deepcopy.go

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

charts/telemetry-controller/crds/telemetry.kube-logging.dev_outputs.yaml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,92 @@ spec:
144144
format: duration
145145
type: string
146146
type: object
147+
file:
148+
description: File defines configuration for the file exporter.
149+
properties:
150+
append:
151+
description: |-
152+
Mode defines whether the exporter should append to the file.
153+
Options:
154+
- false[default]: truncates the file
155+
- true: appends to the file.
156+
type: boolean
157+
compression:
158+
description: |-
159+
Compression Codec used to export telemetry data
160+
Supported compression algorithms:`zstd`
161+
enum:
162+
- zstd
163+
type: string
164+
encoding:
165+
description: |-
166+
Encoding defines the encoding of the telemetry data.
167+
If specified, it overrides `FormatType` and applies an encoding extension.
168+
type: string
169+
flush_interval:
170+
description: |-
171+
FlushInterval is the duration between flushes.
172+
See time.ParseDuration for valid values.
173+
format: int64
174+
type: integer
175+
format:
176+
type: string
177+
group_by:
178+
description: GroupBy enables writing to separate files based on
179+
a resource attribute.
180+
properties:
181+
enabled:
182+
description: Enables group_by. When group_by is enabled, rotation
183+
setting is ignored. Default is false.
184+
type: boolean
185+
max_open_files:
186+
description: |-
187+
MaxOpenFiles specifies the maximum number of open file descriptors for the output files.
188+
The default is 100.
189+
type: integer
190+
resource_attribute:
191+
description: |-
192+
ResourceAttribute specifies the name of the resource attribute that
193+
contains the path segment of the file to write to. The final path will be
194+
the Path config value, with the * replaced with the value of this resource
195+
attribute. Default is "fileexporter.path_segment".
196+
type: string
197+
type: object
198+
path:
199+
description: Path of the file to write to. Path is relative to
200+
current directory.
201+
type: string
202+
rotation:
203+
description: |-
204+
Rotation defines an option about rotation of telemetry files. Ignored
205+
when GroupByAttribute is used.
206+
properties:
207+
localtime:
208+
description: |-
209+
LocalTime determines if the time used for formatting the timestamps in
210+
backup files is the computer's local time. The default is to use UTC
211+
time.
212+
type: boolean
213+
max_backups:
214+
description: |-
215+
MaxBackups is the maximum number of old log files to retain. The default
216+
is to 100 files.
217+
type: integer
218+
max_days:
219+
description: |-
220+
MaxDays is the maximum number of days to retain old log files based on the
221+
timestamp encoded in their filename. Note that a day is defined as 24
222+
hours and may not exactly correspond to calendar days due to daylight
223+
savings, leap seconds, etc. The default is not to remove old log files
224+
based on age.
225+
type: integer
226+
max_megabytes:
227+
description: |-
228+
MaxMegabytes is the maximum size in megabytes of the file before it gets
229+
rotated. It defaults to 100 megabytes.
230+
type: integer
231+
type: object
232+
type: object
147233
fluentforward:
148234
description: Configuration for the fluentforward exporter.
149235
properties:

config/crd/bases/telemetry.kube-logging.dev_outputs.yaml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,92 @@ spec:
144144
format: duration
145145
type: string
146146
type: object
147+
file:
148+
description: File defines configuration for the file exporter.
149+
properties:
150+
append:
151+
description: |-
152+
Mode defines whether the exporter should append to the file.
153+
Options:
154+
- false[default]: truncates the file
155+
- true: appends to the file.
156+
type: boolean
157+
compression:
158+
description: |-
159+
Compression Codec used to export telemetry data
160+
Supported compression algorithms:`zstd`
161+
enum:
162+
- zstd
163+
type: string
164+
encoding:
165+
description: |-
166+
Encoding defines the encoding of the telemetry data.
167+
If specified, it overrides `FormatType` and applies an encoding extension.
168+
type: string
169+
flush_interval:
170+
description: |-
171+
FlushInterval is the duration between flushes.
172+
See time.ParseDuration for valid values.
173+
format: int64
174+
type: integer
175+
format:
176+
type: string
177+
group_by:
178+
description: GroupBy enables writing to separate files based on
179+
a resource attribute.
180+
properties:
181+
enabled:
182+
description: Enables group_by. When group_by is enabled, rotation
183+
setting is ignored. Default is false.
184+
type: boolean
185+
max_open_files:
186+
description: |-
187+
MaxOpenFiles specifies the maximum number of open file descriptors for the output files.
188+
The default is 100.
189+
type: integer
190+
resource_attribute:
191+
description: |-
192+
ResourceAttribute specifies the name of the resource attribute that
193+
contains the path segment of the file to write to. The final path will be
194+
the Path config value, with the * replaced with the value of this resource
195+
attribute. Default is "fileexporter.path_segment".
196+
type: string
197+
type: object
198+
path:
199+
description: Path of the file to write to. Path is relative to
200+
current directory.
201+
type: string
202+
rotation:
203+
description: |-
204+
Rotation defines an option about rotation of telemetry files. Ignored
205+
when GroupByAttribute is used.
206+
properties:
207+
localtime:
208+
description: |-
209+
LocalTime determines if the time used for formatting the timestamps in
210+
backup files is the computer's local time. The default is to use UTC
211+
time.
212+
type: boolean
213+
max_backups:
214+
description: |-
215+
MaxBackups is the maximum number of old log files to retain. The default
216+
is to 100 files.
217+
type: integer
218+
max_days:
219+
description: |-
220+
MaxDays is the maximum number of days to retain old log files based on the
221+
timestamp encoded in their filename. Note that a day is defined as 24
222+
hours and may not exactly correspond to calendar days due to daylight
223+
savings, leap seconds, etc. The default is not to remove old log files
224+
based on age.
225+
type: integer
226+
max_megabytes:
227+
description: |-
228+
MaxMegabytes is the maximum size in megabytes of the file before it gets
229+
rotated. It defaults to 100 megabytes.
230+
type: integer
231+
type: object
232+
type: object
147233
fluentforward:
148234
description: Configuration for the fluentforward exporter.
149235
properties:

0 commit comments

Comments
 (0)