Skip to content

Commit 8647bf8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 299d867 of spec repo (#3590)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a4d11f6 commit 8647bf8

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,6 +2080,7 @@ components:
20802080
- $ref: "#/components/schemas/FormulaAndFunctionMetricQueryDefinition"
20812081
- $ref: "#/components/schemas/FormulaAndFunctionEventQueryDefinition"
20822082
- $ref: "#/components/schemas/FormulaAndFunctionApmResourceStatsQueryDefinition"
2083+
- $ref: "#/components/schemas/FormulaAndFunctionApmMetricsQueryDefinition"
20832084
DistributionWidgetRequest:
20842085
description: Updated distribution widget.
20852086
properties:

src/datadog_api_client/v1/model/distribution_widget_histogram_request_query.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@ def __init__(self, **kwargs):
6868
6969
:param stat: APM resource stat name.
7070
:type stat: FormulaAndFunctionApmResourceStatName
71+
72+
:param operation_mode: Optional operation mode to aggregate across operation names.
73+
:type operation_mode: str, optional
74+
75+
:param peer_tags: Tags to query for a specific downstream entity (peer.service, peer.db_instance, peer.s3, peer.s3.bucket, etc.).
76+
:type peer_tags: [str], optional
77+
78+
:param query_filter: Additional filters for the query using metrics query syntax (e.g., env, primary_tag).
79+
:type query_filter: str, optional
80+
81+
:param resource_hash: The hash of a specific resource to filter by.
82+
:type resource_hash: str, optional
83+
84+
:param span_kind: Describes the relationship between the span, its parents, and its children in a trace.
85+
:type span_kind: FormulaAndFunctionApmMetricsSpanKind, optional
7186
"""
7287
super().__init__(kwargs)
7388

@@ -89,11 +104,15 @@ def _composed_schemas(_):
89104
from datadog_api_client.v1.model.formula_and_function_apm_resource_stats_query_definition import (
90105
FormulaAndFunctionApmResourceStatsQueryDefinition,
91106
)
107+
from datadog_api_client.v1.model.formula_and_function_apm_metrics_query_definition import (
108+
FormulaAndFunctionApmMetricsQueryDefinition,
109+
)
92110

93111
return {
94112
"oneOf": [
95113
FormulaAndFunctionMetricQueryDefinition,
96114
FormulaAndFunctionEventQueryDefinition,
97115
FormulaAndFunctionApmResourceStatsQueryDefinition,
116+
FormulaAndFunctionApmMetricsQueryDefinition,
98117
],
99118
}

src/datadog_api_client/v1/model/distribution_widget_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ def __init__(
148148
FormulaAndFunctionMetricQueryDefinition,
149149
FormulaAndFunctionEventQueryDefinition,
150150
FormulaAndFunctionApmResourceStatsQueryDefinition,
151+
FormulaAndFunctionApmMetricsQueryDefinition,
151152
UnsetType,
152153
] = unset,
153154
request_type: Union[WidgetHistogramRequestType, UnsetType] = unset,

0 commit comments

Comments
 (0)