diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a903bf6b8f3..4f3c76a162d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -75495,11 +75495,14 @@ components: - credentials_file type: object ObservabilityPipelineGenerateMetricsProcessor: + deprecated: true description: |- The `generate_datadog_metrics` processor creates custom metrics from logs and sends them to Datadog. Metrics can be counters, gauges, or distributions and optionally grouped by log fields. **Supported pipeline types:** logs + + **Deprecated:** This processor is deprecated. Use the `generate_metrics` processor instead. properties: display_name: $ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName' @@ -75541,7 +75544,8 @@ components: description: |- The `generate_metrics` processor creates custom metrics from logs. Metrics can be counters, gauges, or distributions and optionally grouped by log fields. - The generated metrics must be routed to a metrics destination using the input `.metrics`. + + There must be a destination whose `inputs` reference this processor with the `.metrics` suffix to route the generated metrics. All destination types normally supported for `metrics` pipelines are also supported as metrics destinations in `logs` pipelines. **Supported pipeline types:** logs properties: @@ -76037,13 +76041,14 @@ components: x-pipeline-types: [logs, metrics] ObservabilityPipelineHttpClientDestinationAuthStrategy: description: HTTP authentication strategy. - enum: [none, basic, bearer] + enum: [none, basic, bearer, custom] example: basic type: string x-enum-varnames: - NONE - BASIC - BEARER + - CUSTOM ObservabilityPipelineHttpClientDestinationCompression: description: Compression configuration for HTTP requests. properties: @@ -77415,6 +77420,8 @@ components: - `drop`: Drop the event. - `no_action`: Let the event pass through. - `overflow_routing`: Route to an overflow destination. + + When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `.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`. enum: - drop - no_action diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsProcessor.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsProcessor.java index 7113e60e065..a27da826563 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsProcessor.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsProcessor.java @@ -25,7 +25,13 @@ * fields. * *

Supported pipeline types: logs + * + *

Deprecated: This processor is deprecated. Use the generate_metrics + * processor instead. + * + * @deprecated */ +@Deprecated @JsonPropertyOrder({ ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_DISPLAY_NAME, ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_ENABLED, diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsV2Processor.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsV2Processor.java index 04cb34b7085..4af339721d7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsV2Processor.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineGenerateMetricsV2Processor.java @@ -21,9 +21,12 @@ /** * The generate_metrics processor creates custom metrics from logs. Metrics can be - * counters, gauges, or distributions and optionally grouped by log fields. The generated metrics - * must be routed to a metrics destination using the input <processor-id>.metrics - * . + * counters, gauges, or distributions and optionally grouped by log fields. + * + *

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. * *

Supported pipeline types: logs */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpClientDestinationAuthStrategy.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpClientDestinationAuthStrategy.java index 25db15c60df..a885e94b2c7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpClientDestinationAuthStrategy.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpClientDestinationAuthStrategy.java @@ -26,7 +26,7 @@ public class ObservabilityPipelineHttpClientDestinationAuthStrategy extends ModelEnum { private static final Set allowedValues = - new HashSet(Arrays.asList("none", "basic", "bearer")); + new HashSet(Arrays.asList("none", "basic", "bearer", "custom")); public static final ObservabilityPipelineHttpClientDestinationAuthStrategy NONE = new ObservabilityPipelineHttpClientDestinationAuthStrategy("none"); @@ -34,6 +34,8 @@ public class ObservabilityPipelineHttpClientDestinationAuthStrategy extends Mode new ObservabilityPipelineHttpClientDestinationAuthStrategy("basic"); public static final ObservabilityPipelineHttpClientDestinationAuthStrategy BEARER = new ObservabilityPipelineHttpClientDestinationAuthStrategy("bearer"); + public static final ObservabilityPipelineHttpClientDestinationAuthStrategy CUSTOM = + new ObservabilityPipelineHttpClientDestinationAuthStrategy("custom"); ObservabilityPipelineHttpClientDestinationAuthStrategy(String value) { super(value, allowedValues); diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessor.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessor.java index f13c9ade692..2e630668264 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessor.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessor.java @@ -293,6 +293,12 @@ public ObservabilityPipelineQuotaProcessor overflowAction( * Drop the event. - no_action: Let the event pass through. - overflow_routing * : Route to an overflow destination. * + *

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. + * * @return overflowAction */ @jakarta.annotation.Nullable @@ -394,6 +400,12 @@ public ObservabilityPipelineQuotaProcessor tooManyBucketsAction( * Drop the event. - no_action: Let the event pass through. - overflow_routing * : Route to an overflow destination. * + *

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. + * * @return tooManyBucketsAction */ @jakarta.annotation.Nullable diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessorOverflowAction.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessorOverflowAction.java index 953d483a274..0921c1f0549 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessorOverflowAction.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineQuotaProcessorOverflowAction.java @@ -22,6 +22,12 @@ * The action to take when the quota or bucket limit is exceeded. Options: - drop: Drop * the event. - no_action: Let the event pass through. - overflow_routing: * Route to an overflow destination. + * + *

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. */ @JsonSerialize( using =