@opentelemetry/instrumentation-graphql
Advanced tools
Comparing version 0.36.1 to 0.37.0
@@ -31,2 +31,3 @@ "use strict"; | ||
allowValues: false, | ||
ignoreResolveSpans: false, | ||
}; | ||
@@ -265,3 +266,4 @@ const supportedVersions = ['>=14']; | ||
} | ||
if (contextValue[symbols_1.OTEL_GRAPHQL_DATA_SYMBOL]) { | ||
if (contextValue[symbols_1.OTEL_GRAPHQL_DATA_SYMBOL] || | ||
this._getConfig().ignoreResolveSpans) { | ||
return { | ||
@@ -268,0 +270,0 @@ schema, |
@@ -23,2 +23,8 @@ import { InstrumentationConfig } from '@opentelemetry/instrumentation'; | ||
/** | ||
* Do not create spans for resolvers. | ||
* | ||
* @default false | ||
*/ | ||
ignoreResolveSpans?: boolean; | ||
/** | ||
* Don't create spans for the execution of the default resolver on object properties. | ||
@@ -25,0 +31,0 @@ * |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.36.1"; | ||
export declare const VERSION = "0.37.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.36.1'; | ||
exports.VERSION = '0.37.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-graphql", | ||
"version": "0.36.1", | ||
"version": "0.37.0", | ||
"description": "OpenTelemetry @opentelemetry/instrumentation-graphql automatic instrumentation package.", | ||
@@ -61,6 +61,6 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.46.0" | ||
"@opentelemetry/instrumentation": "^0.48.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql#readme", | ||
"gitHead": "90928231259bbbdf6980f184bc7420503048b77e" | ||
"gitHead": "32204a362d9dffd4cd69a1300e1f7d245df9df52" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
127174
1036
+ Added@opentelemetry/instrumentation@0.48.0(transitive)
- Removed@opentelemetry/instrumentation@0.46.0(transitive)