scout_apm v0.4.14 ScoutApm.Instruments.EctoTelemetry
Link to this section Summary
Functions
Attaches an event handler for Ecto queries
Link to this section Functions
Link to this function
attach(repo_module)
Attaches an event handler for Ecto queries.
Takes a fully namespaced Ecto.Repo module as the only argument. Example:
ScoutApm.Instruments.EctoTelemetry.attach(MyApp.Repo)
Link to this function
handle_event(query_event, value, metadata, config)