Installation and usage
To use the Apollo Gateway instrumentation, you need to disable the GraphQL instrumentation in the service that acts as the gateway. This is because the gateway will send its own spans using the@apollo/gateway OpenTelemetry instrumentation for the queries it proxies to the services that implements in the supergraph.
To do so, you can use the disableInstrumentations option in the appsignal configuration.
Features
The Apollo Gateway instrumentation will send root spans to AppSignal based on the queries it receives and routes to the subgraphs. You will be able to inspect this data in the Event timeline of performance issues: