@opentelemetry/instrumentation-bunyan
Advanced tools
Comparing version 0.38.0 to 0.39.0
@@ -7,3 +7,3 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
getConfig(): BunyanInstrumentationConfig; | ||
setConfig(config: BunyanInstrumentationConfig): void; | ||
setConfig(config?: BunyanInstrumentationConfig): void; | ||
private _getPatchedEmit; | ||
@@ -10,0 +10,0 @@ private _getPatchedCreateLogger; |
@@ -31,3 +31,3 @@ "use strict"; | ||
constructor(config = {}) { | ||
super('@opentelemetry/instrumentation-bunyan', version_1.VERSION, Object.assign({}, DEFAULT_CONFIG, config)); | ||
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, Object.assign({}, DEFAULT_CONFIG, config)); | ||
} | ||
@@ -79,3 +79,3 @@ init() { | ||
} | ||
setConfig(config) { | ||
setConfig(config = {}) { | ||
this._config = Object.assign({}, DEFAULT_CONFIG, config); | ||
@@ -82,0 +82,0 @@ } |
@@ -32,4 +32,4 @@ "use strict"; | ||
const version_1 = require("./version"); | ||
const DEFAULT_INSTRUMENTATION_SCOPE_NAME = '@opentelemetry/instrumentation-bunyan'; | ||
const DEFAULT_INSTRUMENTATION_SCOPE_VERSION = version_1.VERSION; | ||
const DEFAULT_INSTRUMENTATION_SCOPE_NAME = version_1.PACKAGE_NAME; | ||
const DEFAULT_INSTRUMENTATION_SCOPE_VERSION = version_1.PACKAGE_VERSION; | ||
// This block is a copy (modulo code style and TypeScript types) of the Bunyan | ||
@@ -36,0 +36,0 @@ // code that defines log level value and names. These values won't ever change |
@@ -1,2 +0,3 @@ | ||
export declare const VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.39.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-bunyan"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -18,5 +18,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.38.0'; | ||
exports.PACKAGE_VERSION = '0.39.0'; | ||
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-bunyan'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-bunyan", | ||
"version": "0.38.0", | ||
"description": "OpenTelemetry instrumentation for bunyan", | ||
"version": "0.39.0", | ||
"description": "OpenTelemetry instrumentation for `bunyan` logger", | ||
"main": "build/src/index.js", | ||
@@ -49,6 +49,6 @@ "types": "build/src/index.d.ts", | ||
"@opentelemetry/resources": "^1.8.0", | ||
"@opentelemetry/sdk-logs": "^0.51.0", | ||
"@opentelemetry/sdk-logs": "^0.52.0", | ||
"@opentelemetry/sdk-trace-base": "^1.8.0", | ||
"@opentelemetry/sdk-trace-node": "^1.8.0", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
"@opentelemetry/semantic-conventions": "^1.23.0", | ||
"@types/mocha": "7.0.2", | ||
@@ -67,8 +67,8 @@ "@types/node": "18.6.5", | ||
"dependencies": { | ||
"@opentelemetry/api-logs": "^0.51.0", | ||
"@opentelemetry/instrumentation": "^0.51.0", | ||
"@opentelemetry/api-logs": "^0.52.0", | ||
"@opentelemetry/instrumentation": "^0.52.0", | ||
"@types/bunyan": "1.8.9" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-bunyan#readme", | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020" | ||
} |
@@ -121,2 +121,6 @@ # OpenTelemetry instrumentation for bunyan | ||
## Semantic Conventions | ||
This package does not currently generate any attributes from semantic conventions. | ||
## Useful links | ||
@@ -123,0 +127,0 @@ |
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
63443
461
140
+ Added@opentelemetry/api-logs@0.52.1(transitive)
+ Added@opentelemetry/instrumentation@0.52.1(transitive)
+ Addedimport-in-the-middle@1.11.2(transitive)
- Removed@opentelemetry/api-logs@0.51.1(transitive)
- Removed@opentelemetry/instrumentation@0.51.1(transitive)
- Removedimport-in-the-middle@1.7.4(transitive)