@opentelemetry/plugin-grpc
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -67,3 +67,3 @@ "use strict"; | ||
_setSpanContext(metadata) { | ||
api_1.propagation.inject(metadata, { | ||
api_1.propagation.inject(api_1.context.active(), metadata, { | ||
set: (metadata, k, v) => metadata.set(k, v), | ||
@@ -99,3 +99,3 @@ }); | ||
plugin._logger.debug('patch func: %s', JSON.stringify(spanOptions)); | ||
api_1.context.with(api_1.propagation.extract(call.metadata, { | ||
api_1.context.with(api_1.propagation.extract(api_1.ROOT_CONTEXT, call.metadata, { | ||
get: (metadata, key) => metadata.get(key).map(String), | ||
@@ -102,0 +102,0 @@ keys: metadata => Object.keys(metadata.getMap()), |
/// <reference types="node" /> | ||
import * as grpcModule from 'grpc'; | ||
import * as events from 'events'; | ||
import { PluginConfig } from '@opentelemetry/api'; | ||
import { PluginConfig } from '@opentelemetry/core'; | ||
export declare type grpc = typeof grpcModule; | ||
@@ -6,0 +6,0 @@ export declare type IgnoreMatcher = string | RegExp | ((str: string) => boolean); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.13.0"; | ||
export declare const VERSION = "0.14.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.13.0'; | ||
exports.VERSION = '0.14.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/plugin-grpc", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"description": "OpenTelemetry grpc automatic instrumentation package.", | ||
@@ -45,9 +45,9 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@opentelemetry/context-async-hooks": "^0.13.0", | ||
"@opentelemetry/context-base": "^0.13.0", | ||
"@opentelemetry/grpc-utils": "^0.13.0", | ||
"@opentelemetry/node": "^0.13.0", | ||
"@opentelemetry/tracing": "^0.13.0", | ||
"@types/mocha": "8.0.4", | ||
"@types/node": "14.14.10", | ||
"@opentelemetry/context-async-hooks": "^0.14.0", | ||
"@opentelemetry/context-base": "^0.14.0", | ||
"@opentelemetry/grpc-utils": "^0.14.0", | ||
"@opentelemetry/node": "^0.14.0", | ||
"@opentelemetry/tracing": "^0.14.0", | ||
"@types/mocha": "8.2.0", | ||
"@types/node": "14.14.12", | ||
"@types/semver": "7.3.4", | ||
@@ -60,18 +60,18 @@ "@types/shimmer": "1.0.1", | ||
"mocha": "7.2.0", | ||
"node-pre-gyp": "0.16.0", | ||
"node-pre-gyp": "0.17.0", | ||
"nyc": "15.1.0", | ||
"rimraf": "3.0.2", | ||
"semver": "7.3.2", | ||
"sinon": "9.2.1", | ||
"semver": "7.3.4", | ||
"sinon": "9.2.2", | ||
"ts-mocha": "8.0.0", | ||
"ts-node": "9.0.0", | ||
"ts-node": "9.1.1", | ||
"typescript": "3.9.7" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.13.0", | ||
"@opentelemetry/core": "^0.13.0", | ||
"@opentelemetry/semantic-conventions": "^0.13.0", | ||
"@opentelemetry/api": "^0.14.0", | ||
"@opentelemetry/core": "^0.14.0", | ||
"@opentelemetry/semantic-conventions": "^0.14.0", | ||
"shimmer": "^1.2.1" | ||
}, | ||
"gitHead": "86cbd6798f9318c5920f9d9055f289a1c3f26500" | ||
"gitHead": "27a8d4530c56257c191468b073669909bf8892a1" | ||
} |
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
56568
+ Added@opentelemetry/api@0.14.0(transitive)
+ Added@opentelemetry/context-base@0.14.0(transitive)
+ Added@opentelemetry/core@0.14.0(transitive)
+ Added@opentelemetry/semantic-conventions@0.14.0(transitive)
- Removed@opentelemetry/api@0.13.0(transitive)
- Removed@opentelemetry/context-base@0.13.0(transitive)
- Removed@opentelemetry/core@0.13.0(transitive)
- Removed@opentelemetry/semantic-conventions@0.13.0(transitive)
Updated@opentelemetry/api@^0.14.0
Updated@opentelemetry/core@^0.14.0