Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 `<processor-id>.metrics`.

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
properties:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 `<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`.
enum:
- drop
- no_action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
* fields.
*
* <p><strong>Supported pipeline types:</strong> logs
*
* <p><strong>Deprecated:</strong> This processor is deprecated. Use the <code>generate_metrics
* </code> processor instead.
*
* @deprecated
*/
@Deprecated
@JsonPropertyOrder({
ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineGenerateMetricsProcessor.JSON_PROPERTY_ENABLED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@

/**
* The <code>generate_metrics</code> 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 <code>&lt;processor-id&gt;.metrics</code>
* .
* counters, gauges, or distributions and optionally grouped by log fields.
*
* <p>There must be a destination whose <code>inputs</code> reference this processor with the <code>
* &lt;processor-id&gt;.metrics</code> suffix to route the generated metrics. All destination types
* normally supported for <code>metrics</code> pipelines are also supported as metrics destinations
* in <code>logs</code> pipelines.
*
* <p><strong>Supported pipeline types:</strong> logs
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@
public class ObservabilityPipelineHttpClientDestinationAuthStrategy extends ModelEnum<String> {

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

public static final ObservabilityPipelineHttpClientDestinationAuthStrategy NONE =
new ObservabilityPipelineHttpClientDestinationAuthStrategy("none");
public static final ObservabilityPipelineHttpClientDestinationAuthStrategy BASIC =
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@ public ObservabilityPipelineQuotaProcessor overflowAction(
* Drop the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing
* </code>: Route to an overflow destination.
*
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
* suffix to route the overflowing events. Only the following destination types support overflow
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage
* </code>, and <code>azure_storage</code>.
*
* @return overflowAction
*/
@jakarta.annotation.Nullable
Expand Down Expand Up @@ -394,6 +400,12 @@ public ObservabilityPipelineQuotaProcessor tooManyBucketsAction(
* Drop the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing
* </code>: Route to an overflow destination.
*
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
* suffix to route the overflowing events. Only the following destination types support overflow
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage
* </code>, and <code>azure_storage</code>.
*
* @return tooManyBucketsAction
*/
@jakarta.annotation.Nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
* The action to take when the quota or bucket limit is exceeded. Options: - <code>drop</code>: Drop
* the event. - <code>no_action</code>: Let the event pass through. - <code>overflow_routing</code>:
* Route to an overflow destination.
*
* <p>When <code>overflow_routing</code> is used, there must be a destination whose <code>inputs
* </code> reference this processor with the <code>&lt;processor-id&gt;.overflow_events</code>
* suffix to route the overflowing events. Only the following destination types support overflow
* inputs: <code>amazon_s3_generic</code>, <code>amazon_s3</code>, <code>google_cloud_storage</code>
* , and <code>azure_storage</code>.
*/
@JsonSerialize(
using =
Expand Down
Loading