Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/instrumentation-graphql

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-graphql - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

2

build/src/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.15.0";
export declare const VERSION = "0.16.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.15.0';
exports.VERSION = '0.16.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-graphql",
"version": "0.15.0",
"version": "0.16.0",
"description": "OpenTelemetry @opentelemetry/instrumentation-graphql automatic instrumentation package.",

@@ -46,7 +46,6 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/tracing": "0.18.2",
"@opentelemetry/tracing": "0.19.0",
"@types/graphql": "14.5.0",
"@types/mocha": "8.0.1",
"@types/node": "14.0.27",
"@types/semver": "7.3.1",
"codecov": "3.7.2",

@@ -58,13 +57,10 @@ "graphql": "15.4.0",

"rimraf": "3.0.2",
"semver": "7.3.2",
"shimmer": "1.2.1",
"ts-mocha": "8.0.0",
"ts-node": "8.10.2",
"typescript": "4.1.3"
},
"dependencies": {
"@opentelemetry/api": "^0.18.0",
"@opentelemetry/instrumentation": "^0.18.0"
"@opentelemetry/api": "^1.0.0-rc.0",
"@opentelemetry/instrumentation": "^0.19.0"
},
"gitHead": "a2de7757da17a026433f0735035f65f7f88f1666"
"gitHead": "5ecccc916e8f4eecaf6629a0350fc672edcba1be"
}

@@ -22,16 +22,6 @@ # OpenTelemetry Instrumentation GraphQL

const { GraphQLInstrumentation } = require('@opentelemetry/instrumentation-graphql');
const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/tracing');
const { NodeTracerProvider } = require('@opentelemetry/node');
const { CollectorTraceExporter } = require('@opentelemetry/exporter-collector');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');
const exporter = new CollectorTraceExporter({
serviceName: 'basic-service',
});
const provider = new NodeTracerProvider();
provider.addSpanProcessor(new SimpleSpanProcessor(exporter));
provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
provider.register();

@@ -38,0 +28,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc