Package com.datadog.api.client.v2.model
Class ObservabilityPipelineGenerateMetricsProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineGenerateMetricsProcessor
@Deprecated
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineGenerateMetricsProcessor
extends Object
Deprecated.
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ObservabilityPipelineGenerateMetricsProcessor(Boolean enabled, String id, ObservabilityPipelineGenerateMetricsProcessorType type) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(ObservabilityPipelineGeneratedMetric metricsItem) Deprecated.displayName(String displayName) Deprecated.Deprecated.booleanDeprecated.Return true if this ObservabilityPipelineGenerateMetricsProcessor object is equal to o.Deprecated.Return the additional (undeclared) property.Deprecated.Return the additional (undeclared) property with the specified name.Deprecated.The display name for a component.Deprecated.Indicates whether the processor is enabled.getId()Deprecated.The unique identifier for this component.Deprecated.A Datadog search query used to determine which logs this processor targets.Deprecated.Configuration for generating individual metrics.getType()Deprecated.The processor type.inthashCode()Deprecated.Deprecated.Deprecated.metrics(List<ObservabilityPipelineGeneratedMetric> metrics) Deprecated.putAdditionalProperty(String key, Object value) Deprecated.Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) Deprecated.voidsetEnabled(Boolean enabled) Deprecated.voidDeprecated.voidsetInclude(String include) Deprecated.voidDeprecated.voidDeprecated.toString()Deprecated.Deprecated.
-
Field Details
-
unparsed
public boolean unparsedDeprecated. -
JSON_PROPERTY_DISPLAY_NAME
Deprecated.- See Also:
-
JSON_PROPERTY_ENABLED
Deprecated.- See Also:
-
JSON_PROPERTY_ID
Deprecated.- See Also:
-
JSON_PROPERTY_INCLUDE
Deprecated.- See Also:
-
JSON_PROPERTY_METRICS
Deprecated.- See Also:
-
JSON_PROPERTY_TYPE
Deprecated.- See Also:
-
-
Constructor Details
-
ObservabilityPipelineGenerateMetricsProcessor
public ObservabilityPipelineGenerateMetricsProcessor()Deprecated. -
ObservabilityPipelineGenerateMetricsProcessor
public ObservabilityPipelineGenerateMetricsProcessor(Boolean enabled, String id, ObservabilityPipelineGenerateMetricsProcessorType type) Deprecated.
-
-
Method Details
-
displayName
Deprecated. -
getDisplayName
Deprecated.The display name for a component.- Returns:
- displayName
-
setDisplayName
Deprecated. -
enabled
Deprecated. -
getEnabled
Deprecated.Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
Deprecated. -
id
Deprecated. -
getId
Deprecated.The unique identifier for this component. Used to reference this component in other parts of the pipeline.- Returns:
- id
-
setId
Deprecated. -
include
Deprecated. -
getInclude
Deprecated.A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
Deprecated. -
metrics
public ObservabilityPipelineGenerateMetricsProcessor metrics(List<ObservabilityPipelineGeneratedMetric> metrics) Deprecated. -
addMetricsItem
public ObservabilityPipelineGenerateMetricsProcessor addMetricsItem(ObservabilityPipelineGeneratedMetric metricsItem) Deprecated. -
getMetrics
Deprecated.Configuration for generating individual metrics.- Returns:
- metrics
-
setMetrics
Deprecated. -
type
public ObservabilityPipelineGenerateMetricsProcessor type(ObservabilityPipelineGenerateMetricsProcessorType type) Deprecated. -
getType
Deprecated.The processor type. Alwaysgenerate_datadog_metrics.- Returns:
- type
-
setType
Deprecated. -
putAdditionalProperty
public ObservabilityPipelineGenerateMetricsProcessor putAdditionalProperty(String key, Object value) Deprecated.Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelineGenerateMetricsProcessor
-
getAdditionalProperties
Deprecated.Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Deprecated.Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Deprecated.Return true if this ObservabilityPipelineGenerateMetricsProcessor object is equal to o. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-