scoutapp / scout_apm_elixir

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

Don't rely on prefix of Telemetry when pattern matching the handler #78

Closed cschneid closed 5 years ago

cschneid commented 5 years ago

This allows an arbitrary nesting of the module without breaking the handle_event pattern match. Just ignores the data since we weren't using it anyway.

We can't simply change the naming of the query_event list because the Ecto side emits events under the exact name. Search on telemetry_prefix in docs if you want to see more

Fixes #76