cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc6__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 +2 -2
- cribl_control_plane/models/__init__.py +3 -99
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -2
- 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/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/runnablejobcollection.py +8 -12
- cribl_control_plane/models/runnablejobexecutor.py +8 -12
- cribl_control_plane/models/runnablejobscheduledsearch.py +8 -12
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc6.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc6.dist-info}/RECORD +98 -98
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc6.dist-info}/WHEEL +0 -0
|
@@ -39,17 +39,6 @@ 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
|
-
|
|
53
42
|
class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
54
43
|
r"""Codec to use to compress the persisted data"""
|
|
55
44
|
|
|
@@ -68,6 +57,17 @@ class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
68
57
|
DROP = "drop"
|
|
69
58
|
|
|
70
59
|
|
|
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,16 +117,6 @@ 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"""
|
|
130
120
|
pq_max_file_size: NotRequired[str]
|
|
131
121
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
132
122
|
pq_max_size: NotRequired[str]
|
|
@@ -137,6 +127,8 @@ class OutputGooglePubsubTypedDict(TypedDict):
|
|
|
137
127
|
r"""Codec to use to compress the persisted data"""
|
|
138
128
|
pq_on_backpressure: NotRequired[OutputGooglePubsubQueueFullBehavior]
|
|
139
129
|
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."""
|
|
140
132
|
pq_controls: NotRequired[OutputGooglePubsubPqControlsTypedDict]
|
|
141
133
|
|
|
142
134
|
|
|
@@ -228,34 +220,6 @@ class OutputGooglePubsub(BaseModel):
|
|
|
228
220
|
|
|
229
221
|
description: Optional[str] = None
|
|
230
222
|
|
|
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
|
-
|
|
259
223
|
pq_max_file_size: Annotated[
|
|
260
224
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
261
225
|
] = "1 MB"
|
|
@@ -287,6 +251,14 @@ class OutputGooglePubsub(BaseModel):
|
|
|
287
251
|
] = OutputGooglePubsubQueueFullBehavior.BLOCK
|
|
288
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."""
|
|
289
253
|
|
|
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
|
+
|
|
290
262
|
pq_controls: Annotated[
|
|
291
263
|
Optional[OutputGooglePubsubPqControls], pydantic.Field(alias="pqControls")
|
|
292
264
|
] = None
|
|
@@ -236,17 +236,6 @@ 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
|
-
|
|
250
239
|
class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
251
240
|
r"""Codec to use to compress the persisted data"""
|
|
252
241
|
|
|
@@ -265,6 +254,17 @@ class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
265
254
|
DROP = "drop"
|
|
266
255
|
|
|
267
256
|
|
|
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,16 +338,6 @@ 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"""
|
|
351
341
|
pq_max_file_size: NotRequired[str]
|
|
352
342
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
353
343
|
pq_max_size: NotRequired[str]
|
|
@@ -358,6 +348,8 @@ class OutputGrafanaCloudGrafanaCloud2TypedDict(TypedDict):
|
|
|
358
348
|
r"""Codec to use to compress the persisted data"""
|
|
359
349
|
pq_on_backpressure: NotRequired[OutputGrafanaCloudQueueFullBehavior2]
|
|
360
350
|
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."""
|
|
361
353
|
pq_controls: NotRequired[OutputGrafanaCloudPqControls2TypedDict]
|
|
362
354
|
|
|
363
355
|
|
|
@@ -500,34 +492,6 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
|
|
|
500
492
|
compress: Optional[bool] = True
|
|
501
493
|
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."""
|
|
502
494
|
|
|
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
|
-
|
|
531
495
|
pq_max_file_size: Annotated[
|
|
532
496
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
533
497
|
] = "1 MB"
|
|
@@ -559,6 +523,14 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
|
|
|
559
523
|
] = OutputGrafanaCloudQueueFullBehavior2.BLOCK
|
|
560
524
|
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."""
|
|
561
525
|
|
|
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
|
+
|
|
562
534
|
pq_controls: Annotated[
|
|
563
535
|
Optional[OutputGrafanaCloudPqControls2], pydantic.Field(alias="pqControls")
|
|
564
536
|
] = None
|
|
@@ -789,17 +761,6 @@ class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnu
|
|
|
789
761
|
QUEUE = "queue"
|
|
790
762
|
|
|
791
763
|
|
|
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
|
-
|
|
803
764
|
class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
804
765
|
r"""Codec to use to compress the persisted data"""
|
|
805
766
|
|
|
@@ -818,6 +779,17 @@ class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
818
779
|
DROP = "drop"
|
|
819
780
|
|
|
820
781
|
|
|
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
|
+
|
|
821
793
|
class OutputGrafanaCloudPqControls1TypedDict(TypedDict):
|
|
822
794
|
pass
|
|
823
795
|
|
|
@@ -891,16 +863,6 @@ class OutputGrafanaCloudGrafanaCloud1TypedDict(TypedDict):
|
|
|
891
863
|
description: NotRequired[str]
|
|
892
864
|
compress: NotRequired[bool]
|
|
893
865
|
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"""
|
|
904
866
|
pq_max_file_size: NotRequired[str]
|
|
905
867
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
906
868
|
pq_max_size: NotRequired[str]
|
|
@@ -911,6 +873,8 @@ class OutputGrafanaCloudGrafanaCloud1TypedDict(TypedDict):
|
|
|
911
873
|
r"""Codec to use to compress the persisted data"""
|
|
912
874
|
pq_on_backpressure: NotRequired[OutputGrafanaCloudQueueFullBehavior1]
|
|
913
875
|
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."""
|
|
914
878
|
pq_controls: NotRequired[OutputGrafanaCloudPqControls1TypedDict]
|
|
915
879
|
|
|
916
880
|
|
|
@@ -1055,34 +1019,6 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
|
|
|
1055
1019
|
compress: Optional[bool] = True
|
|
1056
1020
|
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."""
|
|
1057
1021
|
|
|
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
|
-
|
|
1086
1022
|
pq_max_file_size: Annotated[
|
|
1087
1023
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
1088
1024
|
] = "1 MB"
|
|
@@ -1114,6 +1050,14 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
|
|
|
1114
1050
|
] = OutputGrafanaCloudQueueFullBehavior1.BLOCK
|
|
1115
1051
|
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."""
|
|
1116
1052
|
|
|
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
|
+
|
|
1117
1061
|
pq_controls: Annotated[
|
|
1118
1062
|
Optional[OutputGrafanaCloudPqControls1], pydantic.Field(alias="pqControls")
|
|
1119
1063
|
] = None
|
|
@@ -35,17 +35,6 @@ 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
|
-
|
|
49
38
|
class OutputGraphiteCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
50
39
|
r"""Codec to use to compress the persisted data"""
|
|
51
40
|
|
|
@@ -64,6 +53,17 @@ class OutputGraphiteQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
64
53
|
DROP = "drop"
|
|
65
54
|
|
|
66
55
|
|
|
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,16 +105,6 @@ 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"""
|
|
118
108
|
pq_max_file_size: NotRequired[str]
|
|
119
109
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
120
110
|
pq_max_size: NotRequired[str]
|
|
@@ -125,6 +115,8 @@ class OutputGraphiteTypedDict(TypedDict):
|
|
|
125
115
|
r"""Codec to use to compress the persisted data"""
|
|
126
116
|
pq_on_backpressure: NotRequired[OutputGraphiteQueueFullBehavior]
|
|
127
117
|
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."""
|
|
128
120
|
pq_controls: NotRequired[OutputGraphitePqControlsTypedDict]
|
|
129
121
|
|
|
130
122
|
|
|
@@ -199,34 +191,6 @@ class OutputGraphite(BaseModel):
|
|
|
199
191
|
] = OutputGraphiteBackpressureBehavior.BLOCK
|
|
200
192
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
201
193
|
|
|
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
|
-
|
|
230
194
|
pq_max_file_size: Annotated[
|
|
231
195
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
232
196
|
] = "1 MB"
|
|
@@ -258,6 +222,14 @@ class OutputGraphite(BaseModel):
|
|
|
258
222
|
] = OutputGraphiteQueueFullBehavior.BLOCK
|
|
259
223
|
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."""
|
|
260
224
|
|
|
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
|
+
|
|
261
233
|
pq_controls: Annotated[
|
|
262
234
|
Optional[OutputGraphitePqControls], pydantic.Field(alias="pqControls")
|
|
263
235
|
] = None
|
|
@@ -109,17 +109,6 @@ 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
|
-
|
|
123
112
|
class OutputHoneycombCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
124
113
|
r"""Codec to use to compress the persisted data"""
|
|
125
114
|
|
|
@@ -138,6 +127,17 @@ class OutputHoneycombQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
138
127
|
DROP = "drop"
|
|
139
128
|
|
|
140
129
|
|
|
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,16 +197,6 @@ 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"""
|
|
210
200
|
pq_max_file_size: NotRequired[str]
|
|
211
201
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
212
202
|
pq_max_size: NotRequired[str]
|
|
@@ -217,6 +207,8 @@ class OutputHoneycombTypedDict(TypedDict):
|
|
|
217
207
|
r"""Codec to use to compress the persisted data"""
|
|
218
208
|
pq_on_backpressure: NotRequired[OutputHoneycombQueueFullBehavior]
|
|
219
209
|
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."""
|
|
220
212
|
pq_controls: NotRequired[OutputHoneycombPqControlsTypedDict]
|
|
221
213
|
team: NotRequired[str]
|
|
222
214
|
r"""Team API key where the dataset belongs"""
|
|
@@ -340,34 +332,6 @@ class OutputHoneycomb(BaseModel):
|
|
|
340
332
|
|
|
341
333
|
description: Optional[str] = None
|
|
342
334
|
|
|
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
|
-
|
|
371
335
|
pq_max_file_size: Annotated[
|
|
372
336
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
373
337
|
] = "1 MB"
|
|
@@ -399,6 +363,14 @@ class OutputHoneycomb(BaseModel):
|
|
|
399
363
|
] = OutputHoneycombQueueFullBehavior.BLOCK
|
|
400
364
|
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."""
|
|
401
365
|
|
|
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
|
+
|
|
402
374
|
pq_controls: Annotated[
|
|
403
375
|
Optional[OutputHoneycombPqControls], pydantic.Field(alias="pqControls")
|
|
404
376
|
] = None
|