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.

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 @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class ListNotificationChannelsResponse
include BaseGenericModel

#
# Array of notification channel data objects.
attr_accessor :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ module DatadogAPIClient::V2
class ListOnCallNotificationRulesResponse
include BaseGenericModel

#
# Array of notification rule data objects.
attr_accessor :data

#
# Array of related resources included in the response.
attr_accessor :included

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
module DatadogAPIClient::V2
# The `opentelemetry` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
#
# **Supported pipeline types:** logs, metrics
# **Supported pipeline types:** logs
class ObservabilityPipelineOpentelemetrySource
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class OnCallNotificationRule
# Data for an on-call notification rule
attr_reader :data

#
# Array of related resources included in the response.
attr_accessor :included

attr_accessor :additional_properties
Expand Down
Loading