Skip to content

Commit 6132f6f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 02b2afe of spec repo
1 parent 6a4db75 commit 6132f6f

File tree

6 files changed

+25
-134
lines changed

6 files changed

+25
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12520,6 +12520,8 @@ components:
1252012520
- lb
1252112521
- worker
1252212522
items:
12523+
description: A Cloudflare resource type (for example, `web`, `dns`, `lb`,
12524+
`worker`).
1252312525
type: string
1252412526
type: array
1252512527
zones:
@@ -12528,6 +12530,7 @@ components:
1252812530
- zone_id_1
1252912531
- zone_id_2
1253012532
items:
12533+
description: A Cloudflare zone ID to restrict pulling metrics for.
1253112534
type: string
1253212535
type: array
1253312536
required:
@@ -12571,6 +12574,8 @@ components:
1257112574
- lb
1257212575
- worker
1257312576
items:
12577+
description: A Cloudflare resource type (for example, `web`, `dns`, `lb`,
12578+
`worker`).
1257412579
type: string
1257512580
type: array
1257612581
zones:
@@ -12579,6 +12584,7 @@ components:
1257912584
- zone_id_1
1258012585
- zone_id_2
1258112586
items:
12587+
description: A Cloudflare zone ID to restrict pulling metrics for.
1258212588
type: string
1258312589
type: array
1258412590
required:
@@ -12641,6 +12647,8 @@ components:
1264112647
- lb
1264212648
- worker
1264312649
items:
12650+
description: A Cloudflare resource type (for example, `web`, `dns`, `lb`,
12651+
`worker`).
1264412652
type: string
1264512653
type: array
1264612654
zones:
@@ -12649,6 +12657,7 @@ components:
1264912657
- zone_id_1
1265012658
- zone_id_2
1265112659
items:
12660+
description: A Cloudflare zone ID to restrict pulling metrics for.
1265212661
type: string
1265312662
type: array
1265412663
required:
@@ -13217,6 +13226,8 @@ components:
1321713226
- myTag
1321813227
- myTag2:myValue
1321913228
items:
13229+
description: A tag for the Confluent resource. Can be a single key or
13230+
a key-value pair separated by a colon.
1322013231
type: string
1322113232
type: array
1322213233
required:
@@ -13259,6 +13270,8 @@ components:
1325913270
- myTag
1326013271
- myTag2:myValue
1326113272
items:
13273+
description: A tag for the Confluent resource. Can be a single key or
13274+
a key-value pair separated by a colon.
1326213275
type: string
1326313276
type: array
1326413277
required:
@@ -13290,6 +13303,8 @@ components:
1329013303
- myTag
1329113304
- myTag2:myValue
1329213305
items:
13306+
description: A tag for the Confluent resource. Can be a single key or
13307+
a key-value pair separated by a colon.
1329313308
type: string
1329413309
type: array
1329513310
required:
@@ -13346,6 +13361,8 @@ components:
1334613361
- myTag
1334713362
- myTag2:myValue
1334813363
items:
13364+
description: A tag for the Confluent resource. Can be a single key or
13365+
a key-value pair separated by a colon.
1334913366
type: string
1335013367
type: array
1335113368
required:
@@ -13401,6 +13418,8 @@ components:
1340113418
- myTag
1340213419
- myTag2:myValue
1340313420
items:
13421+
description: A tag for the Confluent resource. Can be a single key or
13422+
a key-value pair separated by a colon.
1340413423
type: string
1340513424
type: array
1340613425
required:
@@ -13453,6 +13472,8 @@ components:
1345313472
- myTag
1345413473
- myTag2:myValue
1345513474
items:
13475+
description: A tag for the Confluent resource. Can be a single key or
13476+
a key-value pair separated by a colon.
1345613477
type: string
1345713478
type: array
1345813479
required:
@@ -24886,6 +24907,7 @@ components:
2488624907
- myTag
2488724908
- myTag2:myValue
2488824909
items:
24910+
description: A tag for the Fastly service.
2488924911
type: string
2489024912
type: array
2489124913
required:
@@ -24900,6 +24922,7 @@ components:
2490024922
- myTag
2490124923
- myTag2:myValue
2490224924
items:
24925+
description: A tag for the Fastly service.
2490324926
type: string
2490424927
type: array
2490524928
type: object
@@ -44821,7 +44844,7 @@ components:
4482144844
Protocol (OTLP) over gRPC and HTTP.
4482244845

4482344846

44824-
**Supported pipeline types:** logs, metrics'
44847+
**Supported pipeline types:** logs'
4482544848
properties:
4482644849
grpc_address_key:
4482744850
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44874,6 @@ components:
4485144874
type: object
4485244875
x-pipeline-types:
4485344876
- logs
44854-
- metrics
4485544877
ObservabilityPipelineOpentelemetrySourceType:
4485644878
default: opentelemetry
4485744879
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)