OptionalenabledWhether to enable the plugin.
OptionalmeasuredWhether 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.
OptionalserviceThe service name to be used for this plugin.
OptionalsignatureWhether 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.
OptionalsourceWhether 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.
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