Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20587,15 +20587,19 @@ components:
- data
type: object
DeletedSuiteResponseData:
description: Data object for a deleted Synthetic test suite.
properties:
attributes:
$ref: '#/components/schemas/DeletedSuiteResponseDataAttributes'
id:
description: The public ID of the deleted Synthetic test suite.
type: string
type:
$ref: '#/components/schemas/SyntheticsSuiteTypes'
type: object
DeletedSuiteResponseDataAttributes:
description: Attributes of a deleted Synthetic test suite, including deletion
timestamp and public ID.
properties:
deleted_at:
description: Deletion timestamp of the Synthetic suite ID.
Expand All @@ -20605,30 +20609,37 @@ components:
type: string
type: object
DeletedSuitesRequestDelete:
description: Data object for a bulk delete Synthetic test suites request.
properties:
attributes:
$ref: '#/components/schemas/DeletedSuitesRequestDeleteAttributes'
id:
description: An optional identifier for the delete request.
type: string
type:
$ref: '#/components/schemas/DeletedSuitesRequestType'
required:
- attributes
type: object
DeletedSuitesRequestDeleteAttributes:
description: Attributes for a bulk delete Synthetic test suites request.
properties:
force_delete_dependencies:
description: Whether to force deletion of suites that have dependent resources.
type: boolean
public_ids:
description: List of public IDs of the Synthetic test suites to delete.
example:
- ''
items:
description: The public ID of a Synthetic test suite to delete.
type: string
type: array
required:
- public_ids
type: object
DeletedSuitesRequestDeleteRequest:
description: Request body for bulk deleting Synthetic test suites.
properties:
data:
$ref: '#/components/schemas/DeletedSuitesRequestDelete'
Expand All @@ -20637,29 +20648,36 @@ components:
type: object
DeletedSuitesRequestType:
default: delete_suites_request
description: Type for the bulk delete Synthetic suites request, `delete_suites_request`.
enum:
- delete_suites_request
example: delete_suites_request
type: string
x-enum-varnames:
- DELETE_SUITES_REQUEST
DeletedSuitesResponse:
description: Response containing the list of deleted Synthetic test suites.
properties:
data:
description: List of deleted Synthetic suite data objects.
items:
$ref: '#/components/schemas/DeletedSuiteResponseData'
type: array
type: object
DeletedTestResponseData:
description: Data object for a deleted Synthetic test.
properties:
attributes:
$ref: '#/components/schemas/DeletedTestResponseDataAttributes'
id:
description: The public ID of the deleted Synthetic test.
type: string
type:
$ref: '#/components/schemas/DeletedTestsResponseType'
type: object
DeletedTestResponseDataAttributes:
description: Attributes of a deleted Synthetic test, including deletion timestamp
and public ID.
properties:
deleted_at:
description: Deletion timestamp of the Synthetic test ID.
Expand All @@ -20669,30 +20687,37 @@ components:
type: string
type: object
DeletedTestsRequestDelete:
description: Data object for a bulk delete Synthetic tests request.
properties:
attributes:
$ref: '#/components/schemas/DeletedTestsRequestDeleteAttributes'
id:
description: An optional identifier for the delete request.
type: string
type:
$ref: '#/components/schemas/DeletedTestsRequestType'
required:
- attributes
type: object
DeletedTestsRequestDeleteAttributes:
description: Attributes for a bulk delete Synthetic tests request.
properties:
force_delete_dependencies:
description: Whether to force deletion of tests that have dependent resources.
type: boolean
public_ids:
description: List of public IDs of the Synthetic tests to delete.
example:
- ''
items:
description: The public ID of a Synthetic test to delete.
type: string
type: array
required:
- public_ids
type: object
DeletedTestsRequestDeleteRequest:
description: Request body for bulk deleting Synthetic tests.
properties:
data:
$ref: '#/components/schemas/DeletedTestsRequestDelete'
Expand All @@ -20701,21 +20726,25 @@ components:
type: object
DeletedTestsRequestType:
default: delete_tests_request
description: Type for the bulk delete Synthetic tests request, `delete_tests_request`.
enum:
- delete_tests_request
example: delete_tests_request
type: string
x-enum-varnames:
- DELETE_TESTS_REQUEST
DeletedTestsResponse:
description: Response containing the list of deleted Synthetic tests.
properties:
data:
description: List of deleted Synthetic test data objects.
items:
$ref: '#/components/schemas/DeletedTestResponseData'
type: array
type: object
DeletedTestsResponseType:
default: delete_tests
description: Type for the bulk delete Synthetic tests response, `delete_tests`.
enum:
- delete_tests
example: delete_tests
Expand Down Expand Up @@ -28822,13 +28851,15 @@ components:
- data
type: object
GlobalVariableJsonPatchRequestData:
description: Data object for a JSON Patch request on a Synthetic global variable.
properties:
attributes:
$ref: '#/components/schemas/GlobalVariableJsonPatchRequestDataAttributes'
type:
$ref: '#/components/schemas/GlobalVariableJsonPatchType'
type: object
GlobalVariableJsonPatchRequestDataAttributes:
description: Attributes for a JSON Patch request on a Synthetic global variable.
properties:
json_patch:
description: JSON Patch operations following RFC 6902.
Expand Down Expand Up @@ -44821,7 +44852,7 @@ components:
Protocol (OTLP) over gRPC and HTTP.


**Supported pipeline types:** logs, metrics'
**Supported pipeline types:** logs'
properties:
grpc_address_key:
description: Environment variable name containing the gRPC server address
Expand Down Expand Up @@ -44851,7 +44882,6 @@ components:
type: object
x-pipeline-types:
- logs
- metrics
ObservabilityPipelineOpentelemetrySourceType:
default: opentelemetry
description: The source type. The value should always be `opentelemetry`.
Expand Down Expand Up @@ -65632,6 +65662,7 @@ components:
type: number
type: object
SuiteCreateEdit:
description: Data object for creating or editing a Synthetic test suite.
properties:
attributes:
$ref: '#/components/schemas/SyntheticsSuite'
Expand All @@ -65642,6 +65673,7 @@ components:
- type
type: object
SuiteCreateEditRequest:
description: Request body for creating or editing a Synthetic test suite.
properties:
data:
$ref: '#/components/schemas/SuiteCreateEdit'
Expand All @@ -65650,6 +65682,7 @@ components:
type: object
SuiteSearchResponseType:
default: suites_search
description: Type for the Synthetics suites search response, `suites_search`.
enum:
- suites_search
example: suites_search
Expand Down Expand Up @@ -66077,6 +66110,7 @@ components:
$ref: '#/components/schemas/SyntheticsNetworkTestRequest'
type: object
SyntheticsNetworkTestEdit:
description: Data object for creating or editing a Network Path test.
properties:
attributes:
$ref: '#/components/schemas/SyntheticsNetworkTest'
Expand Down Expand Up @@ -66253,6 +66287,7 @@ components:
type: string
type: array
tests:
description: Array of Synthetic tests included in the suite.
items:
$ref: '#/components/schemas/SyntheticsSuiteTest'
type: array
Expand Down Expand Up @@ -66306,6 +66341,7 @@ components:
attributes:
$ref: '#/components/schemas/SyntheticsSuiteSearchResponseDataAttributes'
id:
description: The unique identifier of the suite search response data.
format: uuid
type: string
type:
Expand All @@ -66315,10 +66351,12 @@ components:
description: Synthetics suite search response data attributes
properties:
suites:
description: List of Synthetic suites matching the search query.
items:
$ref: '#/components/schemas/SyntheticsSuite'
type: array
total:
description: Total number of Synthetic suites matching the search query.
format: int32
maximum: 2147483647
type: integer
Expand All @@ -66330,6 +66368,7 @@ components:
alerting_criticality:
$ref: '#/components/schemas/SyntheticsSuiteTestAlertingCriticality'
public_id:
description: The public ID of the Synthetic test included in the suite.
example: ''
type: string
required:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions features/v2/observability_pipelines.feature
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,6 @@ Feature: Observability Pipelines
And the response "data.attributes.config.destinations" has length 1
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"

@team:DataDog/observability-pipelines
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
Given new "ValidatePipeline" request
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"}}
When the request is sent
Then the response status is 200 OK
And the response "errors" has length 0

@team:DataDog/observability-pipelines
Scenario: Validate an observability pipeline returns "Bad Request" response
Given new "ValidatePipeline" request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object for a deleted Synthetic test suite.
class DeletedSuiteResponseData
include BaseGenericModel

#
# Attributes of a deleted Synthetic test suite, including deletion timestamp and public ID.
attr_accessor :attributes

#
# The public ID of the deleted Synthetic test suite.
attr_accessor :id

# Type for the Synthetics suites responses, `suites`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
#
# Attributes of a deleted Synthetic test suite, including deletion timestamp and public ID.
class DeletedSuiteResponseDataAttributes
include BaseGenericModel

Expand Down
Loading
Loading