Skip to content

Commit 73f3b33

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 40fef66 of spec repo
1 parent b709302 commit 73f3b33

7 files changed

Lines changed: 29 additions & 4 deletions

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75475,11 +75475,14 @@ components:
7547575475
- credentials_file
7547675476
type: object
7547775477
ObservabilityPipelineGenerateMetricsProcessor:
75478+
deprecated: true
7547875479
description: |-
7547975480
The `generate_datadog_metrics` processor creates custom metrics from logs and sends them to Datadog.
7548075481
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
7548175482

7548275483
**Supported pipeline types:** logs
75484+
75485+
**Deprecated:** This processor is deprecated, you should now use the `generate_metrics` processor.
7548375486
properties:
7548475487
display_name:
7548575488
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
@@ -75521,7 +75524,8 @@ components:
7552175524
description: |-
7552275525
The `generate_metrics` processor creates custom metrics from logs.
7552375526
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
75524-
The generated metrics must be routed to a metrics destination using the input `<processor-id>.metrics`.
75527+
75528+
There must be a destination whose `inputs` reference this processor with the `<processor-id>.metrics` suffix to route the generated metrics. All destination types normally supported for `metrics` pipelines are also supported as metrics destinations in `logs` pipelines.
7552575529

7552675530
**Supported pipeline types:** logs
7552775531
properties:
@@ -76017,13 +76021,14 @@ components:
7601776021
x-pipeline-types: [logs, metrics]
7601876022
ObservabilityPipelineHttpClientDestinationAuthStrategy:
7601976023
description: HTTP authentication strategy.
76020-
enum: [none, basic, bearer]
76024+
enum: [none, basic, bearer, custom]
7602176025
example: basic
7602276026
type: string
7602376027
x-enum-varnames:
7602476028
- NONE
7602576029
- BASIC
7602676030
- BEARER
76031+
- CUSTOM
7602776032
ObservabilityPipelineHttpClientDestinationCompression:
7602876033
description: Compression configuration for HTTP requests.
7602976034
properties:
@@ -77395,6 +77400,8 @@ components:
7739577400
- `drop`: Drop the event.
7739677401
- `no_action`: Let the event pass through.
7739777402
- `overflow_routing`: Route to an overflow destination.
77403+
77404+
When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `<processor-id>.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`.
7739877405
enum:
7739977406
- drop
7740077407
- no_action

‎src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def __init__(self, **kwargs):
118118
- `drop`: Drop the event.
119119
- `no_action`: Let the event pass through.
120120
- `overflow_routing`: Route to an overflow destination.
121+
122+
When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `<processor-id>.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`.
121123
:type overflow_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional
122124
123125
:param overrides: A list of alternate quota rules that apply to specific sets of events, identified by matching field values. Each override can define a custom limit.
@@ -130,6 +132,8 @@ def __init__(self, **kwargs):
130132
- `drop`: Drop the event.
131133
- `no_action`: Let the event pass through.
132134
- `overflow_routing`: Route to an overflow destination.
135+
136+
When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `<processor-id>.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`.
133137
:type too_many_buckets_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional
134138
135139
:param group_by: A list of fields used to group log events for merging.

‎src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_processor.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def __init__(
6464
6565
**Supported pipeline types:** logs
6666
67+
**Deprecated:** This processor is deprecated, you should now use the ``generate_metrics`` processor.
68+
6769
:param display_name: The display name for a component.
6870
:type display_name: str, optional
6971

‎src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_v2_processor.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def __init__(
6161
"""
6262
The ``generate_metrics`` processor creates custom metrics from logs.
6363
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
64-
The generated metrics must be routed to a metrics destination using the input ``<processor-id>.metrics``.
64+
65+
There must be a destination whose ``inputs`` reference this processor with the ``<processor-id>.metrics`` suffix to route the generated metrics. All destination types normally supported for ``metrics`` pipelines are also supported as metrics destinations in ``logs`` pipelines.
6566
6667
**Supported pipeline types:** logs
6768

‎src/datadog_api_client/v2/model/observability_pipeline_http_client_destination_auth_strategy.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,20 @@ class ObservabilityPipelineHttpClientDestinationAuthStrategy(ModelSimple):
1616
"""
1717
HTTP authentication strategy.
1818
19-
:param value: Must be one of ["none", "basic", "bearer"].
19+
:param value: Must be one of ["none", "basic", "bearer", "custom"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"none",
2525
"basic",
2626
"bearer",
27+
"custom",
2728
}
2829
NONE: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"]
2930
BASIC: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"]
3031
BEARER: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"]
32+
CUSTOM: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"]
3133

3234
@cached_property
3335
def openapi_types(_):
@@ -45,3 +47,6 @@ def openapi_types(_):
4547
ObservabilityPipelineHttpClientDestinationAuthStrategy.BEARER = ObservabilityPipelineHttpClientDestinationAuthStrategy(
4648
"bearer"
4749
)
50+
ObservabilityPipelineHttpClientDestinationAuthStrategy.CUSTOM = ObservabilityPipelineHttpClientDestinationAuthStrategy(
51+
"custom"
52+
)

‎src/datadog_api_client/v2/model/observability_pipeline_quota_processor.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ def __init__(
127127
* ``drop`` : Drop the event.
128128
* ``no_action`` : Let the event pass through.
129129
* ``overflow_routing`` : Route to an overflow destination.
130+
131+
When ``overflow_routing`` is used, there must be a destination whose ``inputs`` reference this processor with the ``<processor-id>.overflow_events`` suffix to route the overflowing events. Only the following destination types support overflow inputs: ``amazon_s3_generic`` , ``amazon_s3`` , ``google_cloud_storage`` , and ``azure_storage``.
130132
:type overflow_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional
131133
132134
:param overrides: A list of alternate quota rules that apply to specific sets of events, identified by matching field values. Each override can define a custom limit.
@@ -140,6 +142,8 @@ def __init__(
140142
* ``drop`` : Drop the event.
141143
* ``no_action`` : Let the event pass through.
142144
* ``overflow_routing`` : Route to an overflow destination.
145+
146+
When ``overflow_routing`` is used, there must be a destination whose ``inputs`` reference this processor with the ``<processor-id>.overflow_events`` suffix to route the overflowing events. Only the following destination types support overflow inputs: ``amazon_s3_generic`` , ``amazon_s3`` , ``google_cloud_storage`` , and ``azure_storage``.
143147
:type too_many_buckets_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional
144148
145149
:param type: The processor type. The value should always be ``quota``.

‎src/datadog_api_client/v2/model/observability_pipeline_quota_processor_overflow_action.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class ObservabilityPipelineQuotaProcessorOverflowAction(ModelSimple):
1919
- `no_action`: Let the event pass through.
2020
- `overflow_routing`: Route to an overflow destination.
2121
22+
When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `<processor-id>.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`.
23+
2224
:param value: Must be one of ["drop", "no_action", "overflow_routing"].
2325
:type value: str
2426
"""

0 commit comments

Comments
 (0)