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
15 changes: 13 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5548,6 +5548,7 @@ components:
example:
- staging
items:
description: An environment where the asset is deployed.
example: staging
type: string
type: array
Expand All @@ -5564,6 +5565,7 @@ components:
example:
- compute
items:
description: A team that owns the asset.
example: compute
type: string
type: array
Expand Down Expand Up @@ -36231,6 +36233,7 @@ components:
description: Related library or package names (such as child packages or
affected binary paths).
items:
description: A related library or package name affected by the vulnerability.
example: linux-tools-common
type: string
type: array
Expand Down Expand Up @@ -44821,7 +44824,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 +44854,6 @@ components:
type: object
x-pipeline-types:
- logs
- metrics
ObservabilityPipelineOpentelemetrySourceType:
default: opentelemetry
description: The source type. The value should always be `opentelemetry`.
Expand Down Expand Up @@ -55465,6 +55467,7 @@ components:
dependsOn:
description: The components that are dependencies of the ref component.
items:
description: A package URL (purl) identifying a dependency of the component.
example: pkg:golang/google.golang.org/grpc@1.68.1
type: string
required:
Expand Down Expand Up @@ -56079,6 +56082,8 @@ components:
example:
- production
items:
description: An origin identifier for the last successful scan of the
asset.
example: production
type: string
type: array
Expand Down Expand Up @@ -71815,6 +71820,7 @@ components:
example:
- CVE-2023-0615
items:
description: A CVE identifier associated with the vulnerability.
example: CVE-2023-0615
type: string
type: array
Expand Down Expand Up @@ -71865,6 +71871,8 @@ components:
example:
- agentless-scanner
items:
description: The detection origin of the vulnerability (for example, the
scanner type).
example: agentless-scanner
type: string
type: array
Expand All @@ -71877,6 +71885,8 @@ components:
description: Vulnerability `repo_digest` list (when the vulnerability is
related to `Image` asset).
items:
description: A container image repository digest identifying the affected
image.
example: sha256:0ae7da091191787229d321e3638e39c319a97d6e20f927d465b519d699215bf7
type: string
type: array
Expand Down Expand Up @@ -72018,6 +72028,7 @@ components:
example:
- NIST
items:
description: An exploit source reporting this vulnerability.
example: NIST
type: string
type: array
Expand Down

This file was deleted.

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