Skip to content

Commit 8aa1fe8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0e383b5 of spec repo (#4303)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent f4465c2 commit 8aa1fe8

6 files changed

Lines changed: 42 additions & 6 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75646,11 +75646,14 @@ components:
7564675646
- credentials_file
7564775647
type: object
7564875648
ObservabilityPipelineGenerateMetricsProcessor:
75649+
deprecated: true
7564975650
description: |-
7565075651
The `generate_datadog_metrics` processor creates custom metrics from logs and sends them to Datadog.
7565175652
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
7565275653

7565375654
**Supported pipeline types:** logs
75655+
75656+
**Deprecated:** This processor is deprecated. Use the `generate_metrics` processor instead.
7565475657
properties:
7565575658
display_name:
7565675659
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
@@ -75692,7 +75695,8 @@ components:
7569275695
description: |-
7569375696
The `generate_metrics` processor creates custom metrics from logs.
7569475697
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
75695-
The generated metrics must be routed to a metrics destination using the input `<processor-id>.metrics`.
75698+
75699+
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.
7569675700

7569775701
**Supported pipeline types:** logs
7569875702
properties:
@@ -76188,13 +76192,14 @@ components:
7618876192
x-pipeline-types: [logs, metrics]
7618976193
ObservabilityPipelineHttpClientDestinationAuthStrategy:
7619076194
description: HTTP authentication strategy.
76191-
enum: [none, basic, bearer]
76195+
enum: [none, basic, bearer, custom]
7619276196
example: basic
7619376197
type: string
7619476198
x-enum-varnames:
7619576199
- NONE
7619676200
- BASIC
7619776201
- BEARER
76202+
- CUSTOM
7619876203
ObservabilityPipelineHttpClientDestinationCompression:
7619976204
description: Compression configuration for HTTP requests.
7620076205
properties:
@@ -77566,6 +77571,8 @@ components:
7756677571
- `drop`: Drop the event.
7756777572
- `no_action`: Let the event pass through.
7756877573
- `overflow_routing`: Route to an overflow destination.
77574+
77575+
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`.
7756977576
enum:
7757077577
- drop
7757177578
- no_action

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsProcessor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@
2525
* fields.
2626
*
2727
* <p><strong>Supported pipeline types:</strong> logs
28+
*
29+
* <p><strong>Deprecated:</strong> This processor is deprecated. Use the <code>generate_metrics
30+
* </code> processor instead.
31+
*
32+
* @deprecated
2833
*/
34+
@Deprecated
2935
@JsonPropertyOrder({
3036
ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_DISPLAY_NAME,
3137
ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_ENABLED,

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsV2Processor.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@
2121

2222
/**
2323
* The <code>generate_metrics</code> processor creates custom metrics from logs. Metrics can be
24-
* counters, gauges, or distributions and optionally grouped by log fields. The generated metrics
25-
* must be routed to a metrics destination using the input <code>&lt;processor-id&gt;.metrics</code>
26-
* .
24+
* counters, gauges, or distributions and optionally grouped by log fields.
25+
*
26+
* <p>There must be a destination whose <code>inputs</code> reference this processor with the <code>
27+
* &lt;processor-id&gt;.metrics</code> suffix to route the generated metrics. All destination types
28+
* normally supported for <code>metrics</code> pipelines are also supported as metrics destinations
29+
* in <code>logs</code> pipelines.
2730
*
2831
* <p><strong>Supported pipeline types:</strong> logs
2932
*/

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpClientDestinationAuthStrategy.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@
2626
public class ObservabilityPipelineHttpClientDestinationAuthStrategy extends ModelEnum<String> {
2727

2828
private static final Set<String> allowedValues =
29-
new HashSet<String>(Arrays.asList("none", "basic", "bearer"));
29+
new HashSet<String>(Arrays.asList("none", "basic", "bearer", "custom"));
3030

3131
public static final ObservabilityPipelineHttpClientDestinationAuthStrategy NONE =
3232
new ObservabilityPipelineHttpClientDestinationAuthStrategy("none");
3333
public static final ObservabilityPipelineHttpClientDestinationAuthStrategy BASIC =
3434
new ObservabilityPipelineHttpClientDestinationAuthStrategy("basic");
3535
public static final ObservabilityPipelineHttpClientDestinationAuthStrategy BEARER =
3636
new ObservabilityPipelineHttpClientDestinationAuthStrategy("bearer");
37+
public static final ObservabilityPipelineHttpClientDestinationAuthStrategy CUSTOM =
38+
new ObservabilityPipelineHttpClientDestinationAuthStrategy("custom");
3739

3840
ObservabilityPipelineHttpClientDestinationAuthStrategy(String value) {
3941
super(value, allowedValues);

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessor.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,12 @@ public ObservabilityPipelineQuotaProcessor overflowAction(
293293
* Drop the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing
294294
* </code>: Route to an overflow destination.
295295
*
296+
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
297+
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
298+
* suffix to route the overflowing events. Only the following destination types support overflow
299+
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage
300+
* </code>, and <code>azure_storage</code>.
301+
*
296302
* @return overflowAction
297303
*/
298304
@jakarta.annotation.Nullable
@@ -394,6 +400,12 @@ public ObservabilityPipelineQuotaProcessor tooManyBucketsAction(
394400
* Drop the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing
395401
* </code>: Route to an overflow destination.
396402
*
403+
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
404+
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
405+
* suffix to route the overflowing events. Only the following destination types support overflow
406+
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage
407+
* </code>, and <code>azure_storage</code>.
408+
*
397409
* @return tooManyBucketsAction
398410
*/
399411
@jakarta.annotation.Nullable

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessorOverflowAction.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
* The action to take when the quota or bucket limit is exceeded. Options: - <code>drop</code>: Drop
2323
* the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing</code>:
2424
* Route to an overflow destination.
25+
*
26+
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
27+
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
28+
* suffix to route the overflowing events. Only the following destination types support overflow
29+
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage</code>
30+
* , and <code>azure_storage</code>.
2531
*/
2632
@JsonSerialize(
2733
using =

0 commit comments

Comments
 (0)