Skip to content

Commit 827fc75

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6ba3ad9 of spec repo
1 parent 58dc88d commit 827fc75

6 files changed

Lines changed: 6 additions & 119 deletions

File tree

.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.py

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

src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
"""
5757
The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
5858
59-
**Supported pipeline types:** logs, metrics
59+
**Supported pipeline types:** logs
6060
6161
:param grpc_address_key: Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).
6262
:type grpc_address_key: str, optional

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen

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

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml

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

tests/v2/features/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)