@opentelemetry/instrumentation-graphql
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -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 @@ |
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
12
68453
61
+ Added@opentelemetry/api@1.9.0(transitive)
+ Added@opentelemetry/api-metrics@0.19.0(transitive)
+ Added@opentelemetry/instrumentation@0.19.0(transitive)
- Removed@opentelemetry/api@0.18.1(transitive)
- Removed@opentelemetry/api-metrics@0.18.2(transitive)
- Removed@opentelemetry/instrumentation@0.18.2(transitive)