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
6 changes: 6 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8112,6 +8112,12 @@ components:
type: object
MetricsListResponse:
description: Object listing all metric names stored by Datadog since a given time.
example:
from: "1571011200"
metrics:
- system.cpu.idle
- system.mem.free
- aws.ec2.cpuutilization
properties:
from:
description: Time when the metrics were active, seconds since the Unix epoch.
Expand Down
53 changes: 47 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64968,6 +64968,9 @@ components:
description: The ID of a component whose output is used as input for this destination.
type: string
type: array
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
description: Configuration for TLS encryption.
type:
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
required:
Expand Down Expand Up @@ -152933,10 +152936,21 @@ paths:
examples:
default:
value:
data: []
data:
- id: system.cpu.user
type: metrics
- attributes:
created_at: "2020-03-25T09:48:37.463835Z"
metric_type: gauge
modified_at: "2020-04-25T09:48:37.463835Z"
tags:
- app
- datacenter
id: http.endpoint.request
type: manage_tags
meta:
pagination:
next_cursor:
next_cursor: eyJhZnRlciI6Imh0dHAuZW5kcG9pbnQucmVxdWVzdCJ9
with_metric_volumes:
value:
data:
Expand Down Expand Up @@ -153779,12 +153793,30 @@ paths:
id: http.endpoint.request
relationships:
dashboards:
data: []
data:
- id: abc-def-xyz
type: dashboards
monitors:
data: []
data:
- id: "1775073"
type: monitors
notebooks:
data: []
slos:
data: []
type: metrics
included:
- attributes:
popularity: 3.0
title: My Dashboard
url: /dashboard/abc-def-xyz
id: abc-def-xyz
type: dashboards
- attributes:
title: CPU utilization is high
url: /monitors/1775073
id: "1775073"
type: monitors
schema:
$ref: "#/components/schemas/MetricAssetsResponse"
description: Success
Expand Down Expand Up @@ -153928,8 +153960,17 @@ paths:
examples:
default:
value:
data: []
meta: {}
data:
- attributes:
cardinality_delta: 25
id: host
type: tag_cardinality
- attributes:
cardinality_delta: 5
id: env
type: tag_cardinality
meta:
metric_name: system.cpu.user
schema:
$ref: "#/components/schemas/MetricTagCardinalitiesResponse"
description: Success
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

if TYPE_CHECKING:
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
ObservabilityPipelineCloudPremDestinationType,
)
Expand All @@ -33,6 +34,7 @@ class ObservabilityPipelineCloudPremDestination(ModelNormal):
@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
ObservabilityPipelineCloudPremDestinationType,
)
Expand All @@ -42,6 +44,7 @@ def openapi_types(_):
"endpoint_url_key": (str,),
"id": (str,),
"inputs": ([str],),
"tls": (ObservabilityPipelineTls,),
"type": (ObservabilityPipelineCloudPremDestinationType,),
}

Expand All @@ -50,6 +53,7 @@ def openapi_types(_):
"endpoint_url_key": "endpoint_url_key",
"id": "id",
"inputs": "inputs",
"tls": "tls",
"type": "type",
}

Expand All @@ -66,6 +70,7 @@ def __init__(
UnsetType,
] = unset,
endpoint_url_key: Union[str, UnsetType] = unset,
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -85,13 +90,18 @@ def __init__(
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
:type inputs: [str]

:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
:type tls: ObservabilityPipelineTls, optional

:param type: The destination type. The value should always be ``cloud_prem``.
:type type: ObservabilityPipelineCloudPremDestinationType
"""
if buffer is not unset:
kwargs["buffer"] = buffer
if endpoint_url_key is not unset:
kwargs["endpoint_url_key"] = endpoint_url_key
if tls is not unset:
kwargs["tls"] = tls
super().__init__(kwargs)

self_.id = id
Expand Down
Loading