Skip to content

Commit 4b5bde1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6ba3ad9 of spec repo
1 parent 6a4db75 commit 4b5bde1

File tree

6 files changed

+6
-134
lines changed

6 files changed

+6
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21251,6 +21251,7 @@ components:
2125121251
- device_ip:1.2.3.4
2125221252
- device_id:example:1.2.3.4
2125321253
items:
21254+
description: A tag string in `key:value` format.
2125421255
type: string
2125521256
type: array
2125621257
vendor:
@@ -28167,6 +28168,7 @@ components:
2816728168
- device_ip:1.2.3.4
2816828169
- device_id:example:1.2.3.4
2816928170
items:
28171+
description: A tag string in `key:value` format.
2817028172
type: string
2817128173
type: array
2817228174
vendor:
@@ -33347,6 +33349,7 @@ components:
3334733349
- 1.1.1.1
3334833350
- 1.1.1.2
3334933351
items:
33352+
description: An IP address assigned to the interface.
3335033353
type: string
3335133354
type: array
3335233355
mac_address:
@@ -36929,6 +36932,7 @@ components:
3692936932
- tag:test
3693036933
- tag:testbis
3693136934
items:
36935+
description: A tag string in `key:value` format.
3693236936
type: string
3693336937
type: array
3693436938
type: object
@@ -44821,7 +44825,7 @@ components:
4482144825
Protocol (OTLP) over gRPC and HTTP.
4482244826

4482344827

44824-
**Supported pipeline types:** logs, metrics'
44828+
**Supported pipeline types:** logs'
4482544829
properties:
4482644830
grpc_address_key:
4482744831
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44855,6 @@ components:
4485144855
type: object
4485244856
x-pipeline-types:
4485344857
- logs
44854-
- metrics
4485544858
ObservabilityPipelineOpentelemetrySourceType:
4485644859
default: opentelemetry
4485744860
description: The source type. The value should always be `opentelemetry`.

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)