scoutapp / scout_apm_elixir

ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
https://scoutapm.com
Other
36 stars 20 forks source link

Ecto Repo inside a module breaks instruments #76

Closed cschneid closed 5 years ago

cschneid commented 5 years ago

If you have a repo named MyApp.Datastores.Repo, the telemetry attach function attaches to [:myapp, :datastores, :repo, :query] and then the call to handle_event fails to pattern match (since it has 1 too many items in the list).