- Automatically include trace and transaction IDs in your application logs.
- Seamlessly connect logs and traces within the Atatus dashboard.
Log Correlation
Log correlation lets you trace individual requests across systems by automatically adding correlation identifiers (trace, transaction, and span IDs) to your logs. With log correlation enabled, the Atatus Ruby Agent automatically injects these identifiers into your application logs:
These IDs connect your logs with traces, making it easy to jump from a log entry to its related transaction in the Atatus dashboard.
Rails TaggedLogging
If your Ruby on Rails application usesActiveSupport::TaggedLogging, you can enable log correlation by adding the following snippet to your environment configuration file (e.g., config/environments/production.rb):