cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (110) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/groups_sdk.py +3 -0
  3. cribl_control_plane/mappings.py +1185 -0
  4. cribl_control_plane/models/__init__.py +149 -105
  5. cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +52 -0
  6. cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
  7. cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
  8. cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
  9. cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
  10. cribl_control_plane/models/input.py +14 -14
  11. cribl_control_plane/models/inputappscope.py +16 -20
  12. cribl_control_plane/models/inputconfluentcloud.py +0 -110
  13. cribl_control_plane/models/inputcriblhttp.py +16 -20
  14. cribl_control_plane/models/inputcribllakehttp.py +16 -20
  15. cribl_control_plane/models/inputcribltcp.py +16 -20
  16. cribl_control_plane/models/inputdatadogagent.py +16 -20
  17. cribl_control_plane/models/inputedgeprometheus.py +36 -44
  18. cribl_control_plane/models/inputelastic.py +27 -44
  19. cribl_control_plane/models/inputeventhub.py +0 -118
  20. cribl_control_plane/models/inputfirehose.py +16 -20
  21. cribl_control_plane/models/inputgrafana.py +31 -39
  22. cribl_control_plane/models/inputhttp.py +16 -20
  23. cribl_control_plane/models/inputhttpraw.py +16 -20
  24. cribl_control_plane/models/inputkafka.py +0 -108
  25. cribl_control_plane/models/inputloki.py +16 -20
  26. cribl_control_plane/models/inputmetrics.py +16 -20
  27. cribl_control_plane/models/inputmodeldriventelemetry.py +16 -20
  28. cribl_control_plane/models/inputopentelemetry.py +15 -19
  29. cribl_control_plane/models/inputprometheus.py +36 -44
  30. cribl_control_plane/models/inputprometheusrw.py +16 -20
  31. cribl_control_plane/models/inputsplunk.py +16 -20
  32. cribl_control_plane/models/inputsplunkhec.py +15 -19
  33. cribl_control_plane/models/inputsyslog.py +31 -39
  34. cribl_control_plane/models/inputsystemmetrics.py +10 -20
  35. cribl_control_plane/models/inputtcp.py +16 -30
  36. cribl_control_plane/models/inputtcpjson.py +16 -20
  37. cribl_control_plane/models/inputwindowsmetrics.py +10 -20
  38. cribl_control_plane/models/inputwineventlogs.py +0 -14
  39. cribl_control_plane/models/inputwizwebhook.py +16 -20
  40. cribl_control_plane/models/inputzscalerhec.py +15 -19
  41. cribl_control_plane/models/mappingruleset.py +53 -0
  42. cribl_control_plane/models/mappingrulesetevalmappingfunction.py +71 -0
  43. cribl_control_plane/models/mappingrulesetgenericmappingfunction.py +29 -0
  44. cribl_control_plane/models/output.py +22 -22
  45. cribl_control_plane/models/outputazureblob.py +0 -7
  46. cribl_control_plane/models/outputazuredataexplorer.py +93 -283
  47. cribl_control_plane/models/outputazureeventhub.py +21 -169
  48. cribl_control_plane/models/outputazurelogs.py +21 -49
  49. cribl_control_plane/models/outputchronicle.py +21 -49
  50. cribl_control_plane/models/outputclickhouse.py +21 -49
  51. cribl_control_plane/models/outputcloudwatch.py +21 -49
  52. cribl_control_plane/models/outputconfluentcloud.py +22 -167
  53. cribl_control_plane/models/outputcriblhttp.py +21 -49
  54. cribl_control_plane/models/outputcribltcp.py +21 -49
  55. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +22 -50
  56. cribl_control_plane/models/outputdatabricks.py +0 -7
  57. cribl_control_plane/models/outputdatadog.py +21 -49
  58. cribl_control_plane/models/outputdataset.py +21 -49
  59. cribl_control_plane/models/outputdls3.py +0 -7
  60. cribl_control_plane/models/outputdynatracehttp.py +21 -49
  61. cribl_control_plane/models/outputdynatraceotlp.py +21 -49
  62. cribl_control_plane/models/outputelastic.py +21 -74
  63. cribl_control_plane/models/outputelasticcloud.py +21 -74
  64. cribl_control_plane/models/outputfilesystem.py +0 -7
  65. cribl_control_plane/models/outputgooglechronicle.py +22 -65
  66. cribl_control_plane/models/outputgooglecloudlogging.py +22 -50
  67. cribl_control_plane/models/outputgooglecloudstorage.py +0 -7
  68. cribl_control_plane/models/outputgooglepubsub.py +21 -49
  69. cribl_control_plane/models/outputgrafanacloud.py +42 -98
  70. cribl_control_plane/models/outputgraphite.py +21 -49
  71. cribl_control_plane/models/outputhoneycomb.py +21 -49
  72. cribl_control_plane/models/outputhumiohec.py +21 -49
  73. cribl_control_plane/models/outputinfluxdb.py +21 -49
  74. cribl_control_plane/models/outputkafka.py +19 -162
  75. cribl_control_plane/models/outputkinesis.py +21 -56
  76. cribl_control_plane/models/outputloki.py +19 -47
  77. cribl_control_plane/models/outputminio.py +0 -7
  78. cribl_control_plane/models/outputmsk.py +19 -54
  79. cribl_control_plane/models/outputnewrelic.py +21 -49
  80. cribl_control_plane/models/outputnewrelicevents.py +22 -50
  81. cribl_control_plane/models/outputopentelemetry.py +21 -49
  82. cribl_control_plane/models/outputprometheus.py +21 -49
  83. cribl_control_plane/models/outputs3.py +0 -7
  84. cribl_control_plane/models/outputsentinel.py +21 -49
  85. cribl_control_plane/models/outputsentineloneaisiem.py +22 -50
  86. cribl_control_plane/models/outputservicenow.py +21 -49
  87. cribl_control_plane/models/outputsignalfx.py +21 -49
  88. cribl_control_plane/models/outputsns.py +19 -47
  89. cribl_control_plane/models/outputsplunk.py +21 -49
  90. cribl_control_plane/models/outputsplunkhec.py +21 -49
  91. cribl_control_plane/models/outputsplunklb.py +21 -49
  92. cribl_control_plane/models/outputsqs.py +19 -47
  93. cribl_control_plane/models/outputstatsd.py +21 -49
  94. cribl_control_plane/models/outputstatsdext.py +21 -49
  95. cribl_control_plane/models/outputsumologic.py +21 -49
  96. cribl_control_plane/models/outputsyslog.py +99 -129
  97. cribl_control_plane/models/outputtcpjson.py +21 -49
  98. cribl_control_plane/models/outputwavefront.py +21 -49
  99. cribl_control_plane/models/outputwebhook.py +21 -49
  100. cribl_control_plane/models/outputxsiam.py +19 -47
  101. cribl_control_plane/models/pipeline.py +4 -4
  102. cribl_control_plane/models/rulesetid.py +13 -0
  103. cribl_control_plane/models/runnablejobcollection.py +8 -12
  104. cribl_control_plane/models/runnablejobexecutor.py +8 -12
  105. cribl_control_plane/models/runnablejobscheduledsearch.py +8 -12
  106. cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +63 -0
  107. cribl_control_plane/pipelines.py +8 -8
  108. {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/METADATA +11 -2
  109. {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/RECORD +110 -99
  110. {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc5.dist-info}/WHEEL +0 -0
@@ -135,17 +135,6 @@ 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
-
149
138
  class OutputLokiCompression(str, Enum, metaclass=utils.OpenEnumMeta):
150
139
  r"""Codec to use to compress the persisted data"""
151
140
 
@@ -164,6 +153,17 @@ class OutputLokiQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
164
153
  DROP = "drop"
165
154
 
166
155
 
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,16 +240,6 @@ 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"""
253
243
  pq_max_file_size: NotRequired[str]
254
244
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
255
245
  pq_max_size: NotRequired[str]
@@ -260,6 +250,8 @@ class OutputLokiTypedDict(TypedDict):
260
250
  r"""Codec to use to compress the persisted data"""
261
251
  pq_on_backpressure: NotRequired[OutputLokiQueueFullBehavior]
262
252
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
253
+ pq_mode: NotRequired[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."""
263
255
  pq_controls: NotRequired[OutputLokiPqControlsTypedDict]
264
256
 
265
257
 
@@ -419,32 +411,6 @@ class OutputLoki(BaseModel):
419
411
  ] = None
420
412
  r"""Select or create a secret that references your credentials"""
421
413
 
422
- pq_strict_ordering: Annotated[
423
- Optional[bool], pydantic.Field(alias="pqStrictOrdering")
424
- ] = True
425
- r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
426
-
427
- pq_rate_per_sec: Annotated[
428
- Optional[float], pydantic.Field(alias="pqRatePerSec")
429
- ] = 0
430
- r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
431
-
432
- pq_mode: Annotated[
433
- Annotated[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
-
448
414
  pq_max_file_size: Annotated[
449
415
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
450
416
  ] = "1 MB"
@@ -475,6 +441,12 @@ class OutputLoki(BaseModel):
475
441
  ] = OutputLokiQueueFullBehavior.BLOCK
476
442
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
477
443
 
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
+
478
450
  pq_controls: Annotated[
479
451
  Optional[OutputLokiPqControls], pydantic.Field(alias="pqControls")
480
452
  ] = None
@@ -229,8 +229,6 @@ 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"""
234
232
  parquet_version: NotRequired[OutputMinioParquetVersion]
235
233
  r"""Determines which data types are supported and how they are represented"""
236
234
  parquet_data_page_version: NotRequired[OutputMinioDataPageVersion]
@@ -472,11 +470,6 @@ class OutputMinio(BaseModel):
472
470
  ] = False
473
471
  r"""Automatically calculate the schema based on the events of each Parquet file generated"""
474
472
 
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
-
480
473
  parquet_version: Annotated[
481
474
  Annotated[
482
475
  Optional[OutputMinioParquetVersion],
@@ -324,17 +324,6 @@ 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
-
338
327
  class OutputMskPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
339
328
  r"""Codec to use to compress the persisted data"""
340
329
 
@@ -353,6 +342,17 @@ class OutputMskQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
353
342
  DROP = "drop"
354
343
 
355
344
 
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,18 +438,6 @@ 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"""
453
441
  pq_max_file_size: NotRequired[str]
454
442
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
455
443
  pq_max_size: NotRequired[str]
@@ -460,6 +448,8 @@ class OutputMskTypedDict(TypedDict):
460
448
  r"""Codec to use to compress the persisted data"""
461
449
  pq_on_backpressure: NotRequired[OutputMskQueueFullBehavior]
462
450
  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."""
463
453
  pq_controls: NotRequired[OutputMskPqControlsTypedDict]
464
454
 
465
455
 
@@ -643,37 +633,6 @@ class OutputMsk(BaseModel):
643
633
  ] = None
644
634
  r"""Select a set of Protobuf definitions for the events you want to send"""
645
635
 
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
-
677
636
  pq_max_file_size: Annotated[
678
637
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
679
638
  ] = "1 MB"
@@ -705,6 +664,12 @@ class OutputMsk(BaseModel):
705
664
  ] = OutputMskQueueFullBehavior.BLOCK
706
665
  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."""
707
666
 
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
+
708
673
  pq_controls: Annotated[
709
674
  Optional[OutputMskPqControls], pydantic.Field(alias="pqControls")
710
675
  ] = None
@@ -140,17 +140,6 @@ 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
-
154
143
  class OutputNewrelicCompression(str, Enum, metaclass=utils.OpenEnumMeta):
155
144
  r"""Codec to use to compress the persisted data"""
156
145
 
@@ -169,6 +158,17 @@ class OutputNewrelicQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
169
158
  DROP = "drop"
170
159
 
171
160
 
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,16 +237,6 @@ 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"""
250
240
  pq_max_file_size: NotRequired[str]
251
241
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
252
242
  pq_max_size: NotRequired[str]
@@ -257,6 +247,8 @@ class OutputNewrelicTypedDict(TypedDict):
257
247
  r"""Codec to use to compress the persisted data"""
258
248
  pq_on_backpressure: NotRequired[OutputNewrelicQueueFullBehavior]
259
249
  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."""
260
252
  pq_controls: NotRequired[OutputNewrelicPqControlsTypedDict]
261
253
  api_key: NotRequired[str]
262
254
  r"""New Relic API key. Can be overridden using __newRelic_apiKey field."""
@@ -398,34 +390,6 @@ class OutputNewrelic(BaseModel):
398
390
 
399
391
  custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
400
392
 
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
-
429
393
  pq_max_file_size: Annotated[
430
394
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
431
395
  ] = "1 MB"
@@ -457,6 +421,14 @@ class OutputNewrelic(BaseModel):
457
421
  ] = OutputNewrelicQueueFullBehavior.BLOCK
458
422
  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."""
459
423
 
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
+
460
432
  pq_controls: Annotated[
461
433
  Optional[OutputNewrelicPqControls], pydantic.Field(alias="pqControls")
462
434
  ] = None
@@ -122,17 +122,6 @@ 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
-
136
125
  class OutputNewrelicEventsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
137
126
  r"""Codec to use to compress the persisted data"""
138
127
 
@@ -151,6 +140,17 @@ class OutputNewrelicEventsQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumM
151
140
  DROP = "drop"
152
141
 
153
142
 
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,16 +219,6 @@ 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"""
232
222
  pq_max_file_size: NotRequired[str]
233
223
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
234
224
  pq_max_size: NotRequired[str]
@@ -239,6 +229,8 @@ class OutputNewrelicEventsTypedDict(TypedDict):
239
229
  r"""Codec to use to compress the persisted data"""
240
230
  pq_on_backpressure: NotRequired[OutputNewrelicEventsQueueFullBehavior]
241
231
  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."""
242
234
  pq_controls: NotRequired[OutputNewrelicEventsPqControlsTypedDict]
243
235
  api_key: NotRequired[str]
244
236
  r"""New Relic API key. Can be overridden using __newRelic_apiKey field."""
@@ -372,35 +364,6 @@ class OutputNewrelicEvents(BaseModel):
372
364
 
373
365
  custom_url: Annotated[Optional[str], pydantic.Field(alias="customUrl")] = None
374
366
 
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
-
404
367
  pq_max_file_size: Annotated[
405
368
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
406
369
  ] = "1 MB"
@@ -432,6 +395,15 @@ class OutputNewrelicEvents(BaseModel):
432
395
  ] = OutputNewrelicEventsQueueFullBehavior.BLOCK
433
396
  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."""
434
397
 
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
+
435
407
  pq_controls: Annotated[
436
408
  Optional[OutputNewrelicEventsPqControls], pydantic.Field(alias="pqControls")
437
409
  ] = None
@@ -274,17 +274,6 @@ 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
-
288
277
  class OutputOpenTelemetryPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
289
278
  r"""Codec to use to compress the persisted data"""
290
279
 
@@ -303,6 +292,17 @@ class OutputOpenTelemetryQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMe
303
292
  DROP = "drop"
304
293
 
305
294
 
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,16 +409,6 @@ 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"""
422
412
  pq_max_file_size: NotRequired[str]
423
413
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
424
414
  pq_max_size: NotRequired[str]
@@ -429,6 +419,8 @@ class OutputOpenTelemetryTypedDict(TypedDict):
429
419
  r"""Codec to use to compress the persisted data"""
430
420
  pq_on_backpressure: NotRequired[OutputOpenTelemetryQueueFullBehavior]
431
421
  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."""
432
424
  pq_controls: NotRequired[OutputOpenTelemetryPqControlsTypedDict]
433
425
 
434
426
 
@@ -655,34 +647,6 @@ class OutputOpenTelemetry(BaseModel):
655
647
 
656
648
  tls: Optional[OutputOpenTelemetryTLSSettingsClientSide] = None
657
649
 
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
-
686
650
  pq_max_file_size: Annotated[
687
651
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
688
652
  ] = "1 MB"
@@ -714,6 +678,14 @@ class OutputOpenTelemetry(BaseModel):
714
678
  ] = OutputOpenTelemetryQueueFullBehavior.BLOCK
715
679
  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."""
716
680
 
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
+
717
689
  pq_controls: Annotated[
718
690
  Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
719
691
  ] = None