'Queries are missing explain plans in datadog when query through ActiveRecord in Ruby on Rails
I have missing explain plans on Query Samples tab (APM > Databases > Query Samples tab) on a Datadog by using a hash format for condition.
When I type Trailer.where("color = 'Green'") in console, explain plans are available on Query Samples tab.
But, when I type Trailer.where(color: "Green") in console, explain plans are missing on Query Samples tab. In this case I got message: "No Explain Plans Found".
How to solve this problem and get explain plans?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
