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.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
**kwargs,
):
"""

Attributes for a HAMR organization connection request.

:param hamr_status: Status of the HAMR connection:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(
**kwargs,
):
"""

Attributes of a HAMR organization connection response.

:param hamr_status: Status of the HAMR connection:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def openapi_types(_):

def __init__(self_, attributes: HamrOrgConnectionAttributesRequest, id: str, type: HamrOrgConnectionType, **kwargs):
"""
Data object for a HAMR organization connection request.


:param attributes:
:param attributes: Attributes for a HAMR organization connection request.
:type attributes: HamrOrgConnectionAttributesRequest

:param id: 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 @@ -40,9 +40,9 @@ def __init__(
self_, attributes: HamrOrgConnectionAttributesResponse, id: str, type: HamrOrgConnectionType, **kwargs
):
"""
Data object for a HAMR organization connection response.


:param attributes:
:param attributes: Attributes of a HAMR organization connection response.
:type attributes: HamrOrgConnectionAttributesResponse

:param id: The organization UUID for this HAMR connection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def openapi_types(_):

def __init__(self_, data: HamrOrgConnectionDataRequest, **kwargs):
"""
Request payload for creating or updating a HAMR organization connection.


:param data:
:param data: Data object for a HAMR organization connection request.
:type data: HamrOrgConnectionDataRequest
"""
super().__init__(kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def openapi_types(_):

def __init__(self_, data: HamrOrgConnectionDataResponse, **kwargs):
"""
Response payload for a HAMR organization connection.


:param data:
:param data: Data object for a HAMR organization connection response.
:type data: HamrOrgConnectionDataResponse
"""
super().__init__(kwargs)
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

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