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
134 changes: 132 additions & 2 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

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 @@ -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
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/playlist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A single RUM replay playlist resource returned by create, update, or get operations.
class Playlist
include BaseGenericModel

#
# Data object representing a RUM replay playlist, including its identifier, type, and attributes.
attr_reader :data

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/playlist_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A list of RUM replay playlists returned by a list operation.
class PlaylistArray
include BaseGenericModel

#
# Array of playlist data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v2/models/playlist_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object representing a RUM replay playlist, including its identifier, type, and attributes.
class PlaylistData
include BaseGenericModel

#
# Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps.
attr_accessor :attributes

#
# Unique identifier of the playlist.
attr_accessor :id

# Rum replay playlist resource type.
Expand Down
14 changes: 7 additions & 7 deletions lib/datadog_api_client/v2/models/playlist_data_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
require 'time'

module DatadogAPIClient::V2
#
# Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps.
class PlaylistDataAttributes
include BaseGenericModel

#
# Timestamp when the playlist was created.
attr_accessor :created_at

#
# Information about the user who created the playlist.
attr_accessor :created_by

#
# Optional human-readable description of the playlist's purpose or contents.
attr_accessor :description

#
# Human-readable name of the playlist.
attr_reader :name

#
# Number of replay sessions currently in the playlist.
attr_accessor :session_count

#
# Timestamp when the playlist was last updated.
attr_accessor :updated_at

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

module DatadogAPIClient::V2
#
# Information about the user who created the playlist.
class PlaylistDataAttributesCreatedBy
include BaseGenericModel

#
# Email handle of the user who created the playlist.
attr_reader :handle

#
# URL or identifier of the user's avatar icon.
attr_accessor :icon

#
# Unique identifier of the user who created the playlist.
attr_reader :id

#
# Display name of the user who created the playlist.
attr_accessor :name

#
# UUID of the user who created the playlist.
attr_reader :uuid

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/playlists_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A single RUM replay session resource as it appears within a playlist context.
class PlaylistsSession
include BaseGenericModel

#
# Data object representing a session within a playlist, including its identifier, type, and attributes.
attr_reader :data

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/playlists_session_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A list of RUM replay sessions belonging to a playlist.
class PlaylistsSessionArray
include BaseGenericModel

#
# Array of playlist session data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v2/models/playlists_session_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object representing a session within a playlist, including its identifier, type, and attributes.
class PlaylistsSessionData
include BaseGenericModel

#
# Attributes of a session within a playlist, including the session event data and its replay track.
attr_accessor :attributes

#
# Unique identifier of the RUM replay session.
attr_accessor :id

# Rum replay session resource type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
require 'time'

module DatadogAPIClient::V2
#
# Attributes of a session within a playlist, including the session event data and its replay track.
class PlaylistsSessionDataAttributes
include BaseGenericModel

#
# Raw event data associated with the replay session.
attr_accessor :session_event

#
# Replay track identifier indicating which recording track the session belongs to.
attr_accessor :track

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/session_id_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A collection of session identifiers used for bulk add or remove operations on a playlist.
class SessionIdArray
include BaseGenericModel

#
# Array of session identifier data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/session_id_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A session identifier data object used for bulk playlist operations.
class SessionIdData
include BaseGenericModel

#
# Unique identifier of the RUM replay session.
attr_accessor :id

# Rum replay session resource type.
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A single heatmap snapshot resource returned by create or update operations.
class Snapshot
include BaseGenericModel

#
# Data object representing a heatmap snapshot, including its identifier, type, and attributes.
attr_accessor :data

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/snapshot_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# A list of heatmap snapshots returned by a list operation.
class SnapshotArray
include BaseGenericModel

#
# Array of heatmap snapshot data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/models/snapshot_create_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
#
# Request body for creating a heatmap snapshot.
class SnapshotCreateRequest
include BaseGenericModel

#
# Data object for a heatmap snapshot creation request, containing the resource type and attributes.
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
#
# Data object for a heatmap snapshot creation request, containing the resource type and attributes.
class SnapshotCreateRequestData
include BaseGenericModel

#
# Attributes for creating a heatmap snapshot, including the view, session, event, and device context.
attr_accessor :attributes

# Snapshots resource type.
Expand Down
Loading
Loading