Skip to content

Commit 39e0f53

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Adding Buffer options to Observability Pipeline Destinations (#34352)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent dae1485 commit 39e0f53

File tree

2 files changed

+113
-7
lines changed

2 files changed

+113
-7
lines changed

content/en/api/v2/observability-pipelines/examples.json

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

data/api/v2/full_spec.yaml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6752,6 +6752,8 @@ components:
67526752
description: Optional prefix for blobs written to the container.
67536753
example: logs/
67546754
type: string
6755+
buffer:
6756+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
67556757
container_name:
67566758
description: The name of the Azure Blob Storage container to store logs
67576759
in.
@@ -36625,6 +36627,8 @@ components:
3662536627

3662636628
**Supported pipeline types:** logs'
3662736629
properties:
36630+
buffer:
36631+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3662836632
client_id:
3662936633
description: Azure AD client ID used for authentication.
3663036634
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
@@ -38571,6 +38575,8 @@ components:
3857138575
properties:
3857238576
auth:
3857338577
$ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestinationAuth'
38578+
buffer:
38579+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3857438580
bulk_index:
3857538581
description: The index to write logs to.
3857638582
example: logs-index
@@ -38652,6 +38658,8 @@ components:
3865238658
description: S3 bucket name.
3865338659
example: error-logs
3865438660
type: string
38661+
buffer:
38662+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3865538663
id:
3865638664
description: Unique identifier for the destination component.
3865738665
example: amazon-s3-destination
@@ -38773,6 +38781,8 @@ components:
3877338781
description: Name of the Amazon S3 bucket in Security Lake (3-63 characters).
3877438782
example: security-lake-bucket
3877538783
type: string
38784+
buffer:
38785+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3877638786
custom_source_name:
3877738787
description: Custom source name for the logs in Security Lake.
3877838788
example: my-custom-source
@@ -38832,6 +38842,39 @@ components:
3883238842
role session.
3883338843
type: string
3883438844
type: object
38845+
ObservabilityPipelineBufferOptions:
38846+
description: Configuration for buffer settings on destination components.
38847+
oneOf:
38848+
- $ref: '#/components/schemas/ObservabilityPipelineDiskBufferOptions'
38849+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferOptions'
38850+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferSizeOptions'
38851+
ObservabilityPipelineBufferOptionsDiskType:
38852+
default: disk
38853+
description: The type of the buffer that will be configured, a disk buffer.
38854+
enum:
38855+
- disk
38856+
type: string
38857+
x-enum-varnames:
38858+
- DISK
38859+
ObservabilityPipelineBufferOptionsMemoryType:
38860+
default: memory
38861+
description: The type of the buffer that will be configured, a memory buffer.
38862+
enum:
38863+
- memory
38864+
type: string
38865+
x-enum-varnames:
38866+
- MEMORY
38867+
ObservabilityPipelineBufferOptionsWhenFull:
38868+
default: block
38869+
description: Behavior when the buffer is full (block and stop accepting new
38870+
events, or drop new events)
38871+
enum:
38872+
- block
38873+
- drop_newest
38874+
type: string
38875+
x-enum-varnames:
38876+
- BLOCK
38877+
- DROP_NEWEST
3883538878
ObservabilityPipelineCloudPremDestination:
3883638879
description: 'The `cloud_prem` destination sends logs to Datadog CloudPrem.
3883738880

@@ -39102,6 +39145,8 @@ components:
3910239145

3910339146
**Supported pipeline types:** logs'
3910439147
properties:
39148+
buffer:
39149+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3910539150
compression:
3910639151
$ref: '#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestinationCompression'
3910739152
encoding:
@@ -39327,6 +39372,8 @@ components:
3932739372

3932839373
**Supported pipeline types:** logs'
3932939374
properties:
39375+
buffer:
39376+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3933039377
id:
3933139378
description: The unique identifier for this component.
3933239379
example: datadog-logs-destination
@@ -39581,6 +39628,19 @@ components:
3958139628
type: string
3958239629
x-enum-varnames:
3958339630
- DEDUPE
39631+
ObservabilityPipelineDiskBufferOptions:
39632+
description: Options for configuring a disk buffer.
39633+
properties:
39634+
max_size:
39635+
description: Maximum size of the disk buffer.
39636+
example: 4096
39637+
format: int64
39638+
type: integer
39639+
type:
39640+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType'
39641+
when_full:
39642+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
39643+
type: object
3958439644
ObservabilityPipelineElasticsearchDestination:
3958539645
description: 'The `elasticsearch` destination writes logs to an Elasticsearch
3958639646
cluster.
@@ -39590,6 +39650,8 @@ components:
3959039650
properties:
3959139651
api_version:
3959239652
$ref: '#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion'
39653+
buffer:
39654+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3959339655
bulk_index:
3959439656
description: The index to write logs to in Elasticsearch.
3959539657
example: logs-index
@@ -40135,6 +40197,8 @@ components:
4013540197
properties:
4013640198
auth:
4013740199
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
40200+
buffer:
40201+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4013840202
customer_id:
4013940203
description: The Google Chronicle customer ID.
4014040204
example: abcdefg123456789
@@ -40203,6 +40267,8 @@ components:
4020340267
description: Name of the GCS bucket.
4020440268
example: error-logs
4020540269
type: string
40270+
buffer:
40271+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4020640272
id:
4020740273
description: Unique identifier for the destination component.
4020840274
example: gcs-destination
@@ -40287,6 +40353,8 @@ components:
4028740353
properties:
4028840354
auth:
4028940355
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
40356+
buffer:
40357+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4029040358
encoding:
4029140359
$ref: '#/components/schemas/ObservabilityPipelineGooglePubSubDestinationEncoding'
4029240360
id:
@@ -40813,6 +40881,28 @@ components:
4081340881
type: string
4081440882
x-enum-varnames:
4081540883
- LOGSTASH
40884+
ObservabilityPipelineMemoryBufferOptions:
40885+
description: Options for configuring a memory buffer by byte size.
40886+
properties:
40887+
max_size:
40888+
description: Maximum size of the memory buffer.
40889+
example: 4096
40890+
format: int64
40891+
type: integer
40892+
type:
40893+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40894+
type: object
40895+
ObservabilityPipelineMemoryBufferSizeOptions:
40896+
description: Options for configuring a memory buffer by queue length.
40897+
properties:
40898+
max_events:
40899+
description: Maximum events for the memory buffer.
40900+
example: 500
40901+
format: int64
40902+
type: integer
40903+
type:
40904+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40905+
type: object
4081640906
ObservabilityPipelineMetadataEntry:
4081740907
description: A custom metadata entry.
4081840908
properties:
@@ -40935,6 +41025,8 @@ components:
4093541025

4093641026
**Supported pipeline types:** logs'
4093741027
properties:
41028+
buffer:
41029+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4093841030
id:
4093941031
description: The unique identifier for this component.
4094041032
example: new-relic-destination
@@ -41081,6 +41173,8 @@ components:
4108141173

4108241174
**Supported pipeline types:** logs'
4108341175
properties:
41176+
buffer:
41177+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4108441178
bulk_index:
4108541179
description: The index to write logs to.
4108641180
example: logs-index
@@ -41794,6 +41888,8 @@ components:
4179441888

4179541889
**Supported pipeline types:** logs'
4179641890
properties:
41891+
buffer:
41892+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4179741893
id:
4179841894
description: The unique identifier for this component.
4179941895
example: rsyslog-destination
@@ -42299,6 +42395,8 @@ components:
4229942395

4230042396
**Supported pipeline types:** logs'
4230142397
properties:
42398+
buffer:
42399+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4230242400
id:
4230342401
description: The unique identifier for this component.
4230442402
example: sentinelone-destination
@@ -42353,6 +42451,8 @@ components:
4235342451

4235442452
**Supported pipeline types:** logs'
4235542453
properties:
42454+
buffer:
42455+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4235642456
encoding:
4235742457
$ref: '#/components/schemas/ObservabilityPipelineSocketDestinationEncoding'
4235842458
framing:
@@ -42729,6 +42829,8 @@ components:
4272942829
If `false`, Splunk assigns the time the event was received.'
4273042830
example: true
4273142831
type: boolean
42832+
buffer:
42833+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4273242834
encoding:
4273342835
$ref: '#/components/schemas/ObservabilityPipelineSplunkHecDestinationEncoding'
4273442836
id:
@@ -42853,6 +42955,8 @@ components:
4285342955

4285442956
**Supported pipeline types:** logs'
4285542957
properties:
42958+
buffer:
42959+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4285642960
encoding:
4285742961
$ref: '#/components/schemas/ObservabilityPipelineSumoLogicDestinationEncoding'
4285842962
header_custom_fields:
@@ -42966,6 +43070,8 @@ components:
4296643070

4296743071
**Supported pipeline types:** logs'
4296843072
properties:
43073+
buffer:
43074+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4296943075
id:
4297043076
description: The unique identifier for this component.
4297143077
example: syslog-ng-destination

0 commit comments

Comments
 (0)