Skip to content
Merged
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
42 changes: 42 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35144,6 +35144,8 @@ components:
description: The `add_env_vars` processor adds environment variable values to
log events.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -35199,6 +35201,8 @@ components:
ObservabilityPipelineAddFieldsProcessor:
description: The `add_fields` processor adds static key-value fields to logs.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -35515,6 +35519,10 @@ components:
role session.
type: string
type: object
ObservabilityPipelineComponentDisplayName:
description: The display name for a component.
example: my component
type: string
ObservabilityPipelineConfig:
description: Specifies the pipeline's configuration, including its sources,
processors, and destinations.
Expand Down Expand Up @@ -35605,6 +35613,8 @@ components:
include: status:error
type: filter
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor group is enabled.
example: true
Expand Down Expand Up @@ -35768,6 +35778,8 @@ components:
Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with
advanced filtering capabilities.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -35935,6 +35947,8 @@ components:
properties:
action:
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -36016,6 +36030,8 @@ components:
ObservabilityPipelineDedupeProcessor:
description: The `dedupe` processor removes duplicate fields in log events.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -36253,6 +36269,8 @@ components:
description: The `enrichment_table` processor enriches logs using a static CSV
file or GeoIP database.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -36312,6 +36330,8 @@ components:
on a Datadog search query. Logs that match the `include` query are passed
through; others are discarded.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -36414,6 +36434,8 @@ components:
Metrics can be counters, gauges, or distributions and optionally grouped by
log fields.'
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37035,6 +37057,8 @@ components:
description: The `ocsf_mapper` processor transforms logs into the OCSF schema
using a predefined mapping configuration.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37166,6 +37190,8 @@ components:
by Datadog.
example: true
type: boolean
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37278,6 +37304,8 @@ components:
and flattens it into the event. This is useful when logs contain embedded
JSON as a string.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37331,6 +37359,8 @@ components:
a specified filter. When the configured daily quota is met, the processor
can drop or alert.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
drop_events:
description: If set to `true`, logs that matched the quota filter and sent
after the quota has been met are dropped; only logs that did not match
Expand Down Expand Up @@ -37462,6 +37492,8 @@ components:
description: The `reduce` processor aggregates and merges logs based on matching
keys and merge strategies.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37554,6 +37586,8 @@ components:
ObservabilityPipelineRemoveFieldsProcessor:
description: The `remove_fields` processor deletes specified fields from logs.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37598,6 +37632,8 @@ components:
ObservabilityPipelineRenameFieldsProcessor:
description: The `rename_fields` processor changes field names.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37733,6 +37769,8 @@ components:
description: The `sample` processor allows probabilistic sampling of logs at
a fixed rate.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -37780,6 +37818,8 @@ components:
description: The `sensitive_data_scanner` processor detects and optionally redacts
sensitive data in log events.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down Expand Up @@ -38769,6 +38809,8 @@ components:
description: The `throttle` processor limits the number of events that pass
through over a given time window.
properties:
display_name:
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
enabled:
description: Whether this processor is enabled.
example: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

/** The <code>add_env_vars</code> processor adds environment variable values to log events. */
@JsonPropertyOrder({
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ENABLED,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ID,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_INCLUDE,
Expand All @@ -31,6 +32,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddEnvVarsProcessor {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_DISPLAY_NAME = "display_name";
private String displayName;

public static final String JSON_PROPERTY_ENABLED = "enabled";
private Boolean enabled;

Expand Down Expand Up @@ -66,6 +70,27 @@ public ObservabilityPipelineAddEnvVarsProcessor(
this.variables = variables;
}

public ObservabilityPipelineAddEnvVarsProcessor displayName(String displayName) {
this.displayName = displayName;
return this;
}

/**
* The display name for a component.
*
* @return displayName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}

public void setDisplayName(String displayName) {
this.displayName = displayName;
}

public ObservabilityPipelineAddEnvVarsProcessor enabled(Boolean enabled) {
this.enabled = enabled;
return this;
Expand Down Expand Up @@ -239,7 +264,8 @@ public boolean equals(Object o) {
}
ObservabilityPipelineAddEnvVarsProcessor observabilityPipelineAddEnvVarsProcessor =
(ObservabilityPipelineAddEnvVarsProcessor) o;
return Objects.equals(this.enabled, observabilityPipelineAddEnvVarsProcessor.enabled)
return Objects.equals(this.displayName, observabilityPipelineAddEnvVarsProcessor.displayName)
&& Objects.equals(this.enabled, observabilityPipelineAddEnvVarsProcessor.enabled)
&& Objects.equals(this.id, observabilityPipelineAddEnvVarsProcessor.id)
&& Objects.equals(this.include, observabilityPipelineAddEnvVarsProcessor.include)
&& Objects.equals(this.type, observabilityPipelineAddEnvVarsProcessor.type)
Expand All @@ -251,13 +277,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(enabled, id, include, type, variables, additionalProperties);
return Objects.hash(displayName, enabled, id, include, type, variables, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObservabilityPipelineAddEnvVarsProcessor {\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" include: ").append(toIndentedString(include)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

/** The <code>add_fields</code> processor adds static key-value fields to logs. */
@JsonPropertyOrder({
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ENABLED,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_FIELDS,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ID,
Expand All @@ -31,6 +32,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddFieldsProcessor {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_DISPLAY_NAME = "display_name";
private String displayName;

public static final String JSON_PROPERTY_ENABLED = "enabled";
private Boolean enabled;

Expand Down Expand Up @@ -66,6 +70,27 @@ public ObservabilityPipelineAddFieldsProcessor(
this.unparsed |= !type.isValid();
}

public ObservabilityPipelineAddFieldsProcessor displayName(String displayName) {
this.displayName = displayName;
return this;
}

/**
* The display name for a component.
*
* @return displayName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}

public void setDisplayName(String displayName) {
this.displayName = displayName;
}

public ObservabilityPipelineAddFieldsProcessor enabled(Boolean enabled) {
this.enabled = enabled;
return this;
Expand Down Expand Up @@ -241,7 +266,8 @@ public boolean equals(Object o) {
}
ObservabilityPipelineAddFieldsProcessor observabilityPipelineAddFieldsProcessor =
(ObservabilityPipelineAddFieldsProcessor) o;
return Objects.equals(this.enabled, observabilityPipelineAddFieldsProcessor.enabled)
return Objects.equals(this.displayName, observabilityPipelineAddFieldsProcessor.displayName)
&& Objects.equals(this.enabled, observabilityPipelineAddFieldsProcessor.enabled)
&& Objects.equals(this.fields, observabilityPipelineAddFieldsProcessor.fields)
&& Objects.equals(this.id, observabilityPipelineAddFieldsProcessor.id)
&& Objects.equals(this.include, observabilityPipelineAddFieldsProcessor.include)
Expand All @@ -253,13 +279,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(enabled, fields, id, include, type, additionalProperties);
return Objects.hash(displayName, enabled, fields, id, include, type, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObservabilityPipelineAddFieldsProcessor {\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" fields: ").append(toIndentedString(fields)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

/** A group of processors. */
@JsonPropertyOrder({
ObservabilityPipelineConfigProcessorGroup.JSON_PROPERTY_DISPLAY_NAME,
ObservabilityPipelineConfigProcessorGroup.JSON_PROPERTY_ENABLED,
ObservabilityPipelineConfigProcessorGroup.JSON_PROPERTY_ID,
ObservabilityPipelineConfigProcessorGroup.JSON_PROPERTY_INCLUDE,
Expand All @@ -31,6 +32,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineConfigProcessorGroup {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_DISPLAY_NAME = "display_name";
private String displayName;

public static final String JSON_PROPERTY_ENABLED = "enabled";
private Boolean enabled;

Expand Down Expand Up @@ -63,6 +67,27 @@ public ObservabilityPipelineConfigProcessorGroup(
this.processors = processors;
}

public ObservabilityPipelineConfigProcessorGroup displayName(String displayName) {
this.displayName = displayName;
return this;
}

/**
* The display name for a component.
*
* @return displayName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}

public void setDisplayName(String displayName) {
this.displayName = displayName;
}

public ObservabilityPipelineConfigProcessorGroup enabled(Boolean enabled) {
this.enabled = enabled;
return this;
Expand Down Expand Up @@ -236,7 +261,8 @@ public boolean equals(Object o) {
}
ObservabilityPipelineConfigProcessorGroup observabilityPipelineConfigProcessorGroup =
(ObservabilityPipelineConfigProcessorGroup) o;
return Objects.equals(this.enabled, observabilityPipelineConfigProcessorGroup.enabled)
return Objects.equals(this.displayName, observabilityPipelineConfigProcessorGroup.displayName)
&& Objects.equals(this.enabled, observabilityPipelineConfigProcessorGroup.enabled)
&& Objects.equals(this.id, observabilityPipelineConfigProcessorGroup.id)
&& Objects.equals(this.include, observabilityPipelineConfigProcessorGroup.include)
&& Objects.equals(this.inputs, observabilityPipelineConfigProcessorGroup.inputs)
Expand All @@ -248,13 +274,15 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(enabled, id, include, inputs, processors, additionalProperties);
return Objects.hash(
displayName, enabled, id, include, inputs, processors, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObservabilityPipelineConfigProcessorGroup {\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" include: ").append(toIndentedString(include)).append("\n");
Expand Down
Loading
Loading