Skip to content

Commit 1cd8cce

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5aa9961 of spec repo
1 parent 6a4db75 commit 1cd8cce

6 files changed

Lines changed: 13 additions & 134 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44821,7 +44821,7 @@ components:
4482144821
Protocol (OTLP) over gRPC and HTTP.
4482244822

4482344823

44824-
**Supported pipeline types:** logs, metrics'
44824+
**Supported pipeline types:** logs'
4482544825
properties:
4482644826
grpc_address_key:
4482744827
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44851,6 @@ components:
4485144851
type: object
4485244852
x-pipeline-types:
4485344853
- logs
44854-
- metrics
4485544854
ObservabilityPipelineOpentelemetrySourceType:
4485644855
default: opentelemetry
4485744856
description: The source type. The value should always be `opentelemetry`.
@@ -60870,6 +60869,8 @@ components:
6087060869
- address
6087160870
- login
6087260871
items:
60872+
description: A keyword to match within the defined proximity of the detected
60873+
pattern.
6087360874
type: string
6087460875
type: array
6087560876
use_recommended_keywords:
@@ -60978,6 +60979,7 @@ components:
6097860979
example:
6097960980
- admin.name
6098060981
items:
60982+
description: An attribute path to exclude from the scan.
6098160983
type: string
6098260984
type: array
6098360985
included_keyword_configuration:
@@ -60996,6 +60998,7 @@ components:
6099660998
example:
6099760999
- admin
6099861000
items:
61001+
description: An attribute path to include in the scan.
6099961002
type: string
6100061003
type: array
6100161004
pattern:
@@ -61012,6 +61015,7 @@ components:
6101261015
tags:
6101361016
description: List of tags.
6101461017
items:
61018+
description: A tag associated with the rule.
6101561019
type: string
6101661020
type: array
6101761021
text_replacement:
@@ -61169,6 +61173,8 @@ components:
6116961173
included_keywords:
6117061174
description: List of included keywords.
6117161175
items:
61176+
description: A keyword used to increase match precision for the standard
61177+
pattern.
6117261178
type: string
6117361179
type: array
6117461180
name:
@@ -61190,6 +61196,7 @@ components:
6119061196
tags:
6119161197
description: List of tags.
6119261198
items:
61199+
description: A tag associated with the standard pattern.
6119361200
type: string
6119461201
type: array
6119561202
type: object
@@ -61244,6 +61251,7 @@ components:
6124461251
- '@example.com'
6124561252
- another.example.com
6124661253
items:
61254+
description: A string suffix; matches ending with this value are suppressed.
6124761255
type: string
6124861256
type: array
6124961257
exact_match:
@@ -61253,6 +61261,7 @@ components:
6125361261
- admin@example.com
6125461262
- user@example.com
6125561263
items:
61264+
description: A string value; matches exactly equal to this value are suppressed.
6125661265
type: string
6125761266
type: array
6125861267
starts_with:
@@ -61262,6 +61271,7 @@ components:
6126261271
- admin
6126361272
- user
6126461273
items:
61274+
description: A string prefix; matches starting with this value are suppressed.
6126561275
type: string
6126661276
type: array
6126761277
type: object

examples/v2/observability-pipelines/ValidatePipeline_884022323.java

Lines changed: 0 additions & 90 deletions
This file was deleted.

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* The <code>opentelemetry</code> source receives telemetry data using the OpenTelemetry Protocol
2222
* (OTLP) over gRPC and HTTP.
2323
*
24-
* <p><strong>Supported pipeline types:</strong> logs, metrics
24+
* <p><strong>Supported pipeline types:</strong> logs
2525
*/
2626
@JsonPropertyOrder({
2727
ObservabilityPipelineOpentelemetrySource.JSON_PROPERTY_GRPC_ADDRESS_KEY,

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ Feature: Observability Pipelines
149149
And the response "data.attributes.config.destinations" has length 1
150150
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"
151151

152-
@team:DataDog/observability-pipelines
153-
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
154-
Given new "ValidatePipeline" request
155-
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"}}
156-
When the request is sent
157-
Then the response status is 200 OK
158-
And the response "errors" has length 0
159-
160152
@team:DataDog/observability-pipelines
161153
Scenario: Validate an observability pipeline returns "Bad Request" response
162154
Given new "ValidatePipeline" request

0 commit comments

Comments
 (0)