cribl-control-plane 0.3.0b2__py3-none-any.whl → 0.3.0b4__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/errors/__init__.py +8 -5
- cribl_control_plane/errors/{healthstatus_error.py → healthserverstatus_error.py} +10 -9
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/health.py +22 -16
- cribl_control_plane/models/__init__.py +152 -29
- cribl_control_plane/models/authtoken.py +4 -7
- cribl_control_plane/models/configgroup.py +8 -7
- cribl_control_plane/models/createconfiggroupbyproductop.py +6 -5
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/groupcreaterequest.py +152 -0
- cribl_control_plane/models/{healthstatus.py → healthserverstatus.py} +7 -7
- cribl_control_plane/models/input.py +15 -15
- 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/inputfile.py +7 -2
- 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/logininfo.py +3 -3
- cribl_control_plane/models/output.py +21 -21
- 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 +124 -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/runnablejobcollection.py +12 -8
- cribl_control_plane/models/runnablejobexecutor.py +12 -8
- cribl_control_plane/models/runnablejobscheduledsearch.py +12 -8
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +23 -15
- {cribl_control_plane-0.3.0b2.dist-info → cribl_control_plane-0.3.0b4.dist-info}/METADATA +4 -4
- {cribl_control_plane-0.3.0b2.dist-info → cribl_control_plane-0.3.0b4.dist-info}/RECORD +111 -112
- cribl_control_plane/models/error.py +0 -16
- cribl_control_plane/models/gethealthinfoop.py +0 -17
- {cribl_control_plane-0.3.0b2.dist-info → cribl_control_plane-0.3.0b4.dist-info}/WHEEL +0 -0
|
@@ -135,6 +135,17 @@ class OutputLokiBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
135
135
|
QUEUE = "queue"
|
|
136
136
|
|
|
137
137
|
|
|
138
|
+
class OutputLokiMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
139
|
+
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
|
+
|
|
141
|
+
# Error
|
|
142
|
+
ERROR = "error"
|
|
143
|
+
# Backpressure
|
|
144
|
+
ALWAYS = "always"
|
|
145
|
+
# Always On
|
|
146
|
+
BACKPRESSURE = "backpressure"
|
|
147
|
+
|
|
148
|
+
|
|
138
149
|
class OutputLokiCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
139
150
|
r"""Codec to use to compress the persisted data"""
|
|
140
151
|
|
|
@@ -153,17 +164,6 @@ class OutputLokiQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
153
164
|
DROP = "drop"
|
|
154
165
|
|
|
155
166
|
|
|
156
|
-
class OutputLokiMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
157
|
-
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."""
|
|
158
|
-
|
|
159
|
-
# Error
|
|
160
|
-
ERROR = "error"
|
|
161
|
-
# Backpressure
|
|
162
|
-
BACKPRESSURE = "backpressure"
|
|
163
|
-
# Always On
|
|
164
|
-
ALWAYS = "always"
|
|
165
|
-
|
|
166
|
-
|
|
167
167
|
class OutputLokiPqControlsTypedDict(TypedDict):
|
|
168
168
|
pass
|
|
169
169
|
|
|
@@ -240,6 +240,16 @@ class OutputLokiTypedDict(TypedDict):
|
|
|
240
240
|
r"""Password (API key in Grafana Cloud domain) for authentication"""
|
|
241
241
|
credentials_secret: NotRequired[str]
|
|
242
242
|
r"""Select or create a secret that references your credentials"""
|
|
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[OutputLokiMode]
|
|
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"""
|
|
243
253
|
pq_max_file_size: NotRequired[str]
|
|
244
254
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
245
255
|
pq_max_size: NotRequired[str]
|
|
@@ -250,8 +260,6 @@ class OutputLokiTypedDict(TypedDict):
|
|
|
250
260
|
r"""Codec to use to compress the persisted data"""
|
|
251
261
|
pq_on_backpressure: NotRequired[OutputLokiQueueFullBehavior]
|
|
252
262
|
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[OutputLokiMode]
|
|
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."""
|
|
255
263
|
pq_controls: NotRequired[OutputLokiPqControlsTypedDict]
|
|
256
264
|
|
|
257
265
|
|
|
@@ -411,6 +419,32 @@ class OutputLoki(BaseModel):
|
|
|
411
419
|
] = None
|
|
412
420
|
r"""Select or create a secret that references your credentials"""
|
|
413
421
|
|
|
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[Optional[OutputLokiMode], PlainValidator(validate_open_enum(False))],
|
|
434
|
+
pydantic.Field(alias="pqMode"),
|
|
435
|
+
] = OutputLokiMode.ERROR
|
|
436
|
+
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."""
|
|
437
|
+
|
|
438
|
+
pq_max_buffer_size: Annotated[
|
|
439
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
440
|
+
] = 42
|
|
441
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
442
|
+
|
|
443
|
+
pq_max_backpressure_sec: Annotated[
|
|
444
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
445
|
+
] = 30
|
|
446
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
447
|
+
|
|
414
448
|
pq_max_file_size: Annotated[
|
|
415
449
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
416
450
|
] = "1 MB"
|
|
@@ -441,12 +475,6 @@ class OutputLoki(BaseModel):
|
|
|
441
475
|
] = OutputLokiQueueFullBehavior.BLOCK
|
|
442
476
|
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."""
|
|
443
477
|
|
|
444
|
-
pq_mode: Annotated[
|
|
445
|
-
Annotated[Optional[OutputLokiMode], PlainValidator(validate_open_enum(False))],
|
|
446
|
-
pydantic.Field(alias="pqMode"),
|
|
447
|
-
] = OutputLokiMode.ERROR
|
|
448
|
-
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."""
|
|
449
|
-
|
|
450
478
|
pq_controls: Annotated[
|
|
451
479
|
Optional[OutputLokiPqControls], pydantic.Field(alias="pqControls")
|
|
452
480
|
] = None
|
|
@@ -229,6 +229,8 @@ class OutputMinioTypedDict(TypedDict):
|
|
|
229
229
|
r"""Compression level to apply before moving files to final destination"""
|
|
230
230
|
automatic_schema: NotRequired[bool]
|
|
231
231
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
232
|
+
parquet_schema: NotRequired[str]
|
|
233
|
+
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
232
234
|
parquet_version: NotRequired[OutputMinioParquetVersion]
|
|
233
235
|
r"""Determines which data types are supported and how they are represented"""
|
|
234
236
|
parquet_data_page_version: NotRequired[OutputMinioDataPageVersion]
|
|
@@ -470,6 +472,11 @@ class OutputMinio(BaseModel):
|
|
|
470
472
|
] = False
|
|
471
473
|
r"""Automatically calculate the schema based on the events of each Parquet file generated"""
|
|
472
474
|
|
|
475
|
+
parquet_schema: Annotated[Optional[str], pydantic.Field(alias="parquetSchema")] = (
|
|
476
|
+
None
|
|
477
|
+
)
|
|
478
|
+
r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
|
|
479
|
+
|
|
473
480
|
parquet_version: Annotated[
|
|
474
481
|
Annotated[
|
|
475
482
|
Optional[OutputMinioParquetVersion],
|
|
@@ -324,6 +324,17 @@ class OutputMskBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
324
324
|
QUEUE = "queue"
|
|
325
325
|
|
|
326
326
|
|
|
327
|
+
class OutputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
328
|
+
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."""
|
|
329
|
+
|
|
330
|
+
# Error
|
|
331
|
+
ERROR = "error"
|
|
332
|
+
# Backpressure
|
|
333
|
+
ALWAYS = "always"
|
|
334
|
+
# Always On
|
|
335
|
+
BACKPRESSURE = "backpressure"
|
|
336
|
+
|
|
337
|
+
|
|
327
338
|
class OutputMskPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
328
339
|
r"""Codec to use to compress the persisted data"""
|
|
329
340
|
|
|
@@ -342,17 +353,6 @@ class OutputMskQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
342
353
|
DROP = "drop"
|
|
343
354
|
|
|
344
355
|
|
|
345
|
-
class OutputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
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
|
-
|
|
348
|
-
# Error
|
|
349
|
-
ERROR = "error"
|
|
350
|
-
# Backpressure
|
|
351
|
-
BACKPRESSURE = "backpressure"
|
|
352
|
-
# Always On
|
|
353
|
-
ALWAYS = "always"
|
|
354
|
-
|
|
355
|
-
|
|
356
356
|
class OutputMskPqControlsTypedDict(TypedDict):
|
|
357
357
|
pass
|
|
358
358
|
|
|
@@ -438,6 +438,18 @@ class OutputMskTypedDict(TypedDict):
|
|
|
438
438
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
439
439
|
protobuf_library_id: NotRequired[str]
|
|
440
440
|
r"""Select a set of Protobuf definitions for the events you want to send"""
|
|
441
|
+
protobuf_encoding_id: NotRequired[str]
|
|
442
|
+
r"""Select the type of object you want the Protobuf definitions to use for event encoding"""
|
|
443
|
+
pq_strict_ordering: NotRequired[bool]
|
|
444
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
445
|
+
pq_rate_per_sec: NotRequired[float]
|
|
446
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
447
|
+
pq_mode: NotRequired[OutputMskMode]
|
|
448
|
+
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."""
|
|
449
|
+
pq_max_buffer_size: NotRequired[float]
|
|
450
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
451
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
452
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
441
453
|
pq_max_file_size: NotRequired[str]
|
|
442
454
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
443
455
|
pq_max_size: NotRequired[str]
|
|
@@ -448,8 +460,6 @@ class OutputMskTypedDict(TypedDict):
|
|
|
448
460
|
r"""Codec to use to compress the persisted data"""
|
|
449
461
|
pq_on_backpressure: NotRequired[OutputMskQueueFullBehavior]
|
|
450
462
|
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."""
|
|
451
|
-
pq_mode: NotRequired[OutputMskMode]
|
|
452
|
-
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."""
|
|
453
463
|
pq_controls: NotRequired[OutputMskPqControlsTypedDict]
|
|
454
464
|
|
|
455
465
|
|
|
@@ -633,6 +643,37 @@ class OutputMsk(BaseModel):
|
|
|
633
643
|
] = None
|
|
634
644
|
r"""Select a set of Protobuf definitions for the events you want to send"""
|
|
635
645
|
|
|
646
|
+
protobuf_encoding_id: Annotated[
|
|
647
|
+
Optional[str], pydantic.Field(alias="protobufEncodingId")
|
|
648
|
+
] = None
|
|
649
|
+
r"""Select the type of object you want the Protobuf definitions to use for event encoding"""
|
|
650
|
+
|
|
651
|
+
pq_strict_ordering: Annotated[
|
|
652
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
653
|
+
] = True
|
|
654
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
655
|
+
|
|
656
|
+
pq_rate_per_sec: Annotated[
|
|
657
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
658
|
+
] = 0
|
|
659
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
660
|
+
|
|
661
|
+
pq_mode: Annotated[
|
|
662
|
+
Annotated[Optional[OutputMskMode], PlainValidator(validate_open_enum(False))],
|
|
663
|
+
pydantic.Field(alias="pqMode"),
|
|
664
|
+
] = OutputMskMode.ERROR
|
|
665
|
+
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."""
|
|
666
|
+
|
|
667
|
+
pq_max_buffer_size: Annotated[
|
|
668
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
669
|
+
] = 42
|
|
670
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
671
|
+
|
|
672
|
+
pq_max_backpressure_sec: Annotated[
|
|
673
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
674
|
+
] = 30
|
|
675
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
676
|
+
|
|
636
677
|
pq_max_file_size: Annotated[
|
|
637
678
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
638
679
|
] = "1 MB"
|
|
@@ -664,12 +705,6 @@ class OutputMsk(BaseModel):
|
|
|
664
705
|
] = OutputMskQueueFullBehavior.BLOCK
|
|
665
706
|
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."""
|
|
666
707
|
|
|
667
|
-
pq_mode: Annotated[
|
|
668
|
-
Annotated[Optional[OutputMskMode], PlainValidator(validate_open_enum(False))],
|
|
669
|
-
pydantic.Field(alias="pqMode"),
|
|
670
|
-
] = OutputMskMode.ERROR
|
|
671
|
-
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."""
|
|
672
|
-
|
|
673
708
|
pq_controls: Annotated[
|
|
674
709
|
Optional[OutputMskPqControls], pydantic.Field(alias="pqControls")
|
|
675
710
|
] = None
|
|
@@ -140,6 +140,17 @@ class OutputNewrelicAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
140
140
|
SECRET = "secret"
|
|
141
141
|
|
|
142
142
|
|
|
143
|
+
class OutputNewrelicMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
|
+
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."""
|
|
145
|
+
|
|
146
|
+
# Error
|
|
147
|
+
ERROR = "error"
|
|
148
|
+
# Backpressure
|
|
149
|
+
ALWAYS = "always"
|
|
150
|
+
# Always On
|
|
151
|
+
BACKPRESSURE = "backpressure"
|
|
152
|
+
|
|
153
|
+
|
|
143
154
|
class OutputNewrelicCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
155
|
r"""Codec to use to compress the persisted data"""
|
|
145
156
|
|
|
@@ -158,17 +169,6 @@ class OutputNewrelicQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
158
169
|
DROP = "drop"
|
|
159
170
|
|
|
160
171
|
|
|
161
|
-
class OutputNewrelicMode(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
|
-
BACKPRESSURE = "backpressure"
|
|
168
|
-
# Always On
|
|
169
|
-
ALWAYS = "always"
|
|
170
|
-
|
|
171
|
-
|
|
172
172
|
class OutputNewrelicPqControlsTypedDict(TypedDict):
|
|
173
173
|
pass
|
|
174
174
|
|
|
@@ -237,6 +237,16 @@ class OutputNewrelicTypedDict(TypedDict):
|
|
|
237
237
|
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."""
|
|
238
238
|
description: NotRequired[str]
|
|
239
239
|
custom_url: NotRequired[str]
|
|
240
|
+
pq_strict_ordering: NotRequired[bool]
|
|
241
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
242
|
+
pq_rate_per_sec: NotRequired[float]
|
|
243
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
244
|
+
pq_mode: NotRequired[OutputNewrelicMode]
|
|
245
|
+
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."""
|
|
246
|
+
pq_max_buffer_size: NotRequired[float]
|
|
247
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
248
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
249
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
240
250
|
pq_max_file_size: NotRequired[str]
|
|
241
251
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
242
252
|
pq_max_size: NotRequired[str]
|
|
@@ -247,8 +257,6 @@ class OutputNewrelicTypedDict(TypedDict):
|
|
|
247
257
|
r"""Codec to use to compress the persisted data"""
|
|
248
258
|
pq_on_backpressure: NotRequired[OutputNewrelicQueueFullBehavior]
|
|
249
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."""
|
|
250
|
-
pq_mode: NotRequired[OutputNewrelicMode]
|
|
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
260
|
pq_controls: NotRequired[OutputNewrelicPqControlsTypedDict]
|
|
253
261
|
api_key: NotRequired[str]
|
|
254
262
|
r"""New Relic API key. Can be overridden using __newRelic_apiKey field."""
|
|
@@ -390,6 +398,34 @@ class OutputNewrelic(BaseModel):
|
|
|
390
398
|
|
|
391
399
|
custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
|
|
392
400
|
|
|
401
|
+
pq_strict_ordering: Annotated[
|
|
402
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
403
|
+
] = True
|
|
404
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
405
|
+
|
|
406
|
+
pq_rate_per_sec: Annotated[
|
|
407
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
408
|
+
] = 0
|
|
409
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
410
|
+
|
|
411
|
+
pq_mode: Annotated[
|
|
412
|
+
Annotated[
|
|
413
|
+
Optional[OutputNewrelicMode], PlainValidator(validate_open_enum(False))
|
|
414
|
+
],
|
|
415
|
+
pydantic.Field(alias="pqMode"),
|
|
416
|
+
] = OutputNewrelicMode.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
|
+
|
|
419
|
+
pq_max_buffer_size: Annotated[
|
|
420
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
421
|
+
] = 42
|
|
422
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
423
|
+
|
|
424
|
+
pq_max_backpressure_sec: Annotated[
|
|
425
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
426
|
+
] = 30
|
|
427
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
428
|
+
|
|
393
429
|
pq_max_file_size: Annotated[
|
|
394
430
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
395
431
|
] = "1 MB"
|
|
@@ -421,14 +457,6 @@ class OutputNewrelic(BaseModel):
|
|
|
421
457
|
] = OutputNewrelicQueueFullBehavior.BLOCK
|
|
422
458
|
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."""
|
|
423
459
|
|
|
424
|
-
pq_mode: Annotated[
|
|
425
|
-
Annotated[
|
|
426
|
-
Optional[OutputNewrelicMode], PlainValidator(validate_open_enum(False))
|
|
427
|
-
],
|
|
428
|
-
pydantic.Field(alias="pqMode"),
|
|
429
|
-
] = OutputNewrelicMode.ERROR
|
|
430
|
-
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."""
|
|
431
|
-
|
|
432
460
|
pq_controls: Annotated[
|
|
433
461
|
Optional[OutputNewrelicPqControls], pydantic.Field(alias="pqControls")
|
|
434
462
|
] = None
|
|
@@ -122,6 +122,17 @@ class OutputNewrelicEventsAuthenticationMethod(str, Enum, metaclass=utils.OpenEn
|
|
|
122
122
|
SECRET = "secret"
|
|
123
123
|
|
|
124
124
|
|
|
125
|
+
class OutputNewrelicEventsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
126
|
+
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."""
|
|
127
|
+
|
|
128
|
+
# Error
|
|
129
|
+
ERROR = "error"
|
|
130
|
+
# Backpressure
|
|
131
|
+
ALWAYS = "always"
|
|
132
|
+
# Always On
|
|
133
|
+
BACKPRESSURE = "backpressure"
|
|
134
|
+
|
|
135
|
+
|
|
125
136
|
class OutputNewrelicEventsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
126
137
|
r"""Codec to use to compress the persisted data"""
|
|
127
138
|
|
|
@@ -140,17 +151,6 @@ class OutputNewrelicEventsQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumM
|
|
|
140
151
|
DROP = "drop"
|
|
141
152
|
|
|
142
153
|
|
|
143
|
-
class OutputNewrelicEventsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
|
-
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."""
|
|
145
|
-
|
|
146
|
-
# Error
|
|
147
|
-
ERROR = "error"
|
|
148
|
-
# Backpressure
|
|
149
|
-
BACKPRESSURE = "backpressure"
|
|
150
|
-
# Always On
|
|
151
|
-
ALWAYS = "always"
|
|
152
|
-
|
|
153
|
-
|
|
154
154
|
class OutputNewrelicEventsPqControlsTypedDict(TypedDict):
|
|
155
155
|
pass
|
|
156
156
|
|
|
@@ -219,6 +219,16 @@ class OutputNewrelicEventsTypedDict(TypedDict):
|
|
|
219
219
|
r"""Enter API key directly, or select a stored secret"""
|
|
220
220
|
description: NotRequired[str]
|
|
221
221
|
custom_url: NotRequired[str]
|
|
222
|
+
pq_strict_ordering: NotRequired[bool]
|
|
223
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
224
|
+
pq_rate_per_sec: NotRequired[float]
|
|
225
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
226
|
+
pq_mode: NotRequired[OutputNewrelicEventsMode]
|
|
227
|
+
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."""
|
|
228
|
+
pq_max_buffer_size: NotRequired[float]
|
|
229
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
230
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
231
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
222
232
|
pq_max_file_size: NotRequired[str]
|
|
223
233
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
224
234
|
pq_max_size: NotRequired[str]
|
|
@@ -229,8 +239,6 @@ class OutputNewrelicEventsTypedDict(TypedDict):
|
|
|
229
239
|
r"""Codec to use to compress the persisted data"""
|
|
230
240
|
pq_on_backpressure: NotRequired[OutputNewrelicEventsQueueFullBehavior]
|
|
231
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."""
|
|
232
|
-
pq_mode: NotRequired[OutputNewrelicEventsMode]
|
|
233
|
-
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."""
|
|
234
242
|
pq_controls: NotRequired[OutputNewrelicEventsPqControlsTypedDict]
|
|
235
243
|
api_key: NotRequired[str]
|
|
236
244
|
r"""New Relic API key. Can be overridden using __newRelic_apiKey field."""
|
|
@@ -364,6 +372,35 @@ class OutputNewrelicEvents(BaseModel):
|
|
|
364
372
|
|
|
365
373
|
custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
|
|
366
374
|
|
|
375
|
+
pq_strict_ordering: Annotated[
|
|
376
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
377
|
+
] = True
|
|
378
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
379
|
+
|
|
380
|
+
pq_rate_per_sec: Annotated[
|
|
381
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
382
|
+
] = 0
|
|
383
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
384
|
+
|
|
385
|
+
pq_mode: Annotated[
|
|
386
|
+
Annotated[
|
|
387
|
+
Optional[OutputNewrelicEventsMode],
|
|
388
|
+
PlainValidator(validate_open_enum(False)),
|
|
389
|
+
],
|
|
390
|
+
pydantic.Field(alias="pqMode"),
|
|
391
|
+
] = OutputNewrelicEventsMode.ERROR
|
|
392
|
+
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."""
|
|
393
|
+
|
|
394
|
+
pq_max_buffer_size: Annotated[
|
|
395
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
396
|
+
] = 42
|
|
397
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
398
|
+
|
|
399
|
+
pq_max_backpressure_sec: Annotated[
|
|
400
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
401
|
+
] = 30
|
|
402
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
403
|
+
|
|
367
404
|
pq_max_file_size: Annotated[
|
|
368
405
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
369
406
|
] = "1 MB"
|
|
@@ -395,15 +432,6 @@ class OutputNewrelicEvents(BaseModel):
|
|
|
395
432
|
] = OutputNewrelicEventsQueueFullBehavior.BLOCK
|
|
396
433
|
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."""
|
|
397
434
|
|
|
398
|
-
pq_mode: Annotated[
|
|
399
|
-
Annotated[
|
|
400
|
-
Optional[OutputNewrelicEventsMode],
|
|
401
|
-
PlainValidator(validate_open_enum(False)),
|
|
402
|
-
],
|
|
403
|
-
pydantic.Field(alias="pqMode"),
|
|
404
|
-
] = OutputNewrelicEventsMode.ERROR
|
|
405
|
-
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."""
|
|
406
|
-
|
|
407
435
|
pq_controls: Annotated[
|
|
408
436
|
Optional[OutputNewrelicEventsPqControls], pydantic.Field(alias="pqControls")
|
|
409
437
|
] = None
|
|
@@ -274,6 +274,17 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
274
274
|
] = None
|
|
275
275
|
|
|
276
276
|
|
|
277
|
+
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
278
|
+
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."""
|
|
279
|
+
|
|
280
|
+
# Error
|
|
281
|
+
ERROR = "error"
|
|
282
|
+
# Backpressure
|
|
283
|
+
ALWAYS = "always"
|
|
284
|
+
# Always On
|
|
285
|
+
BACKPRESSURE = "backpressure"
|
|
286
|
+
|
|
287
|
+
|
|
277
288
|
class OutputOpenTelemetryPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
278
289
|
r"""Codec to use to compress the persisted data"""
|
|
279
290
|
|
|
@@ -292,17 +303,6 @@ class OutputOpenTelemetryQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
292
303
|
DROP = "drop"
|
|
293
304
|
|
|
294
305
|
|
|
295
|
-
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
296
|
-
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."""
|
|
297
|
-
|
|
298
|
-
# Error
|
|
299
|
-
ERROR = "error"
|
|
300
|
-
# Backpressure
|
|
301
|
-
BACKPRESSURE = "backpressure"
|
|
302
|
-
# Always On
|
|
303
|
-
ALWAYS = "always"
|
|
304
|
-
|
|
305
|
-
|
|
306
306
|
class OutputOpenTelemetryPqControlsTypedDict(TypedDict):
|
|
307
307
|
pass
|
|
308
308
|
|
|
@@ -409,6 +409,16 @@ class OutputOpenTelemetryTypedDict(TypedDict):
|
|
|
409
409
|
response_honor_retry_after_header: NotRequired[bool]
|
|
410
410
|
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."""
|
|
411
411
|
tls: NotRequired[OutputOpenTelemetryTLSSettingsClientSideTypedDict]
|
|
412
|
+
pq_strict_ordering: NotRequired[bool]
|
|
413
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
414
|
+
pq_rate_per_sec: NotRequired[float]
|
|
415
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
416
|
+
pq_mode: NotRequired[OutputOpenTelemetryMode]
|
|
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
|
+
pq_max_buffer_size: NotRequired[float]
|
|
419
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
420
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
421
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
412
422
|
pq_max_file_size: NotRequired[str]
|
|
413
423
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
414
424
|
pq_max_size: NotRequired[str]
|
|
@@ -419,8 +429,6 @@ class OutputOpenTelemetryTypedDict(TypedDict):
|
|
|
419
429
|
r"""Codec to use to compress the persisted data"""
|
|
420
430
|
pq_on_backpressure: NotRequired[OutputOpenTelemetryQueueFullBehavior]
|
|
421
431
|
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."""
|
|
422
|
-
pq_mode: NotRequired[OutputOpenTelemetryMode]
|
|
423
|
-
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."""
|
|
424
432
|
pq_controls: NotRequired[OutputOpenTelemetryPqControlsTypedDict]
|
|
425
433
|
|
|
426
434
|
|
|
@@ -647,6 +655,34 @@ class OutputOpenTelemetry(BaseModel):
|
|
|
647
655
|
|
|
648
656
|
tls: Optional[OutputOpenTelemetryTLSSettingsClientSide] = None
|
|
649
657
|
|
|
658
|
+
pq_strict_ordering: Annotated[
|
|
659
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
660
|
+
] = True
|
|
661
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
662
|
+
|
|
663
|
+
pq_rate_per_sec: Annotated[
|
|
664
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
665
|
+
] = 0
|
|
666
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
667
|
+
|
|
668
|
+
pq_mode: Annotated[
|
|
669
|
+
Annotated[
|
|
670
|
+
Optional[OutputOpenTelemetryMode], PlainValidator(validate_open_enum(False))
|
|
671
|
+
],
|
|
672
|
+
pydantic.Field(alias="pqMode"),
|
|
673
|
+
] = OutputOpenTelemetryMode.ERROR
|
|
674
|
+
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."""
|
|
675
|
+
|
|
676
|
+
pq_max_buffer_size: Annotated[
|
|
677
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
678
|
+
] = 42
|
|
679
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
680
|
+
|
|
681
|
+
pq_max_backpressure_sec: Annotated[
|
|
682
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
683
|
+
] = 30
|
|
684
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
685
|
+
|
|
650
686
|
pq_max_file_size: Annotated[
|
|
651
687
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
652
688
|
] = "1 MB"
|
|
@@ -678,14 +714,6 @@ class OutputOpenTelemetry(BaseModel):
|
|
|
678
714
|
] = OutputOpenTelemetryQueueFullBehavior.BLOCK
|
|
679
715
|
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."""
|
|
680
716
|
|
|
681
|
-
pq_mode: Annotated[
|
|
682
|
-
Annotated[
|
|
683
|
-
Optional[OutputOpenTelemetryMode], PlainValidator(validate_open_enum(False))
|
|
684
|
-
],
|
|
685
|
-
pydantic.Field(alias="pqMode"),
|
|
686
|
-
] = OutputOpenTelemetryMode.ERROR
|
|
687
|
-
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."""
|
|
688
|
-
|
|
689
717
|
pq_controls: Annotated[
|
|
690
718
|
Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
|
|
691
719
|
] = None
|