Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-graphql

Package Overview
Dependencies
24
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.37.0 to 0.38.0

2

build/src/version.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc