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
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15554,6 +15554,7 @@ components:
tags:
description: Tags to help categorize or filter the page.
items:
description: A tag for categorizing or filtering the page.
type: string
type: array
target:
Expand Down Expand Up @@ -36766,6 +36767,7 @@ components:
description: Response type for listing notification channels for a user
properties:
data:
description: Array of notification channel data objects.
items:
$ref: '#/components/schemas/NotificationChannelData'
type: array
Expand All @@ -36774,10 +36776,12 @@ components:
description: Response type for listing notification rules for a user
properties:
data:
description: Array of notification rule data objects.
items:
$ref: '#/components/schemas/OnCallNotificationRuleData'
type: array
included:
description: Array of related resources included in the response.
items:
$ref: '#/components/schemas/OnCallNotificationRulesIncluded'
type: array
Expand Down Expand Up @@ -44821,7 +44825,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 +44855,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 @@ -47130,6 +47133,7 @@ components:
data:
$ref: '#/components/schemas/OnCallNotificationRuleData'
included:
description: Array of related resources included in the response.
items:
$ref: '#/components/schemas/OnCallNotificationRulesIncluded'
type: array
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self_, data: Union[List[NotificationChannelData], UnsetType] = unse
"""
Response type for listing notification channels for a user

:param data:
:param data: Array of notification channel data objects.
:type data: [NotificationChannelData], optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def __init__(
"""
Response type for listing notification rules for a user

:param data:
:param data: Array of notification rule data objects.
:type data: [OnCallNotificationRuleData], optional

:param included:
:param included: Array of related resources included in the response.
:type included: [OnCallNotificationRulesIncluded], optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(
"""
The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.

**Supported pipeline types:** logs, metrics
**Supported pipeline types:** logs

: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).
:type grpc_address_key: str, optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
:param data: Data for an on-call notification rule
:type data: OnCallNotificationRuleData

:param included:
:param included: Array of related resources included in the response.
:type included: [OnCallNotificationRulesIncluded], optional
"""
if included is not unset:
Expand Down

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions tests/v2/features/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
Loading