cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/groups_sdk.py +3 -0
- cribl_control_plane/mappings.py +1185 -0
- cribl_control_plane/models/__init__.py +149 -105
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +52 -0
- cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
- cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
- cribl_control_plane/models/input.py +14 -14
- cribl_control_plane/models/inputappscope.py +16 -20
- cribl_control_plane/models/inputconfluentcloud.py +0 -110
- cribl_control_plane/models/inputcriblhttp.py +16 -20
- cribl_control_plane/models/inputcribllakehttp.py +16 -20
- cribl_control_plane/models/inputcribltcp.py +16 -20
- cribl_control_plane/models/inputdatadogagent.py +16 -20
- cribl_control_plane/models/inputedgeprometheus.py +36 -44
- cribl_control_plane/models/inputelastic.py +27 -44
- cribl_control_plane/models/inputeventhub.py +0 -118
- cribl_control_plane/models/inputfirehose.py +16 -20
- cribl_control_plane/models/inputgrafana.py +31 -39
- cribl_control_plane/models/inputhttp.py +16 -20
- cribl_control_plane/models/inputhttpraw.py +16 -20
- cribl_control_plane/models/inputkafka.py +0 -108
- cribl_control_plane/models/inputloki.py +16 -20
- cribl_control_plane/models/inputmetrics.py +16 -20
- cribl_control_plane/models/inputmodeldriventelemetry.py +16 -20
- cribl_control_plane/models/inputopentelemetry.py +15 -19
- cribl_control_plane/models/inputprometheus.py +36 -44
- cribl_control_plane/models/inputprometheusrw.py +16 -20
- cribl_control_plane/models/inputsplunk.py +16 -20
- cribl_control_plane/models/inputsplunkhec.py +15 -19
- cribl_control_plane/models/inputsyslog.py +31 -39
- cribl_control_plane/models/inputsystemmetrics.py +10 -20
- cribl_control_plane/models/inputtcp.py +16 -30
- cribl_control_plane/models/inputtcpjson.py +16 -20
- cribl_control_plane/models/inputwindowsmetrics.py +10 -20
- cribl_control_plane/models/inputwineventlogs.py +0 -14
- cribl_control_plane/models/inputwizwebhook.py +16 -20
- cribl_control_plane/models/inputzscalerhec.py +15 -19
- cribl_control_plane/models/mappingruleset.py +53 -0
- cribl_control_plane/models/mappingrulesetevalmappingfunction.py +71 -0
- cribl_control_plane/models/mappingrulesetgenericmappingfunction.py +29 -0
- cribl_control_plane/models/output.py +22 -22
- cribl_control_plane/models/outputazureblob.py +0 -7
- cribl_control_plane/models/outputazuredataexplorer.py +93 -283
- cribl_control_plane/models/outputazureeventhub.py +21 -169
- cribl_control_plane/models/outputazurelogs.py +21 -49
- cribl_control_plane/models/outputchronicle.py +21 -49
- cribl_control_plane/models/outputclickhouse.py +21 -49
- cribl_control_plane/models/outputcloudwatch.py +21 -49
- cribl_control_plane/models/outputconfluentcloud.py +22 -167
- cribl_control_plane/models/outputcriblhttp.py +21 -49
- cribl_control_plane/models/outputcribltcp.py +21 -49
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +22 -50
- cribl_control_plane/models/outputdatabricks.py +0 -7
- cribl_control_plane/models/outputdatadog.py +21 -49
- cribl_control_plane/models/outputdataset.py +21 -49
- cribl_control_plane/models/outputdls3.py +0 -7
- cribl_control_plane/models/outputdynatracehttp.py +21 -49
- cribl_control_plane/models/outputdynatraceotlp.py +21 -49
- cribl_control_plane/models/outputelastic.py +21 -74
- cribl_control_plane/models/outputelasticcloud.py +21 -74
- cribl_control_plane/models/outputfilesystem.py +0 -7
- cribl_control_plane/models/outputgooglechronicle.py +22 -65
- cribl_control_plane/models/outputgooglecloudlogging.py +22 -50
- cribl_control_plane/models/outputgooglecloudstorage.py +0 -7
- cribl_control_plane/models/outputgooglepubsub.py +21 -49
- cribl_control_plane/models/outputgrafanacloud.py +42 -98
- cribl_control_plane/models/outputgraphite.py +21 -49
- cribl_control_plane/models/outputhoneycomb.py +21 -49
- cribl_control_plane/models/outputhumiohec.py +21 -49
- cribl_control_plane/models/outputinfluxdb.py +21 -49
- cribl_control_plane/models/outputkafka.py +19 -162
- cribl_control_plane/models/outputkinesis.py +21 -56
- cribl_control_plane/models/outputloki.py +19 -47
- cribl_control_plane/models/outputminio.py +0 -7
- cribl_control_plane/models/outputmsk.py +19 -54
- cribl_control_plane/models/outputnewrelic.py +21 -49
- cribl_control_plane/models/outputnewrelicevents.py +22 -50
- cribl_control_plane/models/outputopentelemetry.py +21 -49
- cribl_control_plane/models/outputprometheus.py +21 -49
- cribl_control_plane/models/outputs3.py +0 -7
- cribl_control_plane/models/outputsentinel.py +21 -49
- cribl_control_plane/models/outputsentineloneaisiem.py +22 -50
- cribl_control_plane/models/outputservicenow.py +21 -49
- cribl_control_plane/models/outputsignalfx.py +21 -49
- cribl_control_plane/models/outputsns.py +19 -47
- cribl_control_plane/models/outputsplunk.py +21 -49
- cribl_control_plane/models/outputsplunkhec.py +21 -49
- cribl_control_plane/models/outputsplunklb.py +21 -49
- cribl_control_plane/models/outputsqs.py +19 -47
- cribl_control_plane/models/outputstatsd.py +21 -49
- cribl_control_plane/models/outputstatsdext.py +21 -49
- cribl_control_plane/models/outputsumologic.py +21 -49
- cribl_control_plane/models/outputsyslog.py +99 -129
- cribl_control_plane/models/outputtcpjson.py +21 -49
- cribl_control_plane/models/outputwavefront.py +21 -49
- cribl_control_plane/models/outputwebhook.py +21 -49
- cribl_control_plane/models/outputxsiam.py +19 -47
- cribl_control_plane/models/pipeline.py +4 -4
- cribl_control_plane/models/rulesetid.py +13 -0
- cribl_control_plane/models/runnablejobcollection.py +8 -12
- cribl_control_plane/models/runnablejobexecutor.py +8 -12
- cribl_control_plane/models/runnablejobscheduledsearch.py +8 -12
- cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +63 -0
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/METADATA +11 -2
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/RECORD +110 -99
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/WHEEL +0 -0
|
@@ -126,17 +126,6 @@ class OutputCrowdstrikeNextGenSiemBackpressureBehavior(
|
|
|
126
126
|
QUEUE = "queue"
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
class OutputCrowdstrikeNextGenSiemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
131
|
-
|
|
132
|
-
# Error
|
|
133
|
-
ERROR = "error"
|
|
134
|
-
# Backpressure
|
|
135
|
-
ALWAYS = "always"
|
|
136
|
-
# Always On
|
|
137
|
-
BACKPRESSURE = "backpressure"
|
|
138
|
-
|
|
139
|
-
|
|
140
129
|
class OutputCrowdstrikeNextGenSiemCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
141
130
|
r"""Codec to use to compress the persisted data"""
|
|
142
131
|
|
|
@@ -157,6 +146,17 @@ class OutputCrowdstrikeNextGenSiemQueueFullBehavior(
|
|
|
157
146
|
DROP = "drop"
|
|
158
147
|
|
|
159
148
|
|
|
149
|
+
class OutputCrowdstrikeNextGenSiemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
150
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
151
|
+
|
|
152
|
+
# Error
|
|
153
|
+
ERROR = "error"
|
|
154
|
+
# Backpressure
|
|
155
|
+
BACKPRESSURE = "backpressure"
|
|
156
|
+
# Always On
|
|
157
|
+
ALWAYS = "always"
|
|
158
|
+
|
|
159
|
+
|
|
160
160
|
class OutputCrowdstrikeNextGenSiemPqControlsTypedDict(TypedDict):
|
|
161
161
|
pass
|
|
162
162
|
|
|
@@ -229,16 +229,6 @@ class OutputCrowdstrikeNextGenSiemTypedDict(TypedDict):
|
|
|
229
229
|
token: NotRequired[str]
|
|
230
230
|
text_secret: NotRequired[str]
|
|
231
231
|
r"""Select or create a stored text secret"""
|
|
232
|
-
pq_strict_ordering: NotRequired[bool]
|
|
233
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
234
|
-
pq_rate_per_sec: NotRequired[float]
|
|
235
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
236
|
-
pq_mode: NotRequired[OutputCrowdstrikeNextGenSiemMode]
|
|
237
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
238
|
-
pq_max_buffer_size: NotRequired[float]
|
|
239
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
240
|
-
pq_max_backpressure_sec: NotRequired[float]
|
|
241
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
242
232
|
pq_max_file_size: NotRequired[str]
|
|
243
233
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
244
234
|
pq_max_size: NotRequired[str]
|
|
@@ -249,6 +239,8 @@ class OutputCrowdstrikeNextGenSiemTypedDict(TypedDict):
|
|
|
249
239
|
r"""Codec to use to compress the persisted data"""
|
|
250
240
|
pq_on_backpressure: NotRequired[OutputCrowdstrikeNextGenSiemQueueFullBehavior]
|
|
251
241
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
242
|
+
pq_mode: NotRequired[OutputCrowdstrikeNextGenSiemMode]
|
|
243
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
252
244
|
pq_controls: NotRequired[OutputCrowdstrikeNextGenSiemPqControlsTypedDict]
|
|
253
245
|
|
|
254
246
|
|
|
@@ -384,35 +376,6 @@ class OutputCrowdstrikeNextGenSiem(BaseModel):
|
|
|
384
376
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
385
377
|
r"""Select or create a stored text secret"""
|
|
386
378
|
|
|
387
|
-
pq_strict_ordering: Annotated[
|
|
388
|
-
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
389
|
-
] = True
|
|
390
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
391
|
-
|
|
392
|
-
pq_rate_per_sec: Annotated[
|
|
393
|
-
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
394
|
-
] = 0
|
|
395
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
396
|
-
|
|
397
|
-
pq_mode: Annotated[
|
|
398
|
-
Annotated[
|
|
399
|
-
Optional[OutputCrowdstrikeNextGenSiemMode],
|
|
400
|
-
PlainValidator(validate_open_enum(False)),
|
|
401
|
-
],
|
|
402
|
-
pydantic.Field(alias="pqMode"),
|
|
403
|
-
] = OutputCrowdstrikeNextGenSiemMode.ERROR
|
|
404
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
405
|
-
|
|
406
|
-
pq_max_buffer_size: Annotated[
|
|
407
|
-
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
408
|
-
] = 42
|
|
409
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
410
|
-
|
|
411
|
-
pq_max_backpressure_sec: Annotated[
|
|
412
|
-
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
413
|
-
] = 30
|
|
414
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
415
|
-
|
|
416
379
|
pq_max_file_size: Annotated[
|
|
417
380
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
418
381
|
] = "1 MB"
|
|
@@ -444,6 +407,15 @@ class OutputCrowdstrikeNextGenSiem(BaseModel):
|
|
|
444
407
|
] = OutputCrowdstrikeNextGenSiemQueueFullBehavior.BLOCK
|
|
445
408
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
446
409
|
|
|
410
|
+
pq_mode: Annotated[
|
|
411
|
+
Annotated[
|
|
412
|
+
Optional[OutputCrowdstrikeNextGenSiemMode],
|
|
413
|
+
PlainValidator(validate_open_enum(False)),
|
|
414
|
+
],
|
|
415
|
+
pydantic.Field(alias="pqMode"),
|
|
416
|
+
] = OutputCrowdstrikeNextGenSiemMode.ERROR
|
|
417
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
418
|
+
|
|
447
419
|
pq_controls: Annotated[
|
|
448
420
|
Optional[OutputCrowdstrikeNextGenSiemPqControls],
|
|
449
421
|
pydantic.Field(alias="pqControls"),
|
|
@@ -160,8 +160,6 @@ class OutputDatabricksTypedDict(TypedDict):
|
|
|
160
160
|
r"""Compression level to apply before moving files to final destination"""
|
|
161
161
|
automatic_schema: NotRequired[bool]
|
|
162
162
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
163
|
-
parquet_schema: NotRequired[str]
|
|
164
|
-
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
165
163
|
parquet_version: NotRequired[OutputDatabricksParquetVersion]
|
|
166
164
|
r"""Determines which data types are supported and how they are represented"""
|
|
167
165
|
parquet_data_page_version: NotRequired[OutputDatabricksDataPageVersion]
|
|
@@ -345,11 +343,6 @@ class OutputDatabricks(BaseModel):
|
|
|
345
343
|
] = False
|
|
346
344
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
347
345
|
|
|
348
|
-
parquet_schema: Annotated[Optional[str], pydantic.Field(alias="parquetSchema")] = (
|
|
349
|
-
None
|
|
350
|
-
)
|
|
351
|
-
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
352
|
-
|
|
353
346
|
parquet_version: Annotated[
|
|
354
347
|
Annotated[
|
|
355
348
|
Optional[OutputDatabricksParquetVersion],
|
|
@@ -158,17 +158,6 @@ class OutputDatadogAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta)
|
|
|
158
158
|
SECRET = "secret"
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
class OutputDatadogMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
162
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
163
|
-
|
|
164
|
-
# Error
|
|
165
|
-
ERROR = "error"
|
|
166
|
-
# Backpressure
|
|
167
|
-
ALWAYS = "always"
|
|
168
|
-
# Always On
|
|
169
|
-
BACKPRESSURE = "backpressure"
|
|
170
|
-
|
|
171
|
-
|
|
172
161
|
class OutputDatadogCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
173
162
|
r"""Codec to use to compress the persisted data"""
|
|
174
163
|
|
|
@@ -187,6 +176,17 @@ class OutputDatadogQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
187
176
|
DROP = "drop"
|
|
188
177
|
|
|
189
178
|
|
|
179
|
+
class OutputDatadogMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
180
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
181
|
+
|
|
182
|
+
# Error
|
|
183
|
+
ERROR = "error"
|
|
184
|
+
# Backpressure
|
|
185
|
+
BACKPRESSURE = "backpressure"
|
|
186
|
+
# Always On
|
|
187
|
+
ALWAYS = "always"
|
|
188
|
+
|
|
189
|
+
|
|
190
190
|
class OutputDatadogPqControlsTypedDict(TypedDict):
|
|
191
191
|
pass
|
|
192
192
|
|
|
@@ -269,16 +269,6 @@ class OutputDatadogTypedDict(TypedDict):
|
|
|
269
269
|
r"""Maximum total size of the batches waiting to be sent. If left blank, defaults to 5 times the max body size (if set). If 0, no limit is enforced."""
|
|
270
270
|
description: NotRequired[str]
|
|
271
271
|
custom_url: NotRequired[str]
|
|
272
|
-
pq_strict_ordering: NotRequired[bool]
|
|
273
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
274
|
-
pq_rate_per_sec: NotRequired[float]
|
|
275
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
276
|
-
pq_mode: NotRequired[OutputDatadogMode]
|
|
277
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
278
|
-
pq_max_buffer_size: NotRequired[float]
|
|
279
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
280
|
-
pq_max_backpressure_sec: NotRequired[float]
|
|
281
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
282
272
|
pq_max_file_size: NotRequired[str]
|
|
283
273
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
284
274
|
pq_max_size: NotRequired[str]
|
|
@@ -289,6 +279,8 @@ class OutputDatadogTypedDict(TypedDict):
|
|
|
289
279
|
r"""Codec to use to compress the persisted data"""
|
|
290
280
|
pq_on_backpressure: NotRequired[OutputDatadogQueueFullBehavior]
|
|
291
281
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
282
|
+
pq_mode: NotRequired[OutputDatadogMode]
|
|
283
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
292
284
|
pq_controls: NotRequired[OutputDatadogPqControlsTypedDict]
|
|
293
285
|
api_key: NotRequired[str]
|
|
294
286
|
r"""Organization's API key in Datadog"""
|
|
@@ -460,34 +452,6 @@ class OutputDatadog(BaseModel):
|
|
|
460
452
|
|
|
461
453
|
custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
|
|
462
454
|
|
|
463
|
-
pq_strict_ordering: Annotated[
|
|
464
|
-
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
465
|
-
] = True
|
|
466
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
467
|
-
|
|
468
|
-
pq_rate_per_sec: Annotated[
|
|
469
|
-
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
470
|
-
] = 0
|
|
471
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
472
|
-
|
|
473
|
-
pq_mode: Annotated[
|
|
474
|
-
Annotated[
|
|
475
|
-
Optional[OutputDatadogMode], PlainValidator(validate_open_enum(False))
|
|
476
|
-
],
|
|
477
|
-
pydantic.Field(alias="pqMode"),
|
|
478
|
-
] = OutputDatadogMode.ERROR
|
|
479
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
480
|
-
|
|
481
|
-
pq_max_buffer_size: Annotated[
|
|
482
|
-
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
483
|
-
] = 42
|
|
484
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
485
|
-
|
|
486
|
-
pq_max_backpressure_sec: Annotated[
|
|
487
|
-
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
488
|
-
] = 30
|
|
489
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
490
|
-
|
|
491
455
|
pq_max_file_size: Annotated[
|
|
492
456
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
493
457
|
] = "1 MB"
|
|
@@ -519,6 +483,14 @@ class OutputDatadog(BaseModel):
|
|
|
519
483
|
] = OutputDatadogQueueFullBehavior.BLOCK
|
|
520
484
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
521
485
|
|
|
486
|
+
pq_mode: Annotated[
|
|
487
|
+
Annotated[
|
|
488
|
+
Optional[OutputDatadogMode], PlainValidator(validate_open_enum(False))
|
|
489
|
+
],
|
|
490
|
+
pydantic.Field(alias="pqMode"),
|
|
491
|
+
] = OutputDatadogMode.ERROR
|
|
492
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
493
|
+
|
|
522
494
|
pq_controls: Annotated[
|
|
523
495
|
Optional[OutputDatadogPqControls], pydantic.Field(alias="pqControls")
|
|
524
496
|
] = None
|
|
@@ -139,17 +139,6 @@ class OutputDatasetAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta)
|
|
|
139
139
|
SECRET = "secret"
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
class OutputDatasetMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
143
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
144
|
-
|
|
145
|
-
# Error
|
|
146
|
-
ERROR = "error"
|
|
147
|
-
# Backpressure
|
|
148
|
-
ALWAYS = "always"
|
|
149
|
-
# Always On
|
|
150
|
-
BACKPRESSURE = "backpressure"
|
|
151
|
-
|
|
152
|
-
|
|
153
142
|
class OutputDatasetCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
154
143
|
r"""Codec to use to compress the persisted data"""
|
|
155
144
|
|
|
@@ -168,6 +157,17 @@ class OutputDatasetQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
168
157
|
DROP = "drop"
|
|
169
158
|
|
|
170
159
|
|
|
160
|
+
class OutputDatasetMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
161
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
162
|
+
|
|
163
|
+
# Error
|
|
164
|
+
ERROR = "error"
|
|
165
|
+
# Backpressure
|
|
166
|
+
BACKPRESSURE = "backpressure"
|
|
167
|
+
# Always On
|
|
168
|
+
ALWAYS = "always"
|
|
169
|
+
|
|
170
|
+
|
|
171
171
|
class OutputDatasetPqControlsTypedDict(TypedDict):
|
|
172
172
|
pass
|
|
173
173
|
|
|
@@ -240,16 +240,6 @@ class OutputDatasetTypedDict(TypedDict):
|
|
|
240
240
|
r"""Maximum total size of the batches waiting to be sent. If left blank, defaults to 5 times the max body size (if set). If 0, no limit is enforced."""
|
|
241
241
|
description: NotRequired[str]
|
|
242
242
|
custom_url: NotRequired[str]
|
|
243
|
-
pq_strict_ordering: NotRequired[bool]
|
|
244
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
245
|
-
pq_rate_per_sec: NotRequired[float]
|
|
246
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
247
|
-
pq_mode: NotRequired[OutputDatasetMode]
|
|
248
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
249
|
-
pq_max_buffer_size: NotRequired[float]
|
|
250
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
251
|
-
pq_max_backpressure_sec: NotRequired[float]
|
|
252
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
253
243
|
pq_max_file_size: NotRequired[str]
|
|
254
244
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
255
245
|
pq_max_size: NotRequired[str]
|
|
@@ -260,6 +250,8 @@ class OutputDatasetTypedDict(TypedDict):
|
|
|
260
250
|
r"""Codec to use to compress the persisted data"""
|
|
261
251
|
pq_on_backpressure: NotRequired[OutputDatasetQueueFullBehavior]
|
|
262
252
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
253
|
+
pq_mode: NotRequired[OutputDatasetMode]
|
|
254
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
263
255
|
pq_controls: NotRequired[OutputDatasetPqControlsTypedDict]
|
|
264
256
|
api_key: NotRequired[str]
|
|
265
257
|
r"""A 'Log Write Access' API key for the DataSet account"""
|
|
@@ -418,34 +410,6 @@ class OutputDataset(BaseModel):
|
|
|
418
410
|
|
|
419
411
|
custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
|
|
420
412
|
|
|
421
|
-
pq_strict_ordering: Annotated[
|
|
422
|
-
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
423
|
-
] = True
|
|
424
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
425
|
-
|
|
426
|
-
pq_rate_per_sec: Annotated[
|
|
427
|
-
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
428
|
-
] = 0
|
|
429
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
430
|
-
|
|
431
|
-
pq_mode: Annotated[
|
|
432
|
-
Annotated[
|
|
433
|
-
Optional[OutputDatasetMode], PlainValidator(validate_open_enum(False))
|
|
434
|
-
],
|
|
435
|
-
pydantic.Field(alias="pqMode"),
|
|
436
|
-
] = OutputDatasetMode.ERROR
|
|
437
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
438
|
-
|
|
439
|
-
pq_max_buffer_size: Annotated[
|
|
440
|
-
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
441
|
-
] = 42
|
|
442
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
443
|
-
|
|
444
|
-
pq_max_backpressure_sec: Annotated[
|
|
445
|
-
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
446
|
-
] = 30
|
|
447
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
448
|
-
|
|
449
413
|
pq_max_file_size: Annotated[
|
|
450
414
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
451
415
|
] = "1 MB"
|
|
@@ -477,6 +441,14 @@ class OutputDataset(BaseModel):
|
|
|
477
441
|
] = OutputDatasetQueueFullBehavior.BLOCK
|
|
478
442
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
479
443
|
|
|
444
|
+
pq_mode: Annotated[
|
|
445
|
+
Annotated[
|
|
446
|
+
Optional[OutputDatasetMode], PlainValidator(validate_open_enum(False))
|
|
447
|
+
],
|
|
448
|
+
pydantic.Field(alias="pqMode"),
|
|
449
|
+
] = OutputDatasetMode.ERROR
|
|
450
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
451
|
+
|
|
480
452
|
pq_controls: Annotated[
|
|
481
453
|
Optional[OutputDatasetPqControls], pydantic.Field(alias="pqControls")
|
|
482
454
|
] = None
|
|
@@ -256,8 +256,6 @@ class OutputDlS3TypedDict(TypedDict):
|
|
|
256
256
|
r"""Compression level to apply before moving files to final destination"""
|
|
257
257
|
automatic_schema: NotRequired[bool]
|
|
258
258
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
259
|
-
parquet_schema: NotRequired[str]
|
|
260
|
-
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
261
259
|
parquet_version: NotRequired[OutputDlS3ParquetVersion]
|
|
262
260
|
r"""Determines which data types are supported and how they are represented"""
|
|
263
261
|
parquet_data_page_version: NotRequired[OutputDlS3DataPageVersion]
|
|
@@ -527,11 +525,6 @@ class OutputDlS3(BaseModel):
|
|
|
527
525
|
] = False
|
|
528
526
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
529
527
|
|
|
530
|
-
parquet_schema: Annotated[Optional[str], pydantic.Field(alias="parquetSchema")] = (
|
|
531
|
-
None
|
|
532
|
-
)
|
|
533
|
-
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
534
|
-
|
|
535
528
|
parquet_version: Annotated[
|
|
536
529
|
Annotated[
|
|
537
530
|
Optional[OutputDlS3ParquetVersion],
|
|
@@ -144,17 +144,6 @@ class TelemetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
144
144
|
METRICS = "metrics"
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
class OutputDynatraceHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
148
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
149
|
-
|
|
150
|
-
# Error
|
|
151
|
-
ERROR = "error"
|
|
152
|
-
# Backpressure
|
|
153
|
-
ALWAYS = "always"
|
|
154
|
-
# Always On
|
|
155
|
-
BACKPRESSURE = "backpressure"
|
|
156
|
-
|
|
157
|
-
|
|
158
147
|
class OutputDynatraceHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
159
148
|
r"""Codec to use to compress the persisted data"""
|
|
160
149
|
|
|
@@ -173,6 +162,17 @@ class OutputDynatraceHTTPQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
173
162
|
DROP = "drop"
|
|
174
163
|
|
|
175
164
|
|
|
165
|
+
class OutputDynatraceHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
166
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
167
|
+
|
|
168
|
+
# Error
|
|
169
|
+
ERROR = "error"
|
|
170
|
+
# Backpressure
|
|
171
|
+
BACKPRESSURE = "backpressure"
|
|
172
|
+
# Always On
|
|
173
|
+
ALWAYS = "always"
|
|
174
|
+
|
|
175
|
+
|
|
176
176
|
class OutputDynatraceHTTPPqControlsTypedDict(TypedDict):
|
|
177
177
|
pass
|
|
178
178
|
|
|
@@ -243,16 +243,6 @@ class OutputDynatraceHTTPTypedDict(TypedDict):
|
|
|
243
243
|
total_memory_limit_kb: NotRequired[float]
|
|
244
244
|
r"""Maximum total size of the batches waiting to be sent. If left blank, defaults to 5 times the max body size (if set). If 0, no limit is enforced."""
|
|
245
245
|
description: NotRequired[str]
|
|
246
|
-
pq_strict_ordering: NotRequired[bool]
|
|
247
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
248
|
-
pq_rate_per_sec: NotRequired[float]
|
|
249
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
250
|
-
pq_mode: NotRequired[OutputDynatraceHTTPMode]
|
|
251
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
252
|
-
pq_max_buffer_size: NotRequired[float]
|
|
253
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
254
|
-
pq_max_backpressure_sec: NotRequired[float]
|
|
255
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
256
246
|
pq_max_file_size: NotRequired[str]
|
|
257
247
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
258
248
|
pq_max_size: NotRequired[str]
|
|
@@ -263,6 +253,8 @@ class OutputDynatraceHTTPTypedDict(TypedDict):
|
|
|
263
253
|
r"""Codec to use to compress the persisted data"""
|
|
264
254
|
pq_on_backpressure: NotRequired[OutputDynatraceHTTPQueueFullBehavior]
|
|
265
255
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
256
|
+
pq_mode: NotRequired[OutputDynatraceHTTPMode]
|
|
257
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
266
258
|
pq_controls: NotRequired[OutputDynatraceHTTPPqControlsTypedDict]
|
|
267
259
|
token: NotRequired[str]
|
|
268
260
|
r"""Bearer token to include in the authorization header"""
|
|
@@ -419,34 +411,6 @@ class OutputDynatraceHTTP(BaseModel):
|
|
|
419
411
|
|
|
420
412
|
description: Optional[str] = None
|
|
421
413
|
|
|
422
|
-
pq_strict_ordering: Annotated[
|
|
423
|
-
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
424
|
-
] = True
|
|
425
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
426
|
-
|
|
427
|
-
pq_rate_per_sec: Annotated[
|
|
428
|
-
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
429
|
-
] = 0
|
|
430
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
431
|
-
|
|
432
|
-
pq_mode: Annotated[
|
|
433
|
-
Annotated[
|
|
434
|
-
Optional[OutputDynatraceHTTPMode], PlainValidator(validate_open_enum(False))
|
|
435
|
-
],
|
|
436
|
-
pydantic.Field(alias="pqMode"),
|
|
437
|
-
] = OutputDynatraceHTTPMode.ERROR
|
|
438
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
439
|
-
|
|
440
|
-
pq_max_buffer_size: Annotated[
|
|
441
|
-
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
442
|
-
] = 42
|
|
443
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
444
|
-
|
|
445
|
-
pq_max_backpressure_sec: Annotated[
|
|
446
|
-
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
447
|
-
] = 30
|
|
448
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
449
|
-
|
|
450
414
|
pq_max_file_size: Annotated[
|
|
451
415
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
452
416
|
] = "1 MB"
|
|
@@ -478,6 +442,14 @@ class OutputDynatraceHTTP(BaseModel):
|
|
|
478
442
|
] = OutputDynatraceHTTPQueueFullBehavior.BLOCK
|
|
479
443
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
480
444
|
|
|
445
|
+
pq_mode: Annotated[
|
|
446
|
+
Annotated[
|
|
447
|
+
Optional[OutputDynatraceHTTPMode], PlainValidator(validate_open_enum(False))
|
|
448
|
+
],
|
|
449
|
+
pydantic.Field(alias="pqMode"),
|
|
450
|
+
] = OutputDynatraceHTTPMode.ERROR
|
|
451
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
452
|
+
|
|
481
453
|
pq_controls: Annotated[
|
|
482
454
|
Optional[OutputDynatraceHTTPPqControls], pydantic.Field(alias="pqControls")
|
|
483
455
|
] = None
|
|
@@ -160,17 +160,6 @@ class OutputDynatraceOtlpTimeoutRetrySettings(BaseModel):
|
|
|
160
160
|
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
class OutputDynatraceOtlpMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
164
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
165
|
-
|
|
166
|
-
# Error
|
|
167
|
-
ERROR = "error"
|
|
168
|
-
# Backpressure
|
|
169
|
-
ALWAYS = "always"
|
|
170
|
-
# Always On
|
|
171
|
-
BACKPRESSURE = "backpressure"
|
|
172
|
-
|
|
173
|
-
|
|
174
163
|
class OutputDynatraceOtlpPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
175
164
|
r"""Codec to use to compress the persisted data"""
|
|
176
165
|
|
|
@@ -189,6 +178,17 @@ class OutputDynatraceOtlpQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
189
178
|
DROP = "drop"
|
|
190
179
|
|
|
191
180
|
|
|
181
|
+
class OutputDynatraceOtlpMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
182
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
183
|
+
|
|
184
|
+
# Error
|
|
185
|
+
ERROR = "error"
|
|
186
|
+
# Backpressure
|
|
187
|
+
BACKPRESSURE = "backpressure"
|
|
188
|
+
# Always On
|
|
189
|
+
ALWAYS = "always"
|
|
190
|
+
|
|
191
|
+
|
|
192
192
|
class OutputDynatraceOtlpPqControlsTypedDict(TypedDict):
|
|
193
193
|
pass
|
|
194
194
|
|
|
@@ -273,16 +273,6 @@ class OutputDynatraceOtlpTypedDict(TypedDict):
|
|
|
273
273
|
]
|
|
274
274
|
response_honor_retry_after_header: NotRequired[bool]
|
|
275
275
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
276
|
-
pq_strict_ordering: NotRequired[bool]
|
|
277
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
278
|
-
pq_rate_per_sec: NotRequired[float]
|
|
279
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
280
|
-
pq_mode: NotRequired[OutputDynatraceOtlpMode]
|
|
281
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
282
|
-
pq_max_buffer_size: NotRequired[float]
|
|
283
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
284
|
-
pq_max_backpressure_sec: NotRequired[float]
|
|
285
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
286
276
|
pq_max_file_size: NotRequired[str]
|
|
287
277
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
288
278
|
pq_max_size: NotRequired[str]
|
|
@@ -293,6 +283,8 @@ class OutputDynatraceOtlpTypedDict(TypedDict):
|
|
|
293
283
|
r"""Codec to use to compress the persisted data"""
|
|
294
284
|
pq_on_backpressure: NotRequired[OutputDynatraceOtlpQueueFullBehavior]
|
|
295
285
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
286
|
+
pq_mode: NotRequired[OutputDynatraceOtlpMode]
|
|
287
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
296
288
|
pq_controls: NotRequired[OutputDynatraceOtlpPqControlsTypedDict]
|
|
297
289
|
|
|
298
290
|
|
|
@@ -470,34 +462,6 @@ class OutputDynatraceOtlp(BaseModel):
|
|
|
470
462
|
] = True
|
|
471
463
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
472
464
|
|
|
473
|
-
pq_strict_ordering: Annotated[
|
|
474
|
-
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
475
|
-
] = True
|
|
476
|
-
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
477
|
-
|
|
478
|
-
pq_rate_per_sec: Annotated[
|
|
479
|
-
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
480
|
-
] = 0
|
|
481
|
-
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
482
|
-
|
|
483
|
-
pq_mode: Annotated[
|
|
484
|
-
Annotated[
|
|
485
|
-
Optional[OutputDynatraceOtlpMode], PlainValidator(validate_open_enum(False))
|
|
486
|
-
],
|
|
487
|
-
pydantic.Field(alias="pqMode"),
|
|
488
|
-
] = OutputDynatraceOtlpMode.ERROR
|
|
489
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
490
|
-
|
|
491
|
-
pq_max_buffer_size: Annotated[
|
|
492
|
-
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
493
|
-
] = 42
|
|
494
|
-
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
495
|
-
|
|
496
|
-
pq_max_backpressure_sec: Annotated[
|
|
497
|
-
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
498
|
-
] = 30
|
|
499
|
-
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
500
|
-
|
|
501
465
|
pq_max_file_size: Annotated[
|
|
502
466
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
503
467
|
] = "1 MB"
|
|
@@ -529,6 +493,14 @@ class OutputDynatraceOtlp(BaseModel):
|
|
|
529
493
|
] = OutputDynatraceOtlpQueueFullBehavior.BLOCK
|
|
530
494
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
531
495
|
|
|
496
|
+
pq_mode: Annotated[
|
|
497
|
+
Annotated[
|
|
498
|
+
Optional[OutputDynatraceOtlpMode], PlainValidator(validate_open_enum(False))
|
|
499
|
+
],
|
|
500
|
+
pydantic.Field(alias="pqMode"),
|
|
501
|
+
] = OutputDynatraceOtlpMode.ERROR
|
|
502
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
503
|
+
|
|
532
504
|
pq_controls: Annotated[
|
|
533
505
|
Optional[OutputDynatraceOtlpPqControls], pydantic.Field(alias="pqControls")
|
|
534
506
|
] = None
|