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 @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Attributes for a HAMR organization connection request. */
@JsonPropertyOrder({
HamrOrgConnectionAttributesRequest.JSON_PROPERTY_HAMR_STATUS,
HamrOrgConnectionAttributesRequest.JSON_PROPERTY_IS_PRIMARY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Attributes of a HAMR organization connection response. */
@JsonPropertyOrder({
HamrOrgConnectionAttributesResponse.JSON_PROPERTY_HAMR_STATUS,
HamrOrgConnectionAttributesResponse.JSON_PROPERTY_IS_PRIMARY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Data object for a HAMR organization connection request. */
@JsonPropertyOrder({
HamrOrgConnectionDataRequest.JSON_PROPERTY_ATTRIBUTES,
HamrOrgConnectionDataRequest.JSON_PROPERTY_ID,
Expand Down Expand Up @@ -58,7 +58,7 @@ public HamrOrgConnectionDataRequest attributes(HamrOrgConnectionAttributesReques
}

/**
* Getattributes
* Attributes for a HAMR organization connection request.
*
* @return attributes
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Data object for a HAMR organization connection response. */
@JsonPropertyOrder({
HamrOrgConnectionDataResponse.JSON_PROPERTY_ATTRIBUTES,
HamrOrgConnectionDataResponse.JSON_PROPERTY_ID,
Expand Down Expand Up @@ -58,7 +58,7 @@ public HamrOrgConnectionDataResponse attributes(HamrOrgConnectionAttributesRespo
}

/**
* Getattributes
* Attributes of a HAMR organization connection response.
*
* @return attributes
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Request payload for creating or updating a HAMR organization connection. */
@JsonPropertyOrder({HamrOrgConnectionRequest.JSON_PROPERTY_DATA})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -43,7 +43,7 @@ public HamrOrgConnectionRequest data(HamrOrgConnectionDataRequest data) {
}

/**
* Getdata
* Data object for a HAMR organization connection request.
*
* @return data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** */
/** Response payload for a HAMR organization connection. */
@JsonPropertyOrder({HamrOrgConnectionResponse.JSON_PROPERTY_DATA})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -43,7 +43,7 @@ public HamrOrgConnectionResponse data(HamrOrgConnectionDataResponse data) {
}

/**
* Getdata
* Data object for a HAMR organization connection response.
*
* @return data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* The <code>opentelemetry</code> source receives telemetry data using the OpenTelemetry Protocol
* (OTLP) over gRPC and HTTP.
*
* <p><strong>Supported pipeline types:</strong> logs, metrics
* <p><strong>Supported pipeline types:</strong> logs
*/
@JsonPropertyOrder({
ObservabilityPipelineOpentelemetrySource.JSON_PROPERTY_GRPC_ADDRESS_KEY,
Expand Down

This file was deleted.

This file was deleted.

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