> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Additional OpenTelemetry instrumentations

> [!NOTE]
>
> 🛟 Don't hesitate to [contact us](mailto:support@appsignal.com) if you run into
> any issues while implementing custom instrumentations. We're here to help!

In addition to the already included instrumentations, you can also add custom ones as long as they comply with the structure of an OpenTelemetry automatic instrumentation.

## Setup

Using the [`additionalInstrumentations`](https://docs.appsignal.com/nodejs/3.x/configuration/options#option-additionalinstrumentations) config option you can add additional instrumentations that will create spans and send them to AppSignal.

Below is an example of how to use `additionalInstrumentations` in your application:

```javascript Node.js theme={null}
const {
  CustomInstrumentation,
} = require("opentelemetry-custom-instrumentation");

new Appsignal({
  active: true,
  name: "<YOUR APPLICATION NAME>",
  pushApiKey: "<YOUR API KEY>",
  additionalInstrumentations: [
    new CustomInstrumentation({
      // instrumentation config here
    }),
  ],
});
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.