scout_apm v1.0.7 ScoutApm.Instruments.EctoTelemetry

Link to this section Summary

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)