diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3bec741a1267..ead97d712fc7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7474,6 +7474,7 @@ components: description: The request body for deleting multiple rows from a reference table. properties: data: + description: List of row resources to delete from the reference table. items: $ref: '#/components/schemas/BatchDeleteRowsRequestData' maxItems: 200 @@ -7485,6 +7486,7 @@ components: description: Row resource containing a single row identifier for deletion. properties: id: + description: The primary key value that uniquely identifies the row to delete. example: primary_key_value type: string type: @@ -7498,6 +7500,8 @@ components: reference table. properties: data: + description: List of row resources to create or update in the reference + table. items: $ref: '#/components/schemas/BatchUpsertRowsRequestData' maxItems: 200 @@ -7512,6 +7516,8 @@ components: attributes: $ref: '#/components/schemas/BatchUpsertRowsRequestDataAttributes' id: + description: The primary key value that uniquely identifies the row to create + or update. example: primary_key_value type: string type: @@ -16064,6 +16070,7 @@ components: - tag_1 - tag_2 items: + description: A tag associated with the reference table. type: string type: array required: @@ -16215,6 +16222,7 @@ components: example: - field_1 items: + description: A field name used as a primary key. type: string type: array required: @@ -16463,6 +16471,7 @@ components: - field_1 - field_2 items: + description: A column header name from the CSV file. type: string type: array part_count: @@ -16525,6 +16534,7 @@ components: description: The pre-signed URLs for uploading parts. These URLs expire after 5 minutes. items: + description: A pre-signed URL for uploading a single file part. type: string type: array type: object @@ -44821,7 +44831,7 @@ components: Protocol (OTLP) over gRPC and HTTP. - **Supported pipeline types:** logs, metrics' + **Supported pipeline types:** logs' properties: grpc_address_key: description: Environment variable name containing the gRPC server address @@ -44851,7 +44861,6 @@ components: type: object x-pipeline-types: - logs - - metrics ObservabilityPipelineOpentelemetrySourceType: default: opentelemetry description: The source type. The value should always be `opentelemetry`. @@ -48910,6 +48919,7 @@ components: - tag_1 - tag_2 items: + description: A tag associated with the reference table. type: string type: array type: object @@ -49040,6 +49050,7 @@ components: example: - field_1 items: + description: A field name used as a primary key. type: string type: array required: @@ -66704,6 +66715,7 @@ components: - tag_1 - tag_2 items: + description: A tag associated with the reference table. type: string type: array updated_at: @@ -66862,6 +66874,7 @@ components: example: - field_1 items: + description: A field name used as a primary key. type: string type: array required: diff --git a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen b/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen deleted file mode 100644 index 9218d08a363b..000000000000 --- a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2026-03-10T16:11:47.487Z \ No newline at end of file diff --git a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml b/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml deleted file mode 100644 index 1c8db742f78a..000000000000 --- a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml +++ /dev/null @@ -1,27 +0,0 @@ -http_interactions: -- recorded_at: Tue, 10 Mar 2026 16:11:47 GMT - request: - body: - encoding: UTF-8 - string: '{"data":{"attributes":{"config":{"destinations":[{"id":"datadog-metrics-destination","inputs":["my-processor-group"],"type":"datadog_metrics"}],"pipeline_type":"metrics","processor_groups":[{"enabled":true,"id":"my-processor-group","include":"*","inputs":["opentelemetry-source"],"processors":[{"enabled":true,"id":"filter-processor","include":"env:production","type":"filter"}]}],"sources":[{"id":"opentelemetry-source","type":"opentelemetry"}]},"name":"Metrics - OTel Pipeline"},"type":"pipelines"}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - method: POST - uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate - response: - body: - encoding: UTF-8 - string: '{"errors":[]} - - ' - headers: - Content-Type: - - application/vnd.api+json - status: - code: 200 - message: OK -recorded_with: VCR 6.0.0 diff --git a/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb b/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb deleted file mode 100644 index 0a6c3d0e78a5..000000000000 --- a/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb +++ /dev/null @@ -1,50 +0,0 @@ -# Validate a metrics pipeline with opentelemetry source returns "OK" response - -require "datadog_api_client" -api_instance = DatadogAPIClient::V2::ObservabilityPipelinesAPI.new - -body = DatadogAPIClient::V2::ObservabilityPipelineSpec.new({ - data: DatadogAPIClient::V2::ObservabilityPipelineSpecData.new({ - attributes: DatadogAPIClient::V2::ObservabilityPipelineDataAttributes.new({ - config: DatadogAPIClient::V2::ObservabilityPipelineConfig.new({ - pipeline_type: DatadogAPIClient::V2::ObservabilityPipelineConfigPipelineType::METRICS, - destinations: [ - DatadogAPIClient::V2::ObservabilityPipelineDatadogMetricsDestination.new({ - id: "datadog-metrics-destination", - inputs: [ - "my-processor-group", - ], - type: DatadogAPIClient::V2::ObservabilityPipelineDatadogMetricsDestinationType::DATADOG_METRICS, - }), - ], - processor_groups: [ - DatadogAPIClient::V2::ObservabilityPipelineConfigProcessorGroup.new({ - enabled: true, - id: "my-processor-group", - include: "*", - inputs: [ - "opentelemetry-source", - ], - processors: [ - DatadogAPIClient::V2::ObservabilityPipelineFilterProcessor.new({ - enabled: true, - id: "filter-processor", - include: "env:production", - type: DatadogAPIClient::V2::ObservabilityPipelineFilterProcessorType::FILTER, - }), - ], - }), - ], - sources: [ - DatadogAPIClient::V2::ObservabilityPipelineOpentelemetrySource.new({ - id: "opentelemetry-source", - type: DatadogAPIClient::V2::ObservabilityPipelineOpentelemetrySourceType::OPENTELEMETRY, - }), - ], - }), - name: "Metrics OTel Pipeline", - }), - type: "pipelines", - }), -}) -p api_instance.validate_pipeline(body) diff --git a/features/v2/observability_pipelines.feature b/features/v2/observability_pipelines.feature index e272303955a0..bf90c06c1399 100644 --- a/features/v2/observability_pipelines.feature +++ b/features/v2/observability_pipelines.feature @@ -149,14 +149,6 @@ Feature: Observability Pipelines And the response "data.attributes.config.destinations" has length 1 And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id" - @team:DataDog/observability-pipelines - Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response - Given new "ValidatePipeline" request - And body with value {"data": {"attributes": {"config": {"pipeline_type": "metrics", "destinations": [{"id": "datadog-metrics-destination", "inputs": ["my-processor-group"], "type": "datadog_metrics"}], "processor_groups": [{"enabled": true, "id": "my-processor-group", "include": "*", "inputs": ["opentelemetry-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "env:production", "type": "filter"}]}], "sources": [{"id": "opentelemetry-source", "type": "opentelemetry"}]}, "name": "Metrics OTel Pipeline"}, "type": "pipelines"}} - When the request is sent - Then the response status is 200 OK - And the response "errors" has length 0 - @team:DataDog/observability-pipelines Scenario: Validate an observability pipeline returns "Bad Request" response Given new "ValidatePipeline" request diff --git a/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb b/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb index e2603d2db05c..fe41846fd665 100644 --- a/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb +++ b/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class BatchDeleteRowsRequestArray include BaseGenericModel - # + # List of row resources to delete from the reference table. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb b/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb index 887085c067c1..a9c993944a20 100644 --- a/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb +++ b/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class BatchDeleteRowsRequestData include BaseGenericModel - # + # The primary key value that uniquely identifies the row to delete. attr_reader :id # Row resource type. diff --git a/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb b/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb index 684fe7f83eea..598d70038941 100644 --- a/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb +++ b/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class BatchUpsertRowsRequestArray include BaseGenericModel - # + # List of row resources to create or update in the reference table. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb b/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb index ceac19ced449..22d64c79ff5e 100644 --- a/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb +++ b/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb @@ -24,7 +24,7 @@ class BatchUpsertRowsRequestData # Attributes containing row data values for row creation or update operations. attr_accessor :attributes - # + # The primary key value that uniquely identifies the row to create or update. attr_reader :id # Row resource type. diff --git a/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb b/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb index 6df608ca1081..8404b77f9341 100644 --- a/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb +++ b/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb @@ -19,7 +19,7 @@ module DatadogAPIClient::V2 # The `opentelemetry` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP. # - # **Supported pipeline types:** logs, metrics + # **Supported pipeline types:** logs class ObservabilityPipelineOpentelemetrySource include BaseGenericModel