Skip to content

Commit cf88634

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7dcbc57 of spec repo
1 parent 6a4db75 commit cf88634

File tree

6 files changed

+7
-134
lines changed

6 files changed

+7
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40469,6 +40469,7 @@ components:
4046940469
- prod
4047040470
- staging
4047140471
items:
40472+
description: A valid tag value for the monitor configuration policy.
4047240473
maxLength: 255
4047340474
type: string
4047440475
type: array
@@ -40491,6 +40492,7 @@ components:
4049140492
- prod
4049240493
- staging
4049340494
items:
40495+
description: A valid tag value for the monitor configuration policy.
4049440496
maxLength: 255
4049540497
type: string
4049640498
type: array
@@ -40689,6 +40691,7 @@ components:
4068940691
- team:product
4069040692
- host:abc
4069140693
items:
40694+
description: A tag key:value pair to match against monitor notifications.
4069240695
maxLength: 255
4069340696
type: string
4069440697
maxItems: 20
@@ -41112,6 +41115,7 @@ components:
4111241115
- value1
4111341116
- value2
4111441117
items:
41118+
description: An available value for the template variable.
4111541119
minLength: 1
4111641120
type: string
4111741121
uniqueItems: true
@@ -41121,6 +41125,7 @@ components:
4112141125
example:
4112241126
- defaultValue
4112341127
items:
41128+
description: A default value for the template variable.
4112441129
minLength: 0
4112541130
type: string
4112641131
uniqueItems: true
@@ -44821,7 +44826,7 @@ components:
4482144826
Protocol (OTLP) over gRPC and HTTP.
4482244827

4482344828

44824-
**Supported pipeline types:** logs, metrics'
44829+
**Supported pipeline types:** logs'
4482544830
properties:
4482644831
grpc_address_key:
4482744832
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44856,6 @@ components:
4485144856
type: object
4485244857
x-pipeline-types:
4485344858
- logs
44854-
- metrics
4485544859
ObservabilityPipelineOpentelemetrySourceType:
4485644860
default: opentelemetry
4485744861
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)