@opentelemetry/instrumentation-pino
Advanced tools
Comparing version 0.38.0 to 0.39.0
@@ -7,3 +7,3 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
getConfig(): PinoInstrumentationConfig; | ||
setConfig(config: PinoInstrumentationConfig): void; | ||
setConfig(config?: PinoInstrumentationConfig): void; | ||
private _callHook; | ||
@@ -10,0 +10,0 @@ private _getMixinFunction; |
@@ -22,3 +22,3 @@ "use strict"; | ||
const version_1 = require("./version"); | ||
const pinoVersions = ['>=5.14.0 <9']; | ||
const pinoVersions = ['>=5.14.0 <10']; | ||
const DEFAULT_LOG_KEYS = { | ||
@@ -79,3 +79,3 @@ traceId: 'trace_id', | ||
} | ||
setConfig(config) { | ||
setConfig(config = {}) { | ||
this._config = config; | ||
@@ -82,0 +82,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.38.0"; | ||
export declare const VERSION = "0.39.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.38.0'; | ||
exports.VERSION = '0.39.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-pino", | ||
"version": "0.38.0", | ||
"version": "0.39.0", | ||
"description": "OpenTelemetry instrumentation for pino", | ||
@@ -70,3 +70,3 @@ "main": "build/src/index.js", | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-pino#readme", | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
"gitHead": "a2e2b5a1aa2910b903829d215184c43d2107b9ac" | ||
} |
@@ -66,3 +66,3 @@ # OpenTelemetry instrumentation for pino | ||
`>=5.14.0 <9` | ||
`>=5.14.0 <10` | ||
@@ -69,0 +69,0 @@ ## Useful links |
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
38237