Package com.datadog.api.client.v1.model
Class LogsTraceRemapper
java.lang.Object
com.datadog.api.client.v1.model.LogsTraceRemapper
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsTraceRemapper
extends Object
There are two ways to improve correlation between application traces and logs.
-
Follow the documentation on how to inject a trace ID in the application logs and by default log integrations take care of all the rest of the setup.
-
Use the Trace remapper processor to define a log attribute as its associated trace ID.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSourcesItem(String sourcesItem) booleanReturn true if this LogsTraceRemapper object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether or not the processor is enabled.getName()Name of the processor.Array of source attributes.getType()Type of logs trace remapper.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsEnabled(Boolean isEnabled) voidvoidsetSources(List<String> sources) voidsetType(LogsTraceRemapperType type) toString()type(LogsTraceRemapperType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsTraceRemapper
public LogsTraceRemapper() -
LogsTraceRemapper
-
-
Method Details
-
isEnabled
-
getIsEnabled
Whether or not the processor is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
Name of the processor.- Returns:
- name
-
setName
-
sources
-
addSourcesItem
-
getSources
Array of source attributes.- Returns:
- sources
-
setSources
-
type
-
getType
Type of logs trace remapper.- Returns:
- type
-
setType
-
putAdditionalProperty
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:
- LogsTraceRemapper
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this LogsTraceRemapper object is equal to o. -
hashCode
public int hashCode() -
toString
-