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
10 changes: 8 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3544,24 +3544,31 @@ components:
- $ref: '#/components/schemas/AnyValueBoolean'
type: object
AnyValueArray:
description: An array of arbitrary values.
items:
$ref: '#/components/schemas/AnyValueItem'
type: array
AnyValueBoolean:
description: A scalar boolean value.
type: boolean
AnyValueItem:
description: A single item in an array of arbitrary values, which can be a string,
number, object, or boolean.
oneOf:
- $ref: '#/components/schemas/AnyValueString'
- $ref: '#/components/schemas/AnyValueNumber'
- $ref: '#/components/schemas/AnyValueObject'
- $ref: '#/components/schemas/AnyValueBoolean'
AnyValueNumber:
description: A scalar numeric value.
format: double
type: number
AnyValueObject:
additionalProperties: {}
description: An arbitrary object value with additional properties.
type: object
AnyValueString:
description: A scalar string value.
type: string
ApiID:
description: API identifier.
Expand Down Expand Up @@ -44821,7 +44828,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 +44858,6 @@ components:
type: object
x-pipeline-types:
- logs
- metrics
ObservabilityPipelineOpentelemetrySourceType:
default: opentelemetry
description: The source type. The value should always be `opentelemetry`.
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
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/models/any_value_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
#
# A single item in an array of arbitrary values, which can be a string, number, object, or boolean.
module AnyValueItem
class << self
include BaseOneOfModel
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
Loading