@opentelemetry/instrumentation-graphql
Advanced tools
Comparing version 0.37.0 to 0.38.0
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.37.0"; | ||
export declare const VERSION = "0.38.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.37.0'; | ||
exports.VERSION = '0.38.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-graphql", | ||
"version": "0.37.0", | ||
"version": "0.38.0", | ||
"description": "OpenTelemetry @opentelemetry/instrumentation-graphql automatic instrumentation package.", | ||
@@ -61,6 +61,6 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.48.0" | ||
"@opentelemetry/instrumentation": "^0.49.1" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql#readme", | ||
"gitHead": "32204a362d9dffd4cd69a1300e1f7d245df9df52" | ||
"gitHead": "fcea8ca0c83cb1dcd8ac736e5ea4d22ff20dc982" | ||
} |
@@ -24,3 +24,3 @@ # OpenTelemetry Instrumentation GraphQL | ||
`>=14 <16` | ||
`^14.0 | ^15.0 | ^16.0` | ||
@@ -47,2 +47,3 @@ ## Usage | ||
// ignoreTrivialResolveSpans: true, | ||
// ignoreResolveSpans: true, | ||
}), | ||
@@ -62,2 +63,3 @@ ], | ||
| ignoreTrivialResolveSpans | boolean | false | Don't create spans for the execution of the default resolver on object properties. | | ||
| ignoreResolveSpans | boolean | false | Don't create spans for resolvers, regardless if they are trivial or not. | | ||
| responseHook | GraphQLInstrumentationExecutionResponseHook | undefined | Hook that allows adding custom span attributes based on the data returned from "execute" GraphQL action. | | | ||
@@ -79,2 +81,9 @@ | ||
### ignoreResolveSpans | ||
The performance overhead for complex schemas with a lot of resolvers can be high due to the large number of spans created. When ignoreResolveSpans is set to true, no spans for resolvers will be created. | ||
If you are using `@apollo/server` as your graphql server, you might want to | ||
enable this option because all resolvers are [currently considered non-trivial](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1686). | ||
### depth | ||
@@ -81,0 +90,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127796
134
+ Added@opentelemetry/api-logs@0.49.1(transitive)
+ Added@opentelemetry/instrumentation@0.49.1(transitive)
- Removed@opentelemetry/instrumentation@0.48.0(transitive)