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
9 changes: 7 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29501,6 +29501,7 @@ components:
- value
type: object
HamrOrgConnectionAttributesRequest:
description: Attributes for a HAMR organization connection request.
properties:
hamr_status:
$ref: '#/components/schemas/HamrOrgConnectionStatus'
Expand Down Expand Up @@ -29539,6 +29540,7 @@ components:
- modified_by
type: object
HamrOrgConnectionAttributesResponse:
description: Attributes of a HAMR organization connection response.
properties:
hamr_status:
$ref: '#/components/schemas/HamrOrgConnectionStatus'
Expand Down Expand Up @@ -29583,6 +29585,7 @@ components:
- modified_by
type: object
HamrOrgConnectionDataRequest:
description: Data object for a HAMR organization connection request.
properties:
attributes:
$ref: '#/components/schemas/HamrOrgConnectionAttributesRequest'
Expand All @@ -29599,6 +29602,7 @@ components:
- attributes
type: object
HamrOrgConnectionDataResponse:
description: Data object for a HAMR organization connection response.
properties:
attributes:
$ref: '#/components/schemas/HamrOrgConnectionAttributesResponse'
Expand All @@ -29614,13 +29618,15 @@ components:
- attributes
type: object
HamrOrgConnectionRequest:
description: Request payload for creating or updating a HAMR organization connection.
properties:
data:
$ref: '#/components/schemas/HamrOrgConnectionDataRequest'
required:
- data
type: object
HamrOrgConnectionResponse:
description: Response payload for a HAMR organization connection.
properties:
data:
$ref: '#/components/schemas/HamrOrgConnectionDataResponse'
Expand Down Expand Up @@ -44821,7 +44827,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 +44857,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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
#
# Attributes for a HAMR organization connection request.
class HamrOrgConnectionAttributesRequest
include BaseGenericModel

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 HAMR organization connection response.
class HamrOrgConnectionAttributesResponse
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object for a HAMR organization connection request.
class HamrOrgConnectionDataRequest
include BaseGenericModel

#
# Attributes for a HAMR organization connection request.
attr_reader :attributes

# The organization UUID for this HAMR connection. Must match the authenticated organization's UUID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object for a HAMR organization connection response.
class HamrOrgConnectionDataResponse
include BaseGenericModel

#
# Attributes of a HAMR organization connection response.
attr_reader :attributes

# The organization UUID for this HAMR connection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# Request payload for creating or updating a HAMR organization connection.
class HamrOrgConnectionRequest
include BaseGenericModel

#
# Data object for a HAMR organization connection request.
attr_reader :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# Response payload for a HAMR organization connection.
class HamrOrgConnectionResponse
include BaseGenericModel

#
# Data object for a HAMR organization connection response.
attr_reader :data

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
Loading