Skip to content

Commit bf07ed4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2945951 of spec repo
1 parent 32b643e commit bf07ed4

10 files changed

+347
-2
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "2e1c8ca",
3-
"generated": "2025-07-16 17:25:17.887"
2+
"spec_repo_commit": "2945951",
3+
"generated": "2025-07-16 19:27:24.231"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25164,6 +25164,7 @@ components:
2516425164
- $ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableProcessor'
2516525165
- $ref: '#/components/schemas/ObservabilityPipelineReduceProcessor'
2516625166
- $ref: '#/components/schemas/ObservabilityPipelineThrottleProcessor'
25167+
- $ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessor'
2516725168
ObservabilityPipelineConfigSourceItem:
2516825169
description: A data source for the pipeline.
2516925170
oneOf:
@@ -25273,6 +25274,80 @@ components:
2527325274
type: string
2527425275
x-enum-varnames:
2527525276
- DATADOG_LOGS
25277+
ObservabilityPipelineDatadogTagsProcessor:
25278+
description: The `datadog_tags` processor includes or excludes specific Datadog
25279+
tags in your logs.
25280+
properties:
25281+
action:
25282+
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
25283+
id:
25284+
description: The unique identifier for this component. Used to reference
25285+
this component in other parts of the pipeline (for example, as the `input`
25286+
to downstream components).
25287+
example: datadog-tags-processor
25288+
type: string
25289+
include:
25290+
description: A Datadog search query used to determine which logs this processor
25291+
targets.
25292+
example: service:my-service
25293+
type: string
25294+
inputs:
25295+
description: A list of component IDs whose output is used as the `input`
25296+
for this component.
25297+
example:
25298+
- datadog-agent-source
25299+
items:
25300+
type: string
25301+
type: array
25302+
keys:
25303+
description: A list of tag keys.
25304+
example:
25305+
- env
25306+
- service
25307+
- version
25308+
items:
25309+
type: string
25310+
type: array
25311+
mode:
25312+
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorMode'
25313+
type:
25314+
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorType'
25315+
required:
25316+
- id
25317+
- type
25318+
- include
25319+
- mode
25320+
- action
25321+
- keys
25322+
- inputs
25323+
type: object
25324+
ObservabilityPipelineDatadogTagsProcessorAction:
25325+
description: The action to take on tags with matching keys.
25326+
enum:
25327+
- include
25328+
- exclude
25329+
example: include
25330+
type: string
25331+
x-enum-varnames:
25332+
- INCLUDE
25333+
- EXCLUDE
25334+
ObservabilityPipelineDatadogTagsProcessorMode:
25335+
description: The processing mode.
25336+
enum:
25337+
- filter
25338+
example: filter
25339+
type: string
25340+
x-enum-varnames:
25341+
- FILTER
25342+
ObservabilityPipelineDatadogTagsProcessorType:
25343+
default: datadog_tags
25344+
description: The processor type. The value should always be `datadog_tags`.
25345+
enum:
25346+
- datadog_tags
25347+
example: datadog_tags
25348+
type: string
25349+
x-enum-varnames:
25350+
- DATADOG_TAGS
2527625351
ObservabilityPipelineDecoding:
2527725352
description: The decoding format used to interpret incoming logs.
2527825353
enum:

docs/datadog_api_client.v2.model.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10819,6 +10819,34 @@ datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_logs\_destinatio
1081910819
:members:
1082010820
:show-inheritance:
1082110821

10822+
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_tags\_processor module
10823+
--------------------------------------------------------------------------------------
10824+
10825+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor
10826+
:members:
10827+
:show-inheritance:
10828+
10829+
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_tags\_processor\_action module
10830+
----------------------------------------------------------------------------------------------
10831+
10832+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_action
10833+
:members:
10834+
:show-inheritance:
10835+
10836+
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_tags\_processor\_mode module
10837+
--------------------------------------------------------------------------------------------
10838+
10839+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_mode
10840+
:members:
10841+
:show-inheritance:
10842+
10843+
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_tags\_processor\_type module
10844+
--------------------------------------------------------------------------------------------
10845+
10846+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_type
10847+
:members:
10848+
:show-inheritance:
10849+
1082210850
datadog\_api\_client.v2.model.observability\_pipeline\_decoding module
1082310851
----------------------------------------------------------------------
1082410852

src/datadog_api_client/v2/model/observability_pipeline_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@
102102
from datadog_api_client.v2.model.observability_pipeline_throttle_processor import (
103103
ObservabilityPipelineThrottleProcessor,
104104
)
105+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor import (
106+
ObservabilityPipelineDatadogTagsProcessor,
107+
)
105108
from datadog_api_client.v2.model.observability_pipeline_kafka_source import ObservabilityPipelineKafkaSource
106109
from datadog_api_client.v2.model.observability_pipeline_datadog_agent_source import (
107110
ObservabilityPipelineDatadogAgentSource,
@@ -224,6 +227,7 @@ def __init__(
224227
ObservabilityPipelineEnrichmentTableProcessor,
225228
ObservabilityPipelineReduceProcessor,
226229
ObservabilityPipelineThrottleProcessor,
230+
ObservabilityPipelineDatadogTagsProcessor,
227231
]
228232
],
229233
UnsetType,

src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ def __init__(self, **kwargs):
102102
103103
:param window: The time window in seconds over which the threshold applies.
104104
:type window: float
105+
106+
:param action: The action to take on tags with matching keys.
107+
:type action: ObservabilityPipelineDatadogTagsProcessorAction
108+
109+
:param keys: A list of tag keys.
110+
:type keys: [str]
105111
"""
106112
super().__init__(kwargs)
107113

@@ -162,6 +168,9 @@ def _composed_schemas(_):
162168
from datadog_api_client.v2.model.observability_pipeline_throttle_processor import (
163169
ObservabilityPipelineThrottleProcessor,
164170
)
171+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor import (
172+
ObservabilityPipelineDatadogTagsProcessor,
173+
)
165174

166175
return {
167176
"oneOf": [
@@ -181,5 +190,6 @@ def _composed_schemas(_):
181190
ObservabilityPipelineEnrichmentTableProcessor,
182191
ObservabilityPipelineReduceProcessor,
183192
ObservabilityPipelineThrottleProcessor,
193+
ObservabilityPipelineDatadogTagsProcessor,
184194
],
185195
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
from typing import List, TYPE_CHECKING
7+
8+
from datadog_api_client.model_utils import (
9+
ModelNormal,
10+
cached_property,
11+
)
12+
13+
14+
if TYPE_CHECKING:
15+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_action import (
16+
ObservabilityPipelineDatadogTagsProcessorAction,
17+
)
18+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_mode import (
19+
ObservabilityPipelineDatadogTagsProcessorMode,
20+
)
21+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_type import (
22+
ObservabilityPipelineDatadogTagsProcessorType,
23+
)
24+
25+
26+
class ObservabilityPipelineDatadogTagsProcessor(ModelNormal):
27+
@cached_property
28+
def openapi_types(_):
29+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_action import (
30+
ObservabilityPipelineDatadogTagsProcessorAction,
31+
)
32+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_mode import (
33+
ObservabilityPipelineDatadogTagsProcessorMode,
34+
)
35+
from datadog_api_client.v2.model.observability_pipeline_datadog_tags_processor_type import (
36+
ObservabilityPipelineDatadogTagsProcessorType,
37+
)
38+
39+
return {
40+
"action": (ObservabilityPipelineDatadogTagsProcessorAction,),
41+
"id": (str,),
42+
"include": (str,),
43+
"inputs": ([str],),
44+
"keys": ([str],),
45+
"mode": (ObservabilityPipelineDatadogTagsProcessorMode,),
46+
"type": (ObservabilityPipelineDatadogTagsProcessorType,),
47+
}
48+
49+
attribute_map = {
50+
"action": "action",
51+
"id": "id",
52+
"include": "include",
53+
"inputs": "inputs",
54+
"keys": "keys",
55+
"mode": "mode",
56+
"type": "type",
57+
}
58+
59+
def __init__(
60+
self_,
61+
action: ObservabilityPipelineDatadogTagsProcessorAction,
62+
id: str,
63+
include: str,
64+
inputs: List[str],
65+
keys: List[str],
66+
mode: ObservabilityPipelineDatadogTagsProcessorMode,
67+
type: ObservabilityPipelineDatadogTagsProcessorType,
68+
**kwargs,
69+
):
70+
"""
71+
The ``datadog_tags`` processor includes or excludes specific Datadog tags in your logs.
72+
73+
:param action: The action to take on tags with matching keys.
74+
:type action: ObservabilityPipelineDatadogTagsProcessorAction
75+
76+
:param id: The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the ``input`` to downstream components).
77+
:type id: str
78+
79+
:param include: A Datadog search query used to determine which logs this processor targets.
80+
:type include: str
81+
82+
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
83+
:type inputs: [str]
84+
85+
:param keys: A list of tag keys.
86+
:type keys: [str]
87+
88+
:param mode: The processing mode.
89+
:type mode: ObservabilityPipelineDatadogTagsProcessorMode
90+
91+
:param type: The processor type. The value should always be ``datadog_tags``.
92+
:type type: ObservabilityPipelineDatadogTagsProcessorType
93+
"""
94+
super().__init__(kwargs)
95+
96+
self_.action = action
97+
self_.id = id
98+
self_.include = include
99+
self_.inputs = inputs
100+
self_.keys = keys
101+
self_.mode = mode
102+
self_.type = type
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
7+
from datadog_api_client.model_utils import (
8+
ModelSimple,
9+
cached_property,
10+
)
11+
12+
from typing import ClassVar
13+
14+
15+
class ObservabilityPipelineDatadogTagsProcessorAction(ModelSimple):
16+
"""
17+
The action to take on tags with matching keys.
18+
19+
:param value: Must be one of ["include", "exclude"].
20+
:type value: str
21+
"""
22+
23+
allowed_values = {
24+
"include",
25+
"exclude",
26+
}
27+
INCLUDE: ClassVar["ObservabilityPipelineDatadogTagsProcessorAction"]
28+
EXCLUDE: ClassVar["ObservabilityPipelineDatadogTagsProcessorAction"]
29+
30+
@cached_property
31+
def openapi_types(_):
32+
return {
33+
"value": (str,),
34+
}
35+
36+
37+
ObservabilityPipelineDatadogTagsProcessorAction.INCLUDE = ObservabilityPipelineDatadogTagsProcessorAction("include")
38+
ObservabilityPipelineDatadogTagsProcessorAction.EXCLUDE = ObservabilityPipelineDatadogTagsProcessorAction("exclude")
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
7+
from datadog_api_client.model_utils import (
8+
ModelSimple,
9+
cached_property,
10+
)
11+
12+
from typing import ClassVar
13+
14+
15+
class ObservabilityPipelineDatadogTagsProcessorMode(ModelSimple):
16+
"""
17+
The processing mode.
18+
19+
:param value: If omitted defaults to "filter". Must be one of ["filter"].
20+
:type value: str
21+
"""
22+
23+
allowed_values = {
24+
"filter",
25+
}
26+
FILTER: ClassVar["ObservabilityPipelineDatadogTagsProcessorMode"]
27+
28+
@cached_property
29+
def openapi_types(_):
30+
return {
31+
"value": (str,),
32+
}
33+
34+
35+
ObservabilityPipelineDatadogTagsProcessorMode.FILTER = ObservabilityPipelineDatadogTagsProcessorMode("filter")
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
7+
from datadog_api_client.model_utils import (
8+
ModelSimple,
9+
cached_property,
10+
)
11+
12+
from typing import ClassVar
13+
14+
15+
class ObservabilityPipelineDatadogTagsProcessorType(ModelSimple):
16+
"""
17+
The processor type. The value should always be `datadog_tags`.
18+
19+
:param value: If omitted defaults to "datadog_tags". Must be one of ["datadog_tags"].
20+
:type value: str
21+
"""
22+
23+
allowed_values = {
24+
"datadog_tags",
25+
}
26+
DATADOG_TAGS: ClassVar["ObservabilityPipelineDatadogTagsProcessorType"]
27+
28+
@cached_property
29+
def openapi_types(_):
30+
return {
31+
"value": (str,),
32+
}
33+
34+
35+
ObservabilityPipelineDatadogTagsProcessorType.DATADOG_TAGS = ObservabilityPipelineDatadogTagsProcessorType(
36+
"datadog_tags"
37+
)

0 commit comments

Comments
 (0)