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 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.

Hierarchy

  • LogsTraceRemapper

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
isEnabled?: boolean

Whether or not the processor is enabled.

name?: string

Name of the processor.

sources?: string[]

Array of source attributes.

Type of logs trace remapper.

Generated using TypeDoc