Skip to content

Commit 0a57ffe

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cc7c305 of spec repo
1 parent 58dc88d commit 0a57ffe

8 files changed

Lines changed: 15 additions & 122 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8492,6 +8492,7 @@ components:
84928492
- ubuntu-18.04
84938493
- n2.large
84948494
items:
8495+
description: A label used to select or identify the node.
84958496
type: string
84968497
type: array
84978498
name:
@@ -18972,6 +18973,7 @@ components:
1897218973
example:
1897318974
- shopist
1897418975
items:
18976+
description: A service name impacted by the incident.
1897518977
type: string
1897618978
type: array
1897718979
severity:
@@ -19139,6 +19141,7 @@ components:
1913919141
example:
1914019142
- shopist
1914119143
items:
19144+
description: A service name impacted by the incident.
1914219145
type: string
1914319146
type: array
1914419147
severity:
@@ -20957,6 +20960,7 @@ components:
2095720960
- resource1
2095820961
- resource2
2095920962
items:
20963+
description: A resource name to exclude from faulty deployment detection.
2096020964
type: string
2096120965
type: array
2096220966
type: object
@@ -25416,12 +25420,15 @@ components:
2541625420
- '@foo'
2541725421
- '@bar'
2541825422
items:
25423+
description: A code owner of the test as inferred from the repository
25424+
configuration.
2541925425
type: string
2542025426
type: array
2542125427
envs:
2542225428
description: List of environments where this test has been flaky.
2542325429
example: prod
2542425430
items:
25431+
description: An environment name where this test has been flaky.
2542525432
type: string
2542625433
type: array
2542725434
first_flaked_branch:
@@ -25521,6 +25528,7 @@ components:
2552125528
- foo
2552225529
- bar
2552325530
items:
25531+
description: A test service name where this test has been flaky.
2552425532
type: string
2552525533
type: array
2552625534
suite:
@@ -36595,8 +36603,10 @@ components:
3659536603
x-enum-varnames:
3659636604
- LIST_DEPLOYMENT_RULES
3659736605
ListDeploymentRulesResponseDataAttributes:
36606+
description: Attributes of the response for listing deployment rules.
3659836607
properties:
3659936608
rules:
36609+
description: The list of deployment rules.
3660036610
items:
3660136611
$ref: '#/components/schemas/DeploymentRuleResponseDataAttributes'
3660236612
type: array
@@ -44821,7 +44831,7 @@ components:
4482144831
Protocol (OTLP) over gRPC and HTTP.
4482244832

4482344833

44824-
**Supported pipeline types:** logs, metrics'
44834+
**Supported pipeline types:** logs'
4482544835
properties:
4482644836
grpc_address_key:
4482744837
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44861,6 @@ components:
4485144861
type: object
4485244862
x-pipeline-types:
4485344863
- logs
44854-
- metrics
4485544864
ObservabilityPipelineOpentelemetrySourceType:
4485644865
default: opentelemetry
4485744866
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/list_deployment_rule_response_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
"""
4949
Data for a list of deployment rules.
5050
51-
:param attributes:
51+
:param attributes: Attributes of the response for listing deployment rules.
5252
:type attributes: ListDeploymentRulesResponseDataAttributes
5353
5454
:param id: Unique identifier of the deployment rule.

src/datadog_api_client/v2/model/list_deployment_rules_response_data_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def openapi_types(_):
3636

3737
def __init__(self_, rules: Union[List[DeploymentRuleResponseDataAttributes], UnsetType] = unset, **kwargs):
3838
"""
39+
Attributes of the response for listing deployment rules.
3940
40-
41-
:param rules:
41+
:param rules: The list of deployment rules.
4242
:type rules: [DeploymentRuleResponseDataAttributes], optional
4343
"""
4444
if rules is not unset:

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)