remix
The AppSignal for Node.js integration for Remix
Installation
To enable the instrumentation support for Remix, you first need to install the OpenTelemetry Remix Instrumentation ^0.5.0
package.
After installing the OpenTelemetry Remix Instrumentation package, you must enable the instrumentation in the AppSignal client initialization using the additionalInstrumentations
config option as shown in the code below.
This snippet references the appsignal.cjs
file that was created when configuring AppSignal.
You must set the NODE_OPTIONS
environment variable to load the appsignal.cjs
file when starting your Remix app.
Features
The Remix instrumentation will create performance actions in AppSignal from the Remix request handlers. The action name will be the route of the request handler.
Remix loaders are instrumented as child spans of the request handler span.
Once configured, errors raised by your Remix application will be reported to AppSignal.