Class: DatadogAPIClient::V1::LogsTraceRemapper
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsTraceRemapper
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_trace_remapper.rb
Overview
There are two ways to improve correlation between application traces and logs.
1. Follow the documentation on [how to inject a trace ID in the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces)
and by default log integrations take care of all the rest of the setup.
2. Use the Trace remapper processor to define a log attribute as its associated trace ID.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#is_enabled ⇒ Object
Whether or not the processor is enabled.
-
#name ⇒ Object
Name of the processor.
-
#sources ⇒ Object
Array of source attributes.
-
#type ⇒ Object
readonly
Type of logs trace remapper.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/logs_trace_remapper.rb', line 41 def additional_properties @additional_properties end |
#is_enabled ⇒ Object
Whether or not the processor is enabled.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_trace_remapper.rb', line 30 def is_enabled @is_enabled end |
#name ⇒ Object
Name of the processor.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/logs_trace_remapper.rb', line 33 def name @name end |
#sources ⇒ Object
Array of source attributes.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/logs_trace_remapper.rb', line 36 def sources @sources end |
#type ⇒ Object
Type of logs trace remapper.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/logs_trace_remapper.rb', line 39 def type @type end |