cribl-control-plane 0.2.1rc3__py3-none-any.whl → 0.2.1rc4__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 +4 -4
- cribl_control_plane/groups_sdk.py +0 -3
- cribl_control_plane/models/__init__.py +105 -28
- cribl_control_plane/models/input.py +14 -14
- cribl_control_plane/models/inputappscope.py +20 -16
- cribl_control_plane/models/inputconfluentcloud.py +110 -0
- cribl_control_plane/models/inputcriblhttp.py +20 -16
- cribl_control_plane/models/inputcribllakehttp.py +20 -16
- cribl_control_plane/models/inputcribltcp.py +20 -16
- cribl_control_plane/models/inputdatadogagent.py +20 -16
- cribl_control_plane/models/inputedgeprometheus.py +44 -36
- cribl_control_plane/models/inputelastic.py +44 -27
- cribl_control_plane/models/inputeventhub.py +118 -0
- cribl_control_plane/models/inputfirehose.py +20 -16
- cribl_control_plane/models/inputgrafana.py +39 -31
- cribl_control_plane/models/inputhttp.py +20 -16
- cribl_control_plane/models/inputhttpraw.py +20 -16
- cribl_control_plane/models/inputkafka.py +108 -0
- cribl_control_plane/models/inputloki.py +20 -16
- cribl_control_plane/models/inputmetrics.py +20 -16
- cribl_control_plane/models/inputmodeldriventelemetry.py +20 -16
- cribl_control_plane/models/inputopentelemetry.py +19 -15
- cribl_control_plane/models/inputprometheus.py +44 -36
- cribl_control_plane/models/inputprometheusrw.py +20 -16
- cribl_control_plane/models/inputsplunk.py +20 -16
- cribl_control_plane/models/inputsplunkhec.py +19 -15
- cribl_control_plane/models/inputsyslog.py +39 -31
- cribl_control_plane/models/inputsystemmetrics.py +20 -10
- cribl_control_plane/models/inputtcp.py +30 -16
- cribl_control_plane/models/inputtcpjson.py +20 -16
- cribl_control_plane/models/inputwindowsmetrics.py +20 -10
- cribl_control_plane/models/inputwineventlogs.py +14 -0
- cribl_control_plane/models/inputwizwebhook.py +20 -16
- cribl_control_plane/models/inputzscalerhec.py +19 -15
- cribl_control_plane/models/output.py +22 -22
- cribl_control_plane/models/outputazureblob.py +7 -0
- cribl_control_plane/models/outputazuredataexplorer.py +283 -93
- cribl_control_plane/models/outputazureeventhub.py +169 -21
- cribl_control_plane/models/outputazurelogs.py +49 -21
- cribl_control_plane/models/outputchronicle.py +49 -21
- cribl_control_plane/models/outputclickhouse.py +49 -21
- cribl_control_plane/models/outputcloudwatch.py +49 -21
- cribl_control_plane/models/outputconfluentcloud.py +167 -22
- cribl_control_plane/models/outputcriblhttp.py +49 -21
- cribl_control_plane/models/outputcribltcp.py +49 -21
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +50 -22
- cribl_control_plane/models/outputdatabricks.py +7 -0
- cribl_control_plane/models/outputdatadog.py +49 -21
- cribl_control_plane/models/outputdataset.py +49 -21
- cribl_control_plane/models/outputdls3.py +7 -0
- cribl_control_plane/models/outputdynatracehttp.py +49 -21
- cribl_control_plane/models/outputdynatraceotlp.py +49 -21
- cribl_control_plane/models/outputelastic.py +74 -21
- cribl_control_plane/models/outputelasticcloud.py +74 -21
- cribl_control_plane/models/outputfilesystem.py +7 -0
- cribl_control_plane/models/outputgooglechronicle.py +65 -22
- cribl_control_plane/models/outputgooglecloudlogging.py +50 -22
- cribl_control_plane/models/outputgooglecloudstorage.py +7 -0
- cribl_control_plane/models/outputgooglepubsub.py +49 -21
- cribl_control_plane/models/outputgrafanacloud.py +98 -42
- cribl_control_plane/models/outputgraphite.py +49 -21
- cribl_control_plane/models/outputhoneycomb.py +49 -21
- cribl_control_plane/models/outputhumiohec.py +49 -21
- cribl_control_plane/models/outputinfluxdb.py +49 -21
- cribl_control_plane/models/outputkafka.py +162 -19
- cribl_control_plane/models/outputkinesis.py +56 -21
- cribl_control_plane/models/outputloki.py +47 -19
- cribl_control_plane/models/outputminio.py +7 -0
- cribl_control_plane/models/outputmsk.py +54 -19
- cribl_control_plane/models/outputnewrelic.py +49 -21
- cribl_control_plane/models/outputnewrelicevents.py +50 -22
- cribl_control_plane/models/outputopentelemetry.py +49 -21
- cribl_control_plane/models/outputprometheus.py +49 -21
- cribl_control_plane/models/outputs3.py +7 -0
- cribl_control_plane/models/outputsentinel.py +49 -21
- cribl_control_plane/models/outputsentineloneaisiem.py +50 -22
- cribl_control_plane/models/outputservicenow.py +49 -21
- cribl_control_plane/models/outputsignalfx.py +49 -21
- cribl_control_plane/models/outputsns.py +47 -19
- cribl_control_plane/models/outputsplunk.py +49 -21
- cribl_control_plane/models/outputsplunkhec.py +49 -21
- cribl_control_plane/models/outputsplunklb.py +49 -21
- cribl_control_plane/models/outputsqs.py +47 -19
- cribl_control_plane/models/outputstatsd.py +49 -21
- cribl_control_plane/models/outputstatsdext.py +49 -21
- cribl_control_plane/models/outputsumologic.py +49 -21
- cribl_control_plane/models/outputsyslog.py +129 -99
- cribl_control_plane/models/outputtcpjson.py +49 -21
- cribl_control_plane/models/outputwavefront.py +49 -21
- cribl_control_plane/models/outputwebhook.py +49 -21
- cribl_control_plane/models/outputxsiam.py +47 -19
- cribl_control_plane/models/pipeline.py +4 -4
- cribl_control_plane/models/runnablejobcollection.py +12 -8
- cribl_control_plane/models/runnablejobexecutor.py +12 -8
- cribl_control_plane/models/runnablejobscheduledsearch.py +12 -8
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/METADATA +2 -6
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/RECORD +99 -102
- cribl_control_plane/mappings.py +0 -205
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +0 -52
- cribl_control_plane/models/rulesetid.py +0 -13
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/WHEEL +0 -0
|
@@ -39,6 +39,17 @@ class OutputGooglePubsubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnum
|
|
|
39
39
|
QUEUE = "queue"
|
|
40
40
|
|
|
41
41
|
|
|
42
|
+
class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
43
|
+
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."""
|
|
44
|
+
|
|
45
|
+
# Error
|
|
46
|
+
ERROR = "error"
|
|
47
|
+
# Backpressure
|
|
48
|
+
ALWAYS = "always"
|
|
49
|
+
# Always On
|
|
50
|
+
BACKPRESSURE = "backpressure"
|
|
51
|
+
|
|
52
|
+
|
|
42
53
|
class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
43
54
|
r"""Codec to use to compress the persisted data"""
|
|
44
55
|
|
|
@@ -57,17 +68,6 @@ class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
57
68
|
DROP = "drop"
|
|
58
69
|
|
|
59
70
|
|
|
60
|
-
class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
61
|
-
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."""
|
|
62
|
-
|
|
63
|
-
# Error
|
|
64
|
-
ERROR = "error"
|
|
65
|
-
# Backpressure
|
|
66
|
-
BACKPRESSURE = "backpressure"
|
|
67
|
-
# Always On
|
|
68
|
-
ALWAYS = "always"
|
|
69
|
-
|
|
70
|
-
|
|
71
71
|
class OutputGooglePubsubPqControlsTypedDict(TypedDict):
|
|
72
72
|
pass
|
|
73
73
|
|
|
@@ -117,6 +117,16 @@ class OutputGooglePubsubTypedDict(TypedDict):
|
|
|
117
117
|
on_backpressure: NotRequired[OutputGooglePubsubBackpressureBehavior]
|
|
118
118
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
119
119
|
description: NotRequired[str]
|
|
120
|
+
pq_strict_ordering: NotRequired[bool]
|
|
121
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
122
|
+
pq_rate_per_sec: NotRequired[float]
|
|
123
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
124
|
+
pq_mode: NotRequired[OutputGooglePubsubMode]
|
|
125
|
+
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."""
|
|
126
|
+
pq_max_buffer_size: NotRequired[float]
|
|
127
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
128
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
129
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
120
130
|
pq_max_file_size: NotRequired[str]
|
|
121
131
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
122
132
|
pq_max_size: NotRequired[str]
|
|
@@ -127,8 +137,6 @@ class OutputGooglePubsubTypedDict(TypedDict):
|
|
|
127
137
|
r"""Codec to use to compress the persisted data"""
|
|
128
138
|
pq_on_backpressure: NotRequired[OutputGooglePubsubQueueFullBehavior]
|
|
129
139
|
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."""
|
|
130
|
-
pq_mode: NotRequired[OutputGooglePubsubMode]
|
|
131
|
-
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."""
|
|
132
140
|
pq_controls: NotRequired[OutputGooglePubsubPqControlsTypedDict]
|
|
133
141
|
|
|
134
142
|
|
|
@@ -220,6 +228,34 @@ class OutputGooglePubsub(BaseModel):
|
|
|
220
228
|
|
|
221
229
|
description: Optional[str] = None
|
|
222
230
|
|
|
231
|
+
pq_strict_ordering: Annotated[
|
|
232
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
233
|
+
] = True
|
|
234
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
235
|
+
|
|
236
|
+
pq_rate_per_sec: Annotated[
|
|
237
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
238
|
+
] = 0
|
|
239
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
240
|
+
|
|
241
|
+
pq_mode: Annotated[
|
|
242
|
+
Annotated[
|
|
243
|
+
Optional[OutputGooglePubsubMode], PlainValidator(validate_open_enum(False))
|
|
244
|
+
],
|
|
245
|
+
pydantic.Field(alias="pqMode"),
|
|
246
|
+
] = OutputGooglePubsubMode.ERROR
|
|
247
|
+
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."""
|
|
248
|
+
|
|
249
|
+
pq_max_buffer_size: Annotated[
|
|
250
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
251
|
+
] = 42
|
|
252
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
253
|
+
|
|
254
|
+
pq_max_backpressure_sec: Annotated[
|
|
255
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
256
|
+
] = 30
|
|
257
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
258
|
+
|
|
223
259
|
pq_max_file_size: Annotated[
|
|
224
260
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
225
261
|
] = "1 MB"
|
|
@@ -251,14 +287,6 @@ class OutputGooglePubsub(BaseModel):
|
|
|
251
287
|
] = OutputGooglePubsubQueueFullBehavior.BLOCK
|
|
252
288
|
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
289
|
|
|
254
|
-
pq_mode: Annotated[
|
|
255
|
-
Annotated[
|
|
256
|
-
Optional[OutputGooglePubsubMode], PlainValidator(validate_open_enum(False))
|
|
257
|
-
],
|
|
258
|
-
pydantic.Field(alias="pqMode"),
|
|
259
|
-
] = OutputGooglePubsubMode.ERROR
|
|
260
|
-
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."""
|
|
261
|
-
|
|
262
290
|
pq_controls: Annotated[
|
|
263
291
|
Optional[OutputGooglePubsubPqControls], pydantic.Field(alias="pqControls")
|
|
264
292
|
] = None
|
|
@@ -236,6 +236,17 @@ class OutputGrafanaCloudBackpressureBehavior2(str, Enum, metaclass=utils.OpenEnu
|
|
|
236
236
|
QUEUE = "queue"
|
|
237
237
|
|
|
238
238
|
|
|
239
|
+
class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
240
|
+
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."""
|
|
241
|
+
|
|
242
|
+
# Error
|
|
243
|
+
ERROR = "error"
|
|
244
|
+
# Backpressure
|
|
245
|
+
ALWAYS = "always"
|
|
246
|
+
# Always On
|
|
247
|
+
BACKPRESSURE = "backpressure"
|
|
248
|
+
|
|
249
|
+
|
|
239
250
|
class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
240
251
|
r"""Codec to use to compress the persisted data"""
|
|
241
252
|
|
|
@@ -254,17 +265,6 @@ class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
254
265
|
DROP = "drop"
|
|
255
266
|
|
|
256
267
|
|
|
257
|
-
class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
258
|
-
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."""
|
|
259
|
-
|
|
260
|
-
# Error
|
|
261
|
-
ERROR = "error"
|
|
262
|
-
# Backpressure
|
|
263
|
-
BACKPRESSURE = "backpressure"
|
|
264
|
-
# Always On
|
|
265
|
-
ALWAYS = "always"
|
|
266
|
-
|
|
267
|
-
|
|
268
268
|
class OutputGrafanaCloudPqControls2TypedDict(TypedDict):
|
|
269
269
|
pass
|
|
270
270
|
|
|
@@ -338,6 +338,16 @@ class OutputGrafanaCloudGrafanaCloud2TypedDict(TypedDict):
|
|
|
338
338
|
description: NotRequired[str]
|
|
339
339
|
compress: NotRequired[bool]
|
|
340
340
|
r"""Compress the payload body before sending. Applies only to JSON payloads; the Protobuf variant for both Prometheus and Loki are snappy-compressed by default."""
|
|
341
|
+
pq_strict_ordering: NotRequired[bool]
|
|
342
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
343
|
+
pq_rate_per_sec: NotRequired[float]
|
|
344
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
345
|
+
pq_mode: NotRequired[OutputGrafanaCloudMode2]
|
|
346
|
+
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."""
|
|
347
|
+
pq_max_buffer_size: NotRequired[float]
|
|
348
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
349
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
350
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
341
351
|
pq_max_file_size: NotRequired[str]
|
|
342
352
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
343
353
|
pq_max_size: NotRequired[str]
|
|
@@ -348,8 +358,6 @@ class OutputGrafanaCloudGrafanaCloud2TypedDict(TypedDict):
|
|
|
348
358
|
r"""Codec to use to compress the persisted data"""
|
|
349
359
|
pq_on_backpressure: NotRequired[OutputGrafanaCloudQueueFullBehavior2]
|
|
350
360
|
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."""
|
|
351
|
-
pq_mode: NotRequired[OutputGrafanaCloudMode2]
|
|
352
|
-
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."""
|
|
353
361
|
pq_controls: NotRequired[OutputGrafanaCloudPqControls2TypedDict]
|
|
354
362
|
|
|
355
363
|
|
|
@@ -492,6 +500,34 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
|
|
|
492
500
|
compress: Optional[bool] = True
|
|
493
501
|
r"""Compress the payload body before sending. Applies only to JSON payloads; the Protobuf variant for both Prometheus and Loki are snappy-compressed by default."""
|
|
494
502
|
|
|
503
|
+
pq_strict_ordering: Annotated[
|
|
504
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
505
|
+
] = True
|
|
506
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
507
|
+
|
|
508
|
+
pq_rate_per_sec: Annotated[
|
|
509
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
510
|
+
] = 0
|
|
511
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
512
|
+
|
|
513
|
+
pq_mode: Annotated[
|
|
514
|
+
Annotated[
|
|
515
|
+
Optional[OutputGrafanaCloudMode2], PlainValidator(validate_open_enum(False))
|
|
516
|
+
],
|
|
517
|
+
pydantic.Field(alias="pqMode"),
|
|
518
|
+
] = OutputGrafanaCloudMode2.ERROR
|
|
519
|
+
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."""
|
|
520
|
+
|
|
521
|
+
pq_max_buffer_size: Annotated[
|
|
522
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
523
|
+
] = 42
|
|
524
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
525
|
+
|
|
526
|
+
pq_max_backpressure_sec: Annotated[
|
|
527
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
528
|
+
] = 30
|
|
529
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
530
|
+
|
|
495
531
|
pq_max_file_size: Annotated[
|
|
496
532
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
497
533
|
] = "1 MB"
|
|
@@ -523,14 +559,6 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
|
|
|
523
559
|
] = OutputGrafanaCloudQueueFullBehavior2.BLOCK
|
|
524
560
|
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."""
|
|
525
561
|
|
|
526
|
-
pq_mode: Annotated[
|
|
527
|
-
Annotated[
|
|
528
|
-
Optional[OutputGrafanaCloudMode2], PlainValidator(validate_open_enum(False))
|
|
529
|
-
],
|
|
530
|
-
pydantic.Field(alias="pqMode"),
|
|
531
|
-
] = OutputGrafanaCloudMode2.ERROR
|
|
532
|
-
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."""
|
|
533
|
-
|
|
534
562
|
pq_controls: Annotated[
|
|
535
563
|
Optional[OutputGrafanaCloudPqControls2], pydantic.Field(alias="pqControls")
|
|
536
564
|
] = None
|
|
@@ -761,6 +789,17 @@ class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnu
|
|
|
761
789
|
QUEUE = "queue"
|
|
762
790
|
|
|
763
791
|
|
|
792
|
+
class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
793
|
+
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."""
|
|
794
|
+
|
|
795
|
+
# Error
|
|
796
|
+
ERROR = "error"
|
|
797
|
+
# Backpressure
|
|
798
|
+
ALWAYS = "always"
|
|
799
|
+
# Always On
|
|
800
|
+
BACKPRESSURE = "backpressure"
|
|
801
|
+
|
|
802
|
+
|
|
764
803
|
class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
765
804
|
r"""Codec to use to compress the persisted data"""
|
|
766
805
|
|
|
@@ -779,17 +818,6 @@ class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
779
818
|
DROP = "drop"
|
|
780
819
|
|
|
781
820
|
|
|
782
|
-
class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
783
|
-
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."""
|
|
784
|
-
|
|
785
|
-
# Error
|
|
786
|
-
ERROR = "error"
|
|
787
|
-
# Backpressure
|
|
788
|
-
BACKPRESSURE = "backpressure"
|
|
789
|
-
# Always On
|
|
790
|
-
ALWAYS = "always"
|
|
791
|
-
|
|
792
|
-
|
|
793
821
|
class OutputGrafanaCloudPqControls1TypedDict(TypedDict):
|
|
794
822
|
pass
|
|
795
823
|
|
|
@@ -863,6 +891,16 @@ class OutputGrafanaCloudGrafanaCloud1TypedDict(TypedDict):
|
|
|
863
891
|
description: NotRequired[str]
|
|
864
892
|
compress: NotRequired[bool]
|
|
865
893
|
r"""Compress the payload body before sending. Applies only to JSON payloads; the Protobuf variant for both Prometheus and Loki are snappy-compressed by default."""
|
|
894
|
+
pq_strict_ordering: NotRequired[bool]
|
|
895
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
896
|
+
pq_rate_per_sec: NotRequired[float]
|
|
897
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
898
|
+
pq_mode: NotRequired[OutputGrafanaCloudMode1]
|
|
899
|
+
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."""
|
|
900
|
+
pq_max_buffer_size: NotRequired[float]
|
|
901
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
902
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
903
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
866
904
|
pq_max_file_size: NotRequired[str]
|
|
867
905
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
868
906
|
pq_max_size: NotRequired[str]
|
|
@@ -873,8 +911,6 @@ class OutputGrafanaCloudGrafanaCloud1TypedDict(TypedDict):
|
|
|
873
911
|
r"""Codec to use to compress the persisted data"""
|
|
874
912
|
pq_on_backpressure: NotRequired[OutputGrafanaCloudQueueFullBehavior1]
|
|
875
913
|
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."""
|
|
876
|
-
pq_mode: NotRequired[OutputGrafanaCloudMode1]
|
|
877
|
-
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."""
|
|
878
914
|
pq_controls: NotRequired[OutputGrafanaCloudPqControls1TypedDict]
|
|
879
915
|
|
|
880
916
|
|
|
@@ -1019,6 +1055,34 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
|
|
|
1019
1055
|
compress: Optional[bool] = True
|
|
1020
1056
|
r"""Compress the payload body before sending. Applies only to JSON payloads; the Protobuf variant for both Prometheus and Loki are snappy-compressed by default."""
|
|
1021
1057
|
|
|
1058
|
+
pq_strict_ordering: Annotated[
|
|
1059
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
1060
|
+
] = True
|
|
1061
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
1062
|
+
|
|
1063
|
+
pq_rate_per_sec: Annotated[
|
|
1064
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
1065
|
+
] = 0
|
|
1066
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
1067
|
+
|
|
1068
|
+
pq_mode: Annotated[
|
|
1069
|
+
Annotated[
|
|
1070
|
+
Optional[OutputGrafanaCloudMode1], PlainValidator(validate_open_enum(False))
|
|
1071
|
+
],
|
|
1072
|
+
pydantic.Field(alias="pqMode"),
|
|
1073
|
+
] = OutputGrafanaCloudMode1.ERROR
|
|
1074
|
+
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."""
|
|
1075
|
+
|
|
1076
|
+
pq_max_buffer_size: Annotated[
|
|
1077
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
1078
|
+
] = 42
|
|
1079
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
1080
|
+
|
|
1081
|
+
pq_max_backpressure_sec: Annotated[
|
|
1082
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
1083
|
+
] = 30
|
|
1084
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
1085
|
+
|
|
1022
1086
|
pq_max_file_size: Annotated[
|
|
1023
1087
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
1024
1088
|
] = "1 MB"
|
|
@@ -1050,14 +1114,6 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
|
|
|
1050
1114
|
] = OutputGrafanaCloudQueueFullBehavior1.BLOCK
|
|
1051
1115
|
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."""
|
|
1052
1116
|
|
|
1053
|
-
pq_mode: Annotated[
|
|
1054
|
-
Annotated[
|
|
1055
|
-
Optional[OutputGrafanaCloudMode1], PlainValidator(validate_open_enum(False))
|
|
1056
|
-
],
|
|
1057
|
-
pydantic.Field(alias="pqMode"),
|
|
1058
|
-
] = OutputGrafanaCloudMode1.ERROR
|
|
1059
|
-
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."""
|
|
1060
|
-
|
|
1061
1117
|
pq_controls: Annotated[
|
|
1062
1118
|
Optional[OutputGrafanaCloudPqControls1], pydantic.Field(alias="pqControls")
|
|
1063
1119
|
] = None
|
|
@@ -35,6 +35,17 @@ class OutputGraphiteBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
35
35
|
QUEUE = "queue"
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
class OutputGraphiteMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
|
+
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."""
|
|
40
|
+
|
|
41
|
+
# Error
|
|
42
|
+
ERROR = "error"
|
|
43
|
+
# Backpressure
|
|
44
|
+
ALWAYS = "always"
|
|
45
|
+
# Always On
|
|
46
|
+
BACKPRESSURE = "backpressure"
|
|
47
|
+
|
|
48
|
+
|
|
38
49
|
class OutputGraphiteCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
50
|
r"""Codec to use to compress the persisted data"""
|
|
40
51
|
|
|
@@ -53,17 +64,6 @@ class OutputGraphiteQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
53
64
|
DROP = "drop"
|
|
54
65
|
|
|
55
66
|
|
|
56
|
-
class OutputGraphiteMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
57
|
-
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."""
|
|
58
|
-
|
|
59
|
-
# Error
|
|
60
|
-
ERROR = "error"
|
|
61
|
-
# Backpressure
|
|
62
|
-
BACKPRESSURE = "backpressure"
|
|
63
|
-
# Always On
|
|
64
|
-
ALWAYS = "always"
|
|
65
|
-
|
|
66
|
-
|
|
67
67
|
class OutputGraphitePqControlsTypedDict(TypedDict):
|
|
68
68
|
pass
|
|
69
69
|
|
|
@@ -105,6 +105,16 @@ class OutputGraphiteTypedDict(TypedDict):
|
|
|
105
105
|
r"""Amount of time (milliseconds) to wait for a write to complete before assuming connection is dead"""
|
|
106
106
|
on_backpressure: NotRequired[OutputGraphiteBackpressureBehavior]
|
|
107
107
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
108
|
+
pq_strict_ordering: NotRequired[bool]
|
|
109
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
110
|
+
pq_rate_per_sec: NotRequired[float]
|
|
111
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
112
|
+
pq_mode: NotRequired[OutputGraphiteMode]
|
|
113
|
+
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."""
|
|
114
|
+
pq_max_buffer_size: NotRequired[float]
|
|
115
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
116
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
117
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
108
118
|
pq_max_file_size: NotRequired[str]
|
|
109
119
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
110
120
|
pq_max_size: NotRequired[str]
|
|
@@ -115,8 +125,6 @@ class OutputGraphiteTypedDict(TypedDict):
|
|
|
115
125
|
r"""Codec to use to compress the persisted data"""
|
|
116
126
|
pq_on_backpressure: NotRequired[OutputGraphiteQueueFullBehavior]
|
|
117
127
|
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."""
|
|
118
|
-
pq_mode: NotRequired[OutputGraphiteMode]
|
|
119
|
-
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."""
|
|
120
128
|
pq_controls: NotRequired[OutputGraphitePqControlsTypedDict]
|
|
121
129
|
|
|
122
130
|
|
|
@@ -191,6 +199,34 @@ class OutputGraphite(BaseModel):
|
|
|
191
199
|
] = OutputGraphiteBackpressureBehavior.BLOCK
|
|
192
200
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
193
201
|
|
|
202
|
+
pq_strict_ordering: Annotated[
|
|
203
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
204
|
+
] = True
|
|
205
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
206
|
+
|
|
207
|
+
pq_rate_per_sec: Annotated[
|
|
208
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
209
|
+
] = 0
|
|
210
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
211
|
+
|
|
212
|
+
pq_mode: Annotated[
|
|
213
|
+
Annotated[
|
|
214
|
+
Optional[OutputGraphiteMode], PlainValidator(validate_open_enum(False))
|
|
215
|
+
],
|
|
216
|
+
pydantic.Field(alias="pqMode"),
|
|
217
|
+
] = OutputGraphiteMode.ERROR
|
|
218
|
+
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."""
|
|
219
|
+
|
|
220
|
+
pq_max_buffer_size: Annotated[
|
|
221
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
222
|
+
] = 42
|
|
223
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
224
|
+
|
|
225
|
+
pq_max_backpressure_sec: Annotated[
|
|
226
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
227
|
+
] = 30
|
|
228
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
229
|
+
|
|
194
230
|
pq_max_file_size: Annotated[
|
|
195
231
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
196
232
|
] = "1 MB"
|
|
@@ -222,14 +258,6 @@ class OutputGraphite(BaseModel):
|
|
|
222
258
|
] = OutputGraphiteQueueFullBehavior.BLOCK
|
|
223
259
|
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."""
|
|
224
260
|
|
|
225
|
-
pq_mode: Annotated[
|
|
226
|
-
Annotated[
|
|
227
|
-
Optional[OutputGraphiteMode], PlainValidator(validate_open_enum(False))
|
|
228
|
-
],
|
|
229
|
-
pydantic.Field(alias="pqMode"),
|
|
230
|
-
] = OutputGraphiteMode.ERROR
|
|
231
|
-
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."""
|
|
232
|
-
|
|
233
261
|
pq_controls: Annotated[
|
|
234
262
|
Optional[OutputGraphitePqControls], pydantic.Field(alias="pqControls")
|
|
235
263
|
] = None
|
|
@@ -109,6 +109,17 @@ class OutputHoneycombAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
109
109
|
SECRET = "secret"
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
class OutputHoneycombMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
113
|
+
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."""
|
|
114
|
+
|
|
115
|
+
# Error
|
|
116
|
+
ERROR = "error"
|
|
117
|
+
# Backpressure
|
|
118
|
+
ALWAYS = "always"
|
|
119
|
+
# Always On
|
|
120
|
+
BACKPRESSURE = "backpressure"
|
|
121
|
+
|
|
122
|
+
|
|
112
123
|
class OutputHoneycombCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
113
124
|
r"""Codec to use to compress the persisted data"""
|
|
114
125
|
|
|
@@ -127,17 +138,6 @@ class OutputHoneycombQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
127
138
|
DROP = "drop"
|
|
128
139
|
|
|
129
140
|
|
|
130
|
-
class OutputHoneycombMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
|
-
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."""
|
|
132
|
-
|
|
133
|
-
# Error
|
|
134
|
-
ERROR = "error"
|
|
135
|
-
# Backpressure
|
|
136
|
-
BACKPRESSURE = "backpressure"
|
|
137
|
-
# Always On
|
|
138
|
-
ALWAYS = "always"
|
|
139
|
-
|
|
140
|
-
|
|
141
141
|
class OutputHoneycombPqControlsTypedDict(TypedDict):
|
|
142
142
|
pass
|
|
143
143
|
|
|
@@ -197,6 +197,16 @@ class OutputHoneycombTypedDict(TypedDict):
|
|
|
197
197
|
auth_type: NotRequired[OutputHoneycombAuthenticationMethod]
|
|
198
198
|
r"""Enter API key directly, or select a stored secret"""
|
|
199
199
|
description: NotRequired[str]
|
|
200
|
+
pq_strict_ordering: NotRequired[bool]
|
|
201
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
202
|
+
pq_rate_per_sec: NotRequired[float]
|
|
203
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
204
|
+
pq_mode: NotRequired[OutputHoneycombMode]
|
|
205
|
+
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."""
|
|
206
|
+
pq_max_buffer_size: NotRequired[float]
|
|
207
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
208
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
209
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
200
210
|
pq_max_file_size: NotRequired[str]
|
|
201
211
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
202
212
|
pq_max_size: NotRequired[str]
|
|
@@ -207,8 +217,6 @@ class OutputHoneycombTypedDict(TypedDict):
|
|
|
207
217
|
r"""Codec to use to compress the persisted data"""
|
|
208
218
|
pq_on_backpressure: NotRequired[OutputHoneycombQueueFullBehavior]
|
|
209
219
|
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."""
|
|
210
|
-
pq_mode: NotRequired[OutputHoneycombMode]
|
|
211
|
-
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."""
|
|
212
220
|
pq_controls: NotRequired[OutputHoneycombPqControlsTypedDict]
|
|
213
221
|
team: NotRequired[str]
|
|
214
222
|
r"""Team API key where the dataset belongs"""
|
|
@@ -332,6 +340,34 @@ class OutputHoneycomb(BaseModel):
|
|
|
332
340
|
|
|
333
341
|
description: Optional[str] = None
|
|
334
342
|
|
|
343
|
+
pq_strict_ordering: Annotated[
|
|
344
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
345
|
+
] = True
|
|
346
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
347
|
+
|
|
348
|
+
pq_rate_per_sec: Annotated[
|
|
349
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
350
|
+
] = 0
|
|
351
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
352
|
+
|
|
353
|
+
pq_mode: Annotated[
|
|
354
|
+
Annotated[
|
|
355
|
+
Optional[OutputHoneycombMode], PlainValidator(validate_open_enum(False))
|
|
356
|
+
],
|
|
357
|
+
pydantic.Field(alias="pqMode"),
|
|
358
|
+
] = OutputHoneycombMode.ERROR
|
|
359
|
+
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."""
|
|
360
|
+
|
|
361
|
+
pq_max_buffer_size: Annotated[
|
|
362
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
363
|
+
] = 42
|
|
364
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
365
|
+
|
|
366
|
+
pq_max_backpressure_sec: Annotated[
|
|
367
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
368
|
+
] = 30
|
|
369
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
370
|
+
|
|
335
371
|
pq_max_file_size: Annotated[
|
|
336
372
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
337
373
|
] = "1 MB"
|
|
@@ -363,14 +399,6 @@ class OutputHoneycomb(BaseModel):
|
|
|
363
399
|
] = OutputHoneycombQueueFullBehavior.BLOCK
|
|
364
400
|
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."""
|
|
365
401
|
|
|
366
|
-
pq_mode: Annotated[
|
|
367
|
-
Annotated[
|
|
368
|
-
Optional[OutputHoneycombMode], PlainValidator(validate_open_enum(False))
|
|
369
|
-
],
|
|
370
|
-
pydantic.Field(alias="pqMode"),
|
|
371
|
-
] = OutputHoneycombMode.ERROR
|
|
372
|
-
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."""
|
|
373
|
-
|
|
374
402
|
pq_controls: Annotated[
|
|
375
403
|
Optional[OutputHoneycombPqControls], pydantic.Field(alias="pqControls")
|
|
376
404
|
] = None
|