Skip to content

APM Associated Logs


Guance supports RUM associated logs by injecting span_id, trace_id, env, service, and version into logs to associate with APM. Once associated, you can view the specific logs related to a request in APM.

Configuration

Before configuring associated logs, you need to:

  1. Install DataKit.
  2. After installing DataKit, enable DDtrace and configure the env, service, version and other parameters of the trace to associate with logs. At the same time, inject the log parameters span_id, trace_id, env, service, and version into the application code to associate with APM parameters.

Feedback

Is this page helpful? ×