Finch
The AppSignal for Elixir package instruments HTTP requests performed by Finch.
Finch is a performance-focused HTTP client built on top of Mint, Elixir's low-level HTTP client library, and has built-in support for request telemetry. Finch handles the opening and closing of connections, making it easier for you to add HTTP requests to your application.
AppSignal will automatically recognize external requests executed by Finch and wrap them into a request.finch
event on your Event Timeline, like in the below example:
In the Event Timeline, you'll see how much time Finch spends making external API requests. This data may help inform you to move the API requests to a background job or introduce caching to help speed up performance and limit unnecessary API requests.
Automatic Instrumentation
Finch is automatically instrumented, requiring no configuration. To disable the Finch instrumentation, set the instrument_finch
config option to false
.