Optional
enabledWhether to enable the plugin.
true
Optional
measuredWhether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.
Optional
serviceThe service name to be used for this plugin.
Optional
signatureWhether to enable signature calculation for the resource name. This can be disabled if your apollo/gateway operations always have a name. Note that when disabled all queries will need to be named for this to work properly.
true
Optional
sourceWhether to include the source of the operation within the query as a tag on every span. This may contain sensitive information and should only be enabled if sensitive data is always sent as variables and not in the query text.
false
Currently this plugin automatically instruments @apollo/gateway for module versions >= v2.3.0. This module uses graphql operations to service requests & thus generates graphql spans. We recommend disabling the graphql plugin if you only want to trace @apollo/gateway