Skip to content

Commit 174dfdd

Browse files
authored
Merge pull request rails#54492 from ChibaDaigo/clarify-query-log-tags-performance
Add warning of query_log_tags_enabled [ci skip]
2 parents 8719556 + 92b3385 commit 174dfdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/source/debugging_rails_applications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ To enable, add in `application.rb` or any environment initializer:
264264
config.active_record.query_log_tags_enabled = true
265265
```
266266

267+
NOTE: Enabling Query tags automatically disables prepared statements, because it makes most queries unique.
268+
267269
By default the name of the application, the name and action of the controller, or the name of the job are logged. The
268270
default format is [SQLCommenter](https://open-telemetry.github.io/opentelemetry-sqlcommenter/). For example:
269271

0 commit comments

Comments
 (0)