Finch

AppSignal for ElixirThis feature requires version 2.3.0 or higher.
FinchThis feature requires version 0.12.0 or higher.

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:

Event Timeline

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

The instrument_finch config option was added in version 2.5.1 of the AppSignal for Elixir integration.

Finch is automatically instrumented, requiring no configuration. To disable the Finch instrumentation, set the instrument_finch config option to false.