Skip to content

Commit 3935a1f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b63317d of spec repo
1 parent 6a4db75 commit 3935a1f

File tree

6 files changed

+11
-134
lines changed

6 files changed

+11
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,6 +2402,7 @@ components:
24022402
- amplify:ListBackendEnvironments
24032403
- amplify:ListBranches
24042404
items:
2405+
description: An AWS IAM permission required for the Datadog integration.
24052406
example: account:GetContactInformation
24062407
type: string
24072408
type: array
@@ -2461,6 +2462,7 @@ components:
24612462
description: List of Datadog Lambda Log Forwarder ARNs in your AWS account.
24622463
Defaults to `[]`.
24632464
items:
2465+
description: The ARN of a Datadog Lambda Log Forwarder function.
24642466
example: arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder
24652467
type: string
24662468
type: array
@@ -2477,6 +2479,7 @@ components:
24772479

24782480
endpoint.'
24792481
items:
2482+
description: An AWS service ID for which automatic log collection is enabled.
24802483
example: s3
24812484
type: string
24822485
type: array
@@ -2547,6 +2550,7 @@ components:
25472550
example:
25482551
- s3
25492552
items:
2553+
description: The name of an AWS service that can send logs to Datadog.
25502554
example: s3
25512555
type: string
25522556
type: array
@@ -2632,6 +2636,7 @@ components:
26322636
- AWS/ElasticMapReduce
26332637
- AWS/Usage
26342638
items:
2639+
description: An AWS CloudWatch namespace to exclude from metrics collection.
26352640
example: AWS/SQS
26362641
type: string
26372642
type: array
@@ -2646,6 +2651,7 @@ components:
26462651
example:
26472652
- AWS/EC2
26482653
items:
2654+
description: An AWS CloudWatch namespace to include in metrics collection.
26492655
example: AWS/EC2
26502656
type: string
26512657
type: array
@@ -2700,6 +2706,7 @@ components:
27002706
example:
27012707
- AWS/ApiGateway
27022708
items:
2709+
description: An AWS CloudWatch namespace name.
27032710
example: AWS/ApiGateway
27042711
type: string
27052712
type: array
@@ -2797,6 +2804,7 @@ components:
27972804
example:
27982805
- us-east-1
27992806
items:
2807+
description: An AWS region to include in metrics collection.
28002808
example: us-east-1
28012809
type: string
28022810
type: array
@@ -44821,7 +44829,7 @@ components:
4482144829
Protocol (OTLP) over gRPC and HTTP.
4482244830

4482344831

44824-
**Supported pipeline types:** logs, metrics'
44832+
**Supported pipeline types:** logs'
4482544833
properties:
4482644834
grpc_address_key:
4482744835
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44859,6 @@ components:
4485144859
type: object
4485244860
x-pipeline-types:
4485344861
- logs
44854-
- metrics
4485544862
ObservabilityPipelineOpentelemetrySourceType:
4485644863
default: opentelemetry
4485744864
description: The source type. The value should always be `opentelemetry`.
@@ -72613,6 +72620,7 @@ components:
7261372620
example:
7261472621
- AWS/AppSync
7261572622
items:
72623+
description: An AWS X-Ray service name to include in traces collection.
7261672624
example: AWS/AppSync
7261772625
type: string
7261872626
type: array

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)